/* ── Cart & Checkout ──────────────────────────────────────────────── */
.cart-main-area { padding: 50px 0 80px; }
.cart-page-title {
    font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: 2px;
    color: #252525; margin-bottom: 30px;
}

/* empty state */
.cart-empty-state { text-align: center; padding: 70px 0; }
.cart-empty-state i { font-size: 60px; color: #e8e8e8; margin-bottom: 20px; display: block; }
.cart-empty-state p { font-size: 16px; color: #888; margin-bottom: 24px; }
.btn-cart-cta {
    display: inline-block; padding: 13px 36px; background: #252525; color: #fff;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
    text-decoration: none; transition: .25s;
}
.btn-cart-cta:hover { background: #fac652; color: #252525; }

/* ── cart / wishlist items table ─────────────────────────────────────
   Custom classnames (ci-*, cart-items-*) deliberately avoid the legacy
   template's "table-content" / "product-*" selectors in style.css, which
   carry their own background/width/color rules that would otherwise
   silently override or partially-leak into this design. */
.cart-items-wrap { overflow-x: auto; }
.cart-items-table { width: 100%; border-collapse: collapse; background: #fff; }
.cart-items-table th {
    background: #f8f8f8; padding: 14px 16px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; color: #888; text-align: left;
    border: none;
}
.cart-items-table td {
    padding: 16px; border-bottom: 1px solid #f0f0f0; vertical-align: middle;
    font-size: 14px; color: #252525; border-top: none; text-align: left;
}
.cart-items-table .ci-thumb img { width: 64px; height: 64px; object-fit: cover; display: block; }
.cart-items-table .ci-name a { font-size: 14px; font-weight: 700; color: #252525; text-decoration: none; }
.cart-items-table .ci-name a:hover { color: #fac652; }
.cart-item-variant { margin-top: 4px; display: flex; gap: 10px; flex-wrap: wrap; }
.cart-item-variant span { font-size: 11px; color: #999; }
.cart-items-table .ci-price { font-weight: 600; white-space: nowrap; }
.cart-items-table .ci-subtotal { font-weight: 700; white-space: nowrap; }
.cart-items-table .ci-qty input {
    width: 64px; padding: 8px; border: 1px solid #e8e8e8; text-align: center; font-size: 13px;
    height: auto; background: #fff; border-radius: 0;
}
.cart-items-table .ci-remove button, .cart-items-table .ci-action button.btn-move-to-cart {
    border: none; background: none; color: #bbb; font-size: 16px; cursor: pointer; transition: .2s;
}
.cart-items-table .ci-remove button:hover { color: #e02020; }
.btn-move-to-cart {
    border: 1px solid #ddd !important; background: #fff !important; color: #252525 !important;
    font-size: 14px; width: 38px; height: 38px; cursor: pointer; transition: .2s;
}
.btn-move-to-cart:hover { background: #fac652 !important; border-color: #fac652 !important; }

/* ── bottom action row: "Continue Shopping" + totals/checkout box ───── */
.cart-bottom-row {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 24px; margin-top: 30px;
}
.cart-actions a {
    display: inline-block; padding: 14px 32px; border: 2px solid #252525;
    background: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: #252525; text-decoration: none; transition: .25s;
}
.cart-actions a:hover { background: #252525; color: #fff; }

.cart-summary {
    background: #f8f8f8; padding: 28px 30px; width: 100%; max-width: 380px;
}
.cart-summary h2 {
    font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
    margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid #fac652; display: inline-block;
}
.cs-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 10px 0; border-bottom: 1px solid #eee; font-size: 13px;
}
.cs-row span { color: #777; }
.cs-row strong { color: #252525; font-weight: 600; }
.cs-row--total { border-bottom: none; border-top: 2px solid #252525; padding-top: 14px; margin-top: 4px; }
.cs-row--total span { font-size: 13px; font-weight: 700; color: #252525; }
.cs-row--total strong { font-size: 19px; font-weight: 900; color: #252525; }

.checkout-cta {
    display: block; text-align: center; margin-top: 18px; padding: 14px;
    background: #fac652; color: #252525; font-size: 13px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none;
    border: none; width: 100%; cursor: pointer; transition: .25s;
}
.checkout-cta:hover { background: #252525; color: #fff; }
.cart-summary--simple { background: none; padding: 0; max-width: none; }
.checkout-cta--button { margin-top: 0; }

/* checkout */
.checkout-block { background: #fff; border: 1px solid #f0f0f0; padding: 32px; }
.checkout-block h3 {
    font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid #fac652; display: inline-block;
}
.checkout-block .form-label { font-size: 12px; font-weight: 600; color: #555; margin-bottom: 6px; }
.checkout-block .form-control { border: 1px solid #e8e8e8; border-radius: 0; padding: 11px 14px; font-size: 13px; }
.checkout-block .form-control:focus { border-color: #fac652; box-shadow: none; }

/* payment options */
.payment-options { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.payment-option { border: 1px solid #e8e8e8; transition: .2s; position: relative; }
.payment-option input[type="radio"] { position: absolute; opacity: 0; }
.payment-option label {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; margin: 0;
}
.payment-option .po-icon {
    width: 42px; height: 42px; border-radius: 50%; background: #f8f8f8; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 18px; color: #888;
}
.payment-option .po-text { display: flex; flex-direction: column; }
.payment-option .po-text strong { font-size: 13px; color: #252525; }
.payment-option .po-text small { font-size: 12px; color: #999; margin-top: 2px; }
.payment-option:has(input:checked) { border-color: #fac652; background: #fffaf0; }
.payment-option:has(input:checked) .po-icon { background: #fac652; color: #252525; }
.payment-option--disabled { opacity: .55; }
.payment-option--disabled label { cursor: not-allowed; }

/* order review table (checkout + success) */
.checkout-review-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.checkout-review-table th {
    text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
    color: #888; padding: 10px 0; border-bottom: 2px solid #f0f0f0;
}
.checkout-review-table td { padding: 12px 0; font-size: 13px; border-bottom: 1px solid #f0f0f0; vertical-align: top; }
.checkout-review-table td:last-child { text-align: right; white-space: nowrap; }
.checkout-review-table tfoot td { border-bottom: none; padding-top: 14px; font-weight: 600; }
.checkout-review-table .grand-total td { font-size: 16px; padding-top: 12px; border-top: 2px solid #252525; }

.btn-place-order {
    width: 100%; padding: 15px; background: #252525; color: #fff; border: none;
    font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
    cursor: pointer; transition: .25s;
}
.btn-place-order:hover { background: #fac652; color: #252525; }

/* order success */
.order-success-box { max-width: 640px; margin: 0 auto; text-align: center; padding: 50px 0; }
.order-success-box i { font-size: 64px; color: #5cb85c; margin-bottom: 18px; }
.order-success-box h1 { font-size: 24px; font-weight: 900; text-transform: uppercase; color: #252525; margin-bottom: 10px; }
.order-success-box p { color: #888; font-size: 14px; margin-bottom: 30px; }
.order-success-meta {
    display: flex; justify-content: center; gap: 40px; padding: 24px; background: #f8f8f8; margin-bottom: 10px;
}
.order-success-meta div { display: flex; flex-direction: column; gap: 4px; }
.order-success-meta span { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #999; }
.order-success-meta strong { font-size: 15px; color: #252525; }
.order-success-box .checkout-review-table { text-align: left; }

@media (max-width: 767px) {
    .order-success-meta { flex-direction: column; gap: 16px; }
}
