.ama-cot-checkout {
    --ama-cot-primary: #ef3f32;
    --ama-cot-primary-dark: #d93428;
    --ama-cot-primary-soft: #fff7f5;
    --ama-cot-primary-border: #ffd7d2;
    --ama-cot-text: #111827;
    --ama-cot-muted: #6b7280;
    --ama-cot-border: #e5e7eb;
    --ama-cot-bg: #f6f7f9;
    --ama-cot-success: #16a34a;
    --ama-cot-warning: #f59e0b;
    --ama-cot-danger: #dc2626;
    --ama-cot-radius: 14px;
    color: var(--ama-cot-text);
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: var(--ama-cot-bg);
    clear: both;
}

.woocommerce .ama-cot-checkout,
.entry-content .ama-cot-checkout,
.page-wrapper .ama-cot-checkout {
    width: 100vw;
    max-width: 100vw;
}

.woocommerce-checkout .checkout-page-title,
.woocommerce-checkout .page-title-inner .checkout-breadcrumbs {
    display: none !important;
}

.ama-cot-checkout-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    justify-content: center;
    gap: 28px;
    min-height: 100vh;
    background: transparent;
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 20px 56px;
}

.ama-cot-modern-header {
    display: grid;
    grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 20px 0;
}

.ama-cot-modern-brand {
    display: grid;
    gap: 4px;
    color: #111827;
    text-decoration: none;
}

.ama-cot-modern-brand:hover {
    color: #111827;
}

.ama-cot-modern-brand img {
    max-width: 168px;
    max-height: 48px;
    object-fit: contain;
}

.ama-cot-modern-brand strong {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
}

.ama-cot-modern-brand span {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.ama-cot-modern-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ama-cot-modern-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    border: 1px solid #edf0f3;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px 5px 7px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .025);
}

.ama-cot-modern-steps span {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 999px;
    background: #eef2f7;
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.ama-cot-modern-steps .is-active {
    border-color: var(--ama-cot-primary-border);
    background: var(--ama-cot-primary-soft);
    color: var(--ama-cot-primary);
}

.ama-cot-modern-steps .is-active span,
.ama-cot-modern-steps .is-complete span {
    background: var(--ama-cot-primary);
    color: #fff;
}

.ama-cot-checkout-left,
.ama-cot-checkout-right {
    padding: 0;
}

.ama-cot-checkout-left {
    display: grid;
    align-content: start;
    gap: 18px;
    padding-right: 0;
}

.ama-cot-checkout-right {
    background: transparent;
    border-left: 0;
    padding-left: 0;
}

.ama-cot-checkout-header {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.ama-cot-checkout-logo {
    max-height: 52px;
    width: auto;
}

.ama-cot-checkout-header h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: 0;
}

.ama-cot-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--ama-cot-muted);
    font-size: 12px;
    justify-content: center;
    margin-bottom: 10px;
}

.ama-cot-breadcrumb span:after {
    content: ">";
    margin-left: 8px;
    color: var(--ama-cot-border);
}

.ama-cot-breadcrumb strong {
    color: var(--ama-cot-text);
}

.ama-cot-breadcrumb .is-active {
    color: var(--ama-cot-primary);
}

.ama-cot-login-state {
    margin: 4px 0 0;
    color: var(--ama-cot-muted);
}

.ama-cot-back-cart {
    width: max-content;
    color: var(--ama-cot-primary);
    font-weight: 700;
    text-decoration: none;
}

.ama-cot-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid #f1f1f3;
    border-radius: 18px;
    background: #fff;
    padding: 22px 24px;
    margin-bottom: 0;
    box-shadow: 0 10px 30px rgba(16, 24, 40, .05);
}

.ama-cot-panel:after,
.ama-cot-summary:after {
    content: "";
    position: absolute;
    top: -80px;
    right: -70px;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: rgba(239, 63, 50, .035);
    pointer-events: none;
}

.ama-cot-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 0;
    border-bottom: 0;
}

.ama-cot-panel-copy {
    margin: -6px 0 18px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.ama-cot-panel-icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    background: #fff1f0;
    color: var(--ama-cot-primary);
    box-shadow: inset 0 0 0 1px rgba(239, 79, 47, .12);
}

.ama-cot-panel-icon:before {
    font-family: dashicons;
    color: var(--ama-cot-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.ama-cot-icon-location:before {
    content: "\f230";
}

.ama-cot-icon-truck:before {
    content: "\f174";
}

.ama-cot-icon-wallet:before {
    content: "\f481";
}

.ama-cot-section-index {
    display: none;
}

.ama-cot-panel h3,
.ama-cot-summary h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
    color: #111827;
}

.ama-cot-panel-head p {
    margin: 3px 0 0;
    color: #617083;
    font-size: 12.5px;
    line-height: 1.5;
}

.ama-cot-customer-info .woocommerce-billing-fields > h3,
.ama-cot-customer-info .woocommerce-additional-fields > h3,
.ama-cot-address-form .woocommerce-shipping-fields > h3 {
    display: none;
}

.ama-cot-checkout label,
.ama-cot-checkout-header span,
.ama-cot-summary-toggle span {
    color: var(--ama-cot-muted);
}

.ama-cot-checkout input[type="text"],
.ama-cot-checkout input[type="email"],
.ama-cot-checkout input[type="tel"],
.ama-cot-checkout input[type="number"],
.ama-cot-checkout select,
.ama-cot-checkout textarea {
    width: 100%;
    height: 44px;
    min-height: 44px;
    border: 1px solid #e3e7ed;
    border-radius: 12px;
    padding: 0 14px;
    background: #fff;
    box-shadow: none;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ama-cot-checkout textarea {
    height: 88px;
    min-height: 88px;
    padding-top: 12px;
    resize: vertical;
}

.ama-cot-customer-info .form-row label,
.ama-cot-address-form .form-row label {
    position: static;
    display: block;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    margin: 0 0 6px;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.ama-cot-checkout input[type="text"]:focus,
.ama-cot-checkout input[type="email"]:focus,
.ama-cot-checkout input[type="tel"]:focus,
.ama-cot-checkout input[type="number"]:focus,
.ama-cot-checkout select:focus,
.ama-cot-checkout textarea:focus {
    border-color: var(--ama-cot-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 95, .12);
    outline: 0;
}

.ama-cot-customer-info .woocommerce-billing-fields__field-wrapper,
.ama-cot-address-form .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ama-cot-customer-info .form-row,
.ama-cot-address-form .form-row {
    position: relative;
    width: 100%;
    margin: 0;
}

.ama-cot-customer-info .form-row-wide,
.ama-cot-address-form .form-row-wide,
.ama-cot-customer-info #billing_first_name_field,
.ama-cot-customer-info #billing_last_name_field,
.ama-cot-customer-info #billing_phone_field,
.ama-cot-customer-info #billing_email_field,
.ama-cot-customer-info #billing_address_1_field,
.ama-cot-customer-info #billing_address_2_field,
.ama-cot-address-form #shipping_address_1_field,
.ama-cot-address-form #shipping_address_2_field {
    grid-column: 1 / -1;
}

.ama-cot-delivery-estimate,
.ama-cot-free-shipping-hint,
.ama-cot-checkout-support,
.ama-cot-shipping-placeholder {
    border: 1px solid var(--ama-cot-border);
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.ama-cot-free-shipping-hint {
    border-color: var(--ama-cot-primary);
    color: var(--ama-cot-primary);
    font-weight: 700;
}

.ama-cot-shipping-native table,
.ama-cot-shipping-native tbody,
.ama-cot-shipping-native tr,
.ama-cot-shipping-native th,
.ama-cot-shipping-native td {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
}

.ama-cot-shipping-native .woocommerce-shipping-totals > th {
    display: none;
}

.ama-cot-shipping-native .woocommerce-shipping-methods,
.ama-cot-shipping-native .shipping__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ama-cot-shipping-native .woocommerce-shipping-methods li,
.ama-cot-shipping-native .shipping__list li {
    position: relative;
    min-height: 0;
    border: 1px solid #dfe6ef;
    border-radius: 14px;
    background: #fff;
    padding: 16px 16px 16px 48px;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ama-cot-shipping-native input.shipping_method {
    position: absolute;
    top: 18px;
    left: 16px;
    width: 16px;
    height: 16px;
    accent-color: var(--ama-cot-primary);
}

.ama-cot-shipping-native input.shipping_method:checked + label {
    color: #111827;
}

.ama-cot-shipping-native .woocommerce-shipping-methods li:has(input.shipping_method:checked),
.ama-cot-shipping-native .woocommerce-shipping-methods li:has(input.shipping_method[type="hidden"]),
.ama-cot-shipping-native .shipping__list li:has(input.shipping_method:checked) {
    border-color: #ff6b5f;
    background: var(--ama-cot-primary-soft);
    box-shadow: 0 0 0 3px rgba(255, 107, 95, .08);
}

.ama-cot-shipping-native .woocommerce-shipping-methods li:hover,
.ama-cot-shipping-native .shipping__list li:hover,
.ama-cot-payment-review li.wc_payment_method:hover {
    border-color: #ffb3aa;
    background: #fffafa;
}

.ama-cot-shipping-native label {
    margin: 0;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.ama-cot-shipping-native .shipping__list_label {
    padding: 0;
}

.ama-cot-shipping-native .woocommerce-shipping-destination,
.ama-cot-shipping-native .woocommerce-shipping-contents,
.ama-cot-shipping-native td > p {
    margin: 8px 0 0;
    color: #7b8798;
    font-size: 11px;
    line-height: 1.45;
}

.ama-cot-shipping-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    min-height: 78px;
    border: 1px solid #dfe6ef;
    border-radius: 16px;
    background: #fff;
    padding: 16px 14px;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ama-cot-shipping-card.is-active {
    border-color: var(--ama-cot-primary);
    background: #fff7f4;
    box-shadow: 0 14px 26px rgba(255, 77, 58, .10);
}

.ama-cot-radio-dot {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid #cfd8e5;
    border-radius: 999px;
    background: #fff;
}

.ama-cot-shipping-card.is-active .ama-cot-radio-dot {
    border-color: var(--ama-cot-primary);
}

.ama-cot-radio-dot:after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: inherit;
    background: var(--ama-cot-primary);
    opacity: 0;
}

.ama-cot-shipping-card.is-active .ama-cot-radio-dot:after,
.ama-cot-payment-review li.wc_payment_method.is-selected input.input-radio:before {
    opacity: 1;
}

.ama-cot-shipping-card strong {
    display: block;
    color: #111827;
    font-size: 12px;
    font-weight: 900;
}

.ama-cot-shipping-card p {
    margin: 16px 0 0;
    color: #7b8798;
    font-size: 10px;
    line-height: 1.45;
}

.ama-cot-shipping-card em {
    grid-column: 2;
    color: var(--ama-cot-primary);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.ama-cot-summary {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 14px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid #f1f1f3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

.ama-cot-summary > * {
    position: relative;
    z-index: 1;
}

.ama-cot-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 4px;
    border-bottom: 0;
}

.ama-cot-summary-head span {
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    text-transform: none;
}

.ama-cot-summary-head em {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    border-radius: 999px;
    background: #eef0f4;
    color: #6b7280;
    padding: 0 8px;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.ama-cot-no-sticky-summary .ama-cot-summary {
    position: static;
}

.ama-cot-layout-one_column .ama-cot-checkout-main {
    display: block;
    min-height: 0;
}

.ama-cot-layout-one_column .ama-cot-checkout-right {
    border-left: 0;
    border-top: 1px solid var(--ama-cot-border);
}

.ama-cot-summary-toggle {
    display: none;
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--ama-cot-border);
    border-radius: var(--ama-cot-radius);
    background: #fff;
    color: var(--ama-cot-primary);
    font-weight: 700;
    padding: 0 14px;
}

.ama-cot-summary-toggle strong {
    color: var(--ama-cot-text);
}

.ama-cot-cart-item {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    grid-template-areas:
        "thumb info"
        "thumb price"
        "thumb aside";
    column-gap: 12px;
    row-gap: 7px;
    align-items: start;
    padding: 14px 0 16px;
    border-bottom: 1px solid #f1f2f4;
}

.ama-cot-cart-item:last-child {
    border-bottom: 0;
}

.ama-cot-cart-items {
    display: grid;
    margin-top: 2px;
}

.ama-cot-cart-item:hover .ama-cot-cart-thumb img {
    border-color: rgba(239, 79, 47, .34);
}

.ama-cot-cart-thumb {
    grid-area: thumb;
    position: relative;
    width: 68px;
    height: 68px;
    overflow: visible;
    border-radius: 16px;
    background: #f3f4f6;
}

.ama-cot-cart-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    border: 0;
    background: #f3f4f6;
}

.ama-cot-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
}

.ama-cot-cart-info {
    grid-area: info;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
}

.ama-cot-cart-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.ama-cot-cart-copy {
    min-width: 0;
}

.ama-cot-cart-title {
    display: -webkit-box;
    margin: 0;
    line-height: 1.35;
    font-size: 13.25px;
    font-weight: 800;
    color: #111827;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ama-cot-cart-meta {
    color: var(--ama-cot-muted);
    font-size: 11.5px;
    line-height: 1.4;
}

.ama-cot-cart-quantity {
    display: none;
}

.ama-cot-cart-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    margin-top: 0;
}

.ama-cot-cart-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.ama-cot-cart-total-row > span {
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

.ama-cot-cart-price {
    grid-area: price;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    align-self: start;
    min-width: 0;
    font-size: 14.25px;
    font-weight: 800;
    white-space: nowrap;
    color: #111827;
    letter-spacing: 0;
    flex: 0 0 auto;
}

.ama-cot-cart-price .amount,
.ama-cot-cart-price bdi,
.ama-cot-cart-price .woocommerce-Price-currencySymbol {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.2;
}

.ama-cot-sale-price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 5px;
    line-height: 1.2;
}

.ama-cot-sale-price del {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    opacity: 1;
}

.ama-cot-sale-price ins {
    color: #ef3f32;
    font-size: inherit;
    font-weight: 900;
    text-decoration: none;
}

.ama-cot-price-cell .ama-cot-sale-price,
.product-total .ama-cot-sale-price {
    justify-content: flex-end;
}

.ama-cot-cart-bottom .ama-cot-cart-price {
    margin-left: auto;
}

.ama-cot-cart-aside {
    grid-area: aside;
    display: flex;
    min-width: 0;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.ama-cot-low-stock {
    display: block;
    margin: 4px 0;
    color: var(--ama-cot-warning);
    font-weight: 700;
}

.ama-cot-qty {
    display: inline-flex;
    align-items: center;
    height: 28px;
    width: 86px;
    max-width: 86px;
    flex: 0 0 auto;
    padding: 2px;
    border: 1px solid #edf0f3;
    border-radius: 999px;
    overflow: visible;
    background: #f6f7f9;
}

.ama-cot-qty button,
.ama-cot-qty input {
    width: 24px !important;
    height: 24px;
    min-width: 0;
    min-height: 24px;
    max-height: 24px;
    border: 0;
    border-radius: 50%;
    text-align: center;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
    font-weight: 800;
    padding: 0;
    margin: 0;
    line-height: 24px;
}

.ama-cot-qty button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    cursor: pointer;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    appearance: none;
    -webkit-appearance: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.ama-cot-qty button:hover {
    background: #fff1ef;
    color: #ef3f32;
    transform: translateY(-1px);
}

.ama-cot-qty button:focus,
.ama-cot-remove-item:focus {
    outline: 0;
    box-shadow: inset 0 0 0 2px rgba(255, 77, 58, .22);
}

.ama-cot-qty input {
    width: 26px !important;
    min-width: 26px;
    max-width: 26px;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    background: transparent;
    box-shadow: none;
    color: #111827 !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 24px !important;
    text-align: center;
    pointer-events: none;
    appearance: textfield;
    -moz-appearance: textfield;
    opacity: 1;
    padding: 0 !important;
    margin: 0 !important;
}

.ama-cot-qty input::-webkit-outer-spin-button,
.ama-cot-qty input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.ama-cot-remove-item {
    display: inline-grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 0;
    border-radius: 50%;
    background: #f9fafb;
    color: #9ca3af;
    font-size: 0;
    font-weight: 400;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.ama-cot-remove-item:before {
    content: "\f182";
    font-family: dashicons;
    font-size: 15px;
    line-height: 1;
}

.ama-cot-remove-item:hover {
    background: #fff1ef;
    color: #ef3f32;
}

.ama-cot-coupon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 10px;
    margin: 0;
}

.ama-cot-coupon input {
    min-height: 44px;
    border-radius: 12px;
    padding-left: 14px;
    text-transform: uppercase;
}

.ama-cot-coupon button,
.ama-cot-checkout #place_order {
    min-height: 44px;
    border-radius: 12px;
    border: 0;
    background: #0f172a;
    color: #fff;
    font-weight: 900;
    padding: 0 14px;
    font-size: 12px;
    line-height: 1.1;
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.ama-cot-checkout #place_order {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ama-cot-primary), var(--ama-cot-primary-dark));
    background: linear-gradient(135deg, #ff5f52, #ef3f32);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(239, 63, 50, .24);
}

.ama-cot-coupon button:hover,
.ama-cot-checkout #place_order:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(239, 63, 50, .28);
}

.ama-cot-coupon button:disabled,
.ama-cot-checkout #place_order:disabled {
    opacity: .65;
    transform: none;
    cursor: not-allowed;
}

.ama-cot-buttons-square button,
.ama-cot-buttons-square #place_order,
.ama-cot-buttons-square input,
.ama-cot-buttons-square select,
.ama-cot-buttons-square textarea {
    border-radius: 0;
}

.ama-cot-buttons-pill button,
.ama-cot-buttons-pill #place_order {
    border-radius: 999px;
}

.ama-cot-coupon-message {
    min-height: 22px;
    color: var(--ama-cot-primary);
}

.ama-cot-order-review table,
.ama-cot-payment-review table {
    width: 100%;
}

.ama-cot-order-review .woocommerce-checkout-review-order-table {
    border: 0;
    background: transparent;
}

.ama-cot-order-review .cart_item {
    display: none;
}

.ama-cot-order-review th,
.ama-cot-order-review td {
    border: 0;
    border-bottom: 0;
    padding: 8px 0;
    color: #667085;
    font-size: 14px;
    font-weight: 600;
}

.ama-cot-order-review td {
    color: #111827;
    text-align: right;
    font-weight: 800;
}

.ama-cot-order-review .cart-subtotal th,
.ama-cot-order-review .cart-subtotal td {
    padding-top: 8px;
}

.ama-cot-order-review .order-total th,
.ama-cot-order-review .order-total td {
    border-top: 1px solid #edf0f3;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 900;
}

.ama-cot-order-review .order-total strong,
.ama-cot-order-review .order-total .amount {
    color: var(--ama-cot-primary);
}

.ama-cot-order-totals {
    margin-top: 18px;
    border-top: 1px solid #dedede;
    padding-top: 14px;
}

.ama-cot-order-totals p {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 9px 0;
}

.ama-cot-order-totals .ama-cot-total {
    border-top: 1px solid #dedede;
    padding-top: 14px;
    font-size: 20px;
}

.ama-cot-payment-review ul.payment_methods,
.ama-cot-payment-review .wc_payment_methods {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    padding: 0;
    margin: 0;
}

.ama-cot-thankyou-panel .woocommerce-order {
    display: grid;
    gap: 18px;
}

.ama-cot-thankyou-panel .woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}

.ama-cot-thankyou-panel .woocommerce-order-overview li {
    list-style: none;
    border: 1px solid var(--ama-cot-border);
    border-radius: 8px;
    padding: 12px;
    margin: 0;
}

.ama-cot-payment-review li.wc_payment_method {
    position: relative;
    min-height: 0;
    padding: 16px 16px 16px 48px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ama-cot-payment-review li.wc_payment_method.is-selected,
.ama-cot-payment-review li.wc_payment_method:has(input.input-radio:checked) {
    border-color: #ff6b5f;
    background: var(--ama-cot-primary-soft);
    box-shadow: 0 0 0 3px rgba(255, 107, 95, .08);
}

.ama-cot-payment-review li.wc_payment_method input.input-radio {
    position: absolute;
    top: 18px;
    left: 16px;
    width: 16px;
    height: 16px;
    accent-color: var(--ama-cot-primary);
}

.ama-cot-payment-review li.wc_payment_method label {
    margin: 0;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.ama-cot-payment-review .payment_box {
    margin: 10px 0 0;
    padding: 0;
    border-radius: 12px;
    background: transparent;
    color: #7b8798;
    font-size: 11px;
    line-height: 1.5;
}

.ama-cot-trust-badges {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 7px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.ama-cot-trust-badges li {
    border: 1px solid #edf0f3;
    border-radius: 12px;
    padding: 9px 11px;
    background: #f8fafc;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    font-weight: 800;
    text-transform: none;
}

.ama-cot-trust-badges li:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 999px;
    background: var(--ama-cot-primary);
}

.ama-cot-order-received .ama-cot-checkout-main {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    max-width: 1180px;
    padding: 40px 20px 64px;
    align-items: start;
}

.ama-cot-order-received .ama-cot-checkout-left {
    gap: 24px;
}

.ama-cot-order-success-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 22px 24px;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    background: #f0fdf4;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .05);
}

.ama-cot-order-success-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
}

.ama-cot-order-success-icon:before {
    content: "\f147";
    font-family: dashicons;
    font-size: 24px;
    line-height: 1;
}

.ama-cot-order-success-copy h2 {
    margin: 0 0 16px;
    color: #14532d;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 0;
}

.ama-cot-order-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
    margin: 0;
}

.ama-cot-order-meta-grid div {
    min-width: 0;
}

.ama-cot-order-meta-grid dt {
    margin: 0 0 3px;
    color: #15803d;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.3;
    text-transform: uppercase;
}

.ama-cot-order-meta-grid dd {
    margin: 0;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ama-cot-order-meta-wide {
    grid-column: 1 / -1;
}

.ama-cot-order-detail-panel {
    padding: 28px;
    border-radius: 18px;
}

.ama-cot-success-order-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.ama-cot-success-order-table th {
    padding: 0 0 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.3;
    text-align: left;
    text-transform: uppercase;
}

.ama-cot-success-order-table th:nth-child(2),
.ama-cot-success-order-table td:nth-child(2) {
    width: 68px;
    text-align: center;
}

.ama-cot-success-order-table th:last-child,
.ama-cot-success-order-table td:last-child {
    text-align: right;
}

.ama-cot-success-order-table td {
    padding: 14px 0;
    border-bottom: 1px solid #eef2f7;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.ama-cot-success-order-table .ama-cot-price-cell {
    font-weight: 900;
    white-space: nowrap;
}

.ama-cot-success-total-row td {
    border-bottom: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 900;
}

.ama-cot-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ama-cot-address-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    background: #fafafa;
}

.ama-cot-address-card h3 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.3;
}

.ama-cot-address-card address,
.ama-cot-address-card p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.ama-cot-address-card p {
    margin-top: 8px;
    color: #111827;
    font-weight: 800;
}

.ama-cot-order-received .ama-cot-summary {
    position: sticky;
    top: 24px;
    gap: 16px;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.ama-cot-order-received .ama-cot-summary .ama-cot-cart-item {
    grid-template-columns: 56px minmax(0, 1fr) max-content;
    grid-template-areas:
        "thumb info price"
        "thumb aside price";
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
    padding: 12px 0;
}

.ama-cot-order-received .ama-cot-summary .ama-cot-cart-thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.ama-cot-order-received .ama-cot-summary .ama-cot-cart-title {
    font-size: 13px;
    line-height: 1.35;
}

.ama-cot-order-received .ama-cot-summary .ama-cot-cart-price {
    justify-content: flex-end;
    align-self: center;
    font-size: 13.5px;
}

.ama-cot-order-received .ama-cot-summary .ama-cot-cart-aside {
    width: auto;
    justify-content: flex-start;
}

.ama-cot-order-received .ama-cot-qty-static {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.ama-cot-order-received .ama-cot-order-totals {
    margin-top: 8px;
    border-top: 1px solid #eef2f7;
    padding-top: 14px;
}

.ama-cot-order-received .ama-cot-order-totals p {
    margin: 10px 0;
    align-items: baseline;
}

.ama-cot-order-received .ama-cot-order-totals span {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.ama-cot-order-received .ama-cot-order-totals strong {
    color: #111827;
    font-size: 14px;
    font-weight: 900;
    text-align: right;
}

.ama-cot-order-received .ama-cot-order-totals .ama-cot-total {
    margin-top: 14px;
    border-top: 1px solid #eef2f7;
    padding-top: 16px;
}

.ama-cot-order-received .ama-cot-order-totals .ama-cot-total strong {
    color: var(--ama-cot-primary);
    font-size: 18px;
}

.ama-cot-checkout.is-loading {
    cursor: progress;
}

.ama-cot-checkout.is-loading .ama-cot-summary {
    opacity: .65;
    pointer-events: none;
}

@media (max-width: 820px) {
    .ama-cot-modern-header {
        display: grid;
        gap: 12px;
        padding: 14px 14px 0;
    }

    .ama-cot-modern-steps {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .ama-cot-modern-steps::-webkit-scrollbar {
        display: none;
    }

    .ama-cot-modern-steps li {
        min-width: max-content;
        min-height: 38px;
        font-size: 12px;
    }

    .ama-cot-checkout-main {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 20px 14px;
        gap: 20px;
    }

    .ama-cot-checkout-right {
        order: -1;
        border-left: 0;
        border-bottom: 1px solid var(--ama-cot-border);
    }

    .ama-cot-checkout-left,
    .ama-cot-checkout-right {
        padding: 0;
    }

    .ama-cot-summary-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .ama-cot-summary {
        display: none;
        position: static;
        margin-top: 12px;
        padding: 18px;
    }

    .ama-cot-summary.is-open {
        display: grid;
    }

    .ama-cot-order-received .ama-cot-checkout-main {
        grid-template-columns: 1fr;
        padding: 24px 14px 44px;
        gap: 22px;
    }

    .ama-cot-order-received .ama-cot-checkout-right {
        order: 0;
        border-bottom: 0;
    }

    .ama-cot-order-received .ama-cot-summary {
        display: grid;
        position: static;
        margin-top: 0;
        padding: 20px;
    }

    .ama-cot-order-success-card {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 18px;
        gap: 12px;
    }

    .ama-cot-order-success-icon {
        width: 36px;
        height: 36px;
    }

    .ama-cot-order-success-copy h2 {
        font-size: 17px;
    }

    .ama-cot-order-meta-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ama-cot-order-detail-panel {
        padding: 20px;
    }

    .ama-cot-success-order-table th:nth-child(2),
    .ama-cot-success-order-table td:nth-child(2) {
        width: 48px;
    }

    .ama-cot-success-order-table td {
        font-size: 13px;
    }

    .ama-cot-address-grid {
        grid-template-columns: 1fr;
    }

    .ama-cot-mobile-floating-summary .ama-cot-checkout-right {
        position: sticky;
        top: 0;
        z-index: 20;
    }

    .ama-cot-order-received.ama-cot-mobile-floating-summary .ama-cot-checkout-right {
        position: static;
        top: auto;
        z-index: auto;
    }

    .ama-cot-panel {
        padding: 18px;
        border-radius: 16px;
    }

    .ama-cot-panel-head {
        gap: 10px;
        margin-bottom: 14px;
    }

    .ama-cot-cart-item {
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: start;
        column-gap: 12px;
        row-gap: 7px;
        padding: 14px 0;
    }

    .ama-cot-cart-thumb {
        width: 58px;
        height: 58px;
        border-radius: 14px;
    }

    .ama-cot-cart-thumb img {
        width: 100%;
        height: 100%;
    }

    .ama-cot-cart-bottom {
        align-items: center;
    }

    .ama-cot-cart-aside {
        gap: 8px;
    }

    .ama-cot-cart-price {
        justify-content: flex-start;
        font-size: 13.5px;
    }

    .ama-cot-shipping-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .ama-cot-shipping-card em {
        grid-column: 2;
    }

    .ama-cot-coupon {
        grid-template-columns: 1fr;
    }

    .ama-cot-checkout input[type="text"],
    .ama-cot-checkout input[type="email"],
    .ama-cot-checkout input[type="tel"],
    .ama-cot-checkout input[type="number"],
    .ama-cot-checkout select,
    .ama-cot-checkout textarea {
        height: 44px;
        min-height: 44px;
        font-size: 13px;
    }

    .ama-cot-shipping-native .woocommerce-shipping-methods,
    .ama-cot-shipping-native .shipping__list,
    .ama-cot-payment-review ul.payment_methods,
    .ama-cot-payment-review .wc_payment_methods {
        grid-template-columns: 1fr;
    }

    .ama-cot-customer-info .woocommerce-billing-fields__field-wrapper,
    .ama-cot-address-form .woocommerce-shipping-fields__field-wrapper,
    .ama-cot-thankyou-panel .woocommerce-order-overview {
        grid-template-columns: 1fr;
    }
}
table.shop_table.ama-cot-shipping-table tr th {
    display: none;
}
.payment_methods p {
    font-size: 12px;
    color: #777;
}
.ama-cot-modern-header {
    display: none;
}
.checkout-page-title.page-title {
    display: none;
}
.page-wrapper {
    padding-top: 0;
}
