/* Order confirmation (and, later, cart/checkout) pages. Independent of style.css,
   pages.css, category.css and product.css; relies only on base.css. */
.op {
    background: #f5f7f6;
    padding: 40px 0 64px;
    color: #0f1f1e;
}

.op__wrap {
    display: flex;
    justify-content: center;
}

.op__card {
    width: 100%;
    max-width: 640px;
    box-sizing: border-box;
    padding: 32px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(11, 46, 44, 0.08);
    text-align: center;
}

.op__tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #e3f4f0;
    color: #0e6e66;
}

.op__eyebrow {
    margin: 12px 0 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #0e6e66;
}

.op__title {
    margin: 6px 0 10px;
    font-size: 30px;
    letter-spacing: -0.02em;
}

.op__lead {
    margin: 0 auto 20px;
    max-width: 480px;
    line-height: 1.6;
    color: #43524f;
}

.op__items {
    width: 100%;
    margin: 0 0 14px;
    border-collapse: collapse;
    text-align: left;
    font-size: 15px;
}

.op__items td {
    padding: 10px 0;
    border-bottom: 1px solid #e3e9e7;
}

.op__items td:last-child {
    text-align: right;
    white-space: nowrap;
}

.op__total td {
    border-bottom: 0;
    font-weight: 700;
    font-size: 18px;
}

.op__meta {
    margin: 0 0 18px;
    text-align: left;
    font-size: 14px;
    line-height: 1.7;
    color: #43524f;
}

.op__bank {
    margin: 0 0 18px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #f2faf7;
    text-align: left;
}

.op__bank h2 {
    margin: 0 0 8px;
    font-size: 17px;
}

.op__bank p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.6;
}

.op__bankbox {
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    font-weight: 600;
}

.op__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0;
}

.op__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    border: 2px solid #0e6e66;
    color: #0e6e66;
    font-weight: 700;
    text-decoration: none;
}

.op__btn--wa {
    border-color: #25d366;
    color: #1da851;
}

@media (max-width: 560px) {
    .op {
        padding: 20px 0 40px;
    }

    .op__card {
        padding: 22px 16px;
    }
}

/* ---------- cart + checkout (cx) ---------- */
.cx {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: "DM Sans", system-ui, sans-serif;
}

.cx *,
.cx *::before,
.cx *::after {
    box-sizing: border-box;
}

.cx .sr,
.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.cx [hidden] {
    display: none !important;
}

.cx__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.cx__title {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.03em;
}

.cx__count {
    font-size: 20px;
    color: #55645f;
    font-weight: 600;
}

.cx__back,
.cx__steps a {
    font-weight: 700;
    text-decoration: none;
    color: #0e6e66;
}

.cx__steps {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 700;
}

.cx__steps .muted {
    color: #9fb0ac;
}

.cx__flash {
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
}

.cx__flash--ok {
    background: #e3f4f0;
    color: #0b3b39;
}

.cx__flash--error {
    background: #fdecea;
    color: #a12a1f;
}

.cx__lay {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 32px;
    align-items: start;
}

.cx__lay--co {
    grid-template-columns: minmax(0, 1fr) 380px;
}

.cx__items,
.cx__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.cx__item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e2e8e6;
}

.cx__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 14px;
    background: #f0f3f2;
    overflow: hidden;
}

.cx__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cx__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cx__name {
    font-weight: 700;
    font-size: 18px;
    color: #0f1f1e;
    text-decoration: none;
}

.cx__meta {
    font-size: 14px;
    color: #55645f;
}

.cx__ctl {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.cx__qty {
    display: flex;
    align-items: center;
    height: 46px;
    border-radius: 12px;
    border: 1px solid #c5d1ce;
    background: #fff;
}

.cx__qty button {
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    font-size: 20px;
    cursor: pointer;
}

.cx__qty button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cx__qty output {
    min-width: 32px;
    text-align: center;
    font-weight: 700;
}

.cx__link {
    border: 0;
    background: none;
    padding: 10px 4px;
    font: inherit;
    font-weight: 700;
    font-size: 14px;
    color: #55645f;
    cursor: pointer;
    text-decoration: underline;
}

.cx__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.cx__price strong {
    font-size: 20px;
}

.cx__price span {
    font-size: 13px;
    color: #55645f;
}

.cx__trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cx__trust div {
    padding: 16px;
    border-radius: 16px;
    background: #e6f2ee;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cx__trust span {
    font-size: 13px;
    color: #43524f;
}

.cx__sum {
    position: sticky;
    top: 24px;
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e2e8e6;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 20px 40px rgba(11, 46, 44, 0.06);
}

.cx__sum h2 {
    margin: 0;
    font-size: 22px;
}

.cx__sum hr {
    width: 100%;
    height: 1px;
    margin: 0;
    border: 0;
    background: #e2e8e6;
}

.cx__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.cx__row--promo {
    color: #0e6e66;
}

.cx__row--total {
    font-size: 20px;
}

.cx__promo {
    display: flex;
    gap: 8px;
}

.cx__promo .cx__in {
    flex: 1;
    min-width: 0;
}

.cx__fine {
    margin: 0;
    font-size: 13px;
    color: #55645f;
    text-align: center;
}

.cx__in {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #c5d1ce;
    background: #fff;
    font: inherit;
    font-size: 16px;
    color: #0f1f1e;
}

.cx__in:focus-visible,
.cx__btn:focus-visible,
.cx a:focus-visible,
.cx button:focus-visible {
    outline: 3px solid #3ee6c1;
    outline-offset: 2px;
}

.cx__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    background: #0e6e66;
    color: #fff;
    font: inherit;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}

.cx__btn--ghost {
    background: #fff;
    color: #0e6e66;
    border: 1.5px solid #0e6e66;
    height: 50px;
}

.cx__btn--lg {
    height: 58px;
    font-size: 17px;
}

.cx__btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.cx__empty {
    padding: 48px 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e2e8e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.cx__empty strong {
    font-size: 22px;
}

.cx__empty span {
    color: #55645f;
}

.cx__card {
    padding: 26px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e2e8e6;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cx__card h2 {
    margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cx__n {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background: #0b3b39;
    color: #3ee6c1;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cx__fl {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
}

.cx__hint {
    font-size: 13px;
    font-weight: 400;
    color: #55645f;
}

.cx__hint--inline {
    display: inline;
}

.cx__err {
    font-size: 13px;
    font-weight: 600;
    color: #a12a1f;
}

.cx__ship,
.cx__notice {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #e6f2ee;
    font-size: 14px;
    font-weight: 600;
}

.cx__notice {
    background: #fff6dd;
    color: #5c4300;
    font-weight: 400;
    line-height: 1.55;
}

.cx__pays {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cx__pay {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 16px;
    border: 1.5px solid #d5dedb;
    background: #fff;
    cursor: pointer;
}

.cx__pay:has(input:checked) {
    border-color: #0e6e66;
    background: #f2faf7;
    box-shadow: 0 0 0 3px #cdefe6;
}

.cx__pay input {
    width: 22px;
    height: 22px;
    margin: 2px 0 0;
    accent-color: #0e6e66;
    flex: none;
}

.cx__pay span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cx__pay small {
    font-size: 14px;
    color: #55645f;
    line-height: 1.5;
}

.cx__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cx__mini {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.cx__mini img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
    background: #f0f3f2;
}

.cx__mini span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cx__mini small {
    color: #55645f;
}

@media (max-width: 900px) {
    .cx__lay,
    .cx__lay--co {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx__sum {
        position: static;
    }

    .cx__trust {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .cx__item {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }

    .cx__img {
        width: 84px;
        height: 84px;
    }

    .cx__price {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
    }

    .cx__g2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx__card {
        padding: 18px 16px;
    }
}

/* proof upload + email capture on the order page */
.op__box {
    margin: 0 0 18px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #f5f7f6;
    text-align: left;
}

.op__box h2 {
    margin: 0 0 8px;
    font-size: 17px;
}

.op__box p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
}

.op__row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.op__row input[type="file"],
.op__row input[type="email"] {
    flex: 1 1 220px;
    min-width: 0;
    padding: 10px;
    border: 1px solid #c5d1ce;
    border-radius: 10px;
    background: #fff;
    font: inherit;
}

.op__flash {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 10px;
    text-align: left;
    font-weight: 600;
}

.op__flash--ok {
    background: #e3f4f0;
    color: #0b3b39;
}

.op__flash--error {
    background: #fdecea;
    color: #a12a1f;
}

.op__flash--warn {
    background: #fff6dd;
    color: #5c4300;
}
