/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #3d2b1f;
    background: #f5f0e8;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input {
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== CHECKOUT HEADER ========== */
.checkout-header {
    background: #3d2b1f;
    padding: 14px 0;
    box-shadow: 0 2px 10px rgba(61,43,31,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.checkout-header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: #c9a96e;
}

.logo-highlight i {
    color: #c9a96e;
    font-size: 18px;
    margin: 0 -2px;
}

.checkout-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7a8c6e;
    font-size: 14px;
    font-weight: 600;
}

.checkout-secure i {
    font-size: 16px;
}

/* ========== BANNER CARROSSEL ========== */
.checkout-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1a1a1a;
}

.banner-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 4;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* ========== CHECKOUT MAIN ========== */
.checkout-main {
    flex: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
    width: 100%;
    min-width: 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
    min-width: 0;
}

/* ========== CHECKOUT CARD ========== */
.checkout-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(61,43,31,0.06);
    border: 1px solid #ece4d9;
}

.card-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.card-header-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #b5563e, #9c4833);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.card-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #3d2b1f;
    margin-bottom: 4px;
}

.card-header p {
    font-size: 13px;
    color: #999;
    line-height: 1.4;
}

/* ========== FORM ========== */
.form-group {
    margin-bottom: 18px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #3d2b1f;
    margin-bottom: 6px;
}

.form-group .optional {
    font-weight: 400;
    color: #aaa;
}

.form-group input {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e8e0d5;
    border-radius: 10px;
    font-size: 14px;
    color: #3d2b1f;
    outline: none;
    transition: all 0.3s;
    background: #faf8f4;
}

.form-group input:focus {
    border-color: #b5563e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(181,86,62,0.1);
}

.form-group input.error {
    border-color: #e74c3c;
    background: #fef5f5;
}

.form-group input.error:focus {
    box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}

.field-error {
    display: none;
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
    font-weight: 500;
}

.form-group input.error ~ .field-error {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-divider {
    height: 1px;
    background: #ece4d9;
    margin: 28px 0;
}

/* CEP */
.cep-wrapper {
    display: flex;
    gap: 0;
}

.cep-wrapper input {
    border-radius: 10px 0 0 10px;
    flex: 1;
}

.cep-btn {
    background: #5c3d2e;
    color: #fff;
    padding: 0 18px;
    border-radius: 0 10px 10px 0;
    font-size: 14px;
    transition: background 0.3s;
}

.cep-btn:hover {
    background: #3d2b1f;
}

/* Submit */
.checkout-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #b5563e, #9c4833);
    color: #fff;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 18px rgba(181,86,62,0.3);
    margin-top: 10px;
}

.checkout-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(181,86,62,0.45);
}

.checkout-submit-btn i {
    font-size: 14px;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeStepIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeStepIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Next / Back Buttons */
.checkout-next-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #b5563e, #9c4833);
    color: #fff;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 18px rgba(181,86,62,0.3);
    margin-top: 10px;
}

.checkout-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(181,86,62,0.45);
}

.checkout-back-btn {
    padding: 14px 24px;
    background: #f5efe6;
    color: #5c3d2e;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: 1px solid #e0d5c7;
}

.checkout-back-btn:hover {
    background: #ece4d9;
}

.form-step-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.form-step-actions.pix-actions {
    flex-direction: column;
    gap: 14px;
}

.pix-total-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0ebe3;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #e0d5c7;
}

.pix-total-label {
    font-size: 14px;
    color: #888;
    font-weight: 600;
}

.pix-total-value {
    font-size: 22px;
    font-weight: 800;
    color: #3d2b1f;
}

.form-step-actions .checkout-next-btn,
.form-step-actions .checkout-submit-btn {
    flex: 1;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 2px solid #e8e0d5;
    border-radius: 12px;
    transition: all 0.3s;
    background: #faf8f4;
}

.payment-option.active .payment-option-content,
.payment-option input:checked + .payment-option-content {
    border-color: #b5563e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(181,86,62,0.1);
}

.payment-icon {
    width: 42px;
    height: 42px;
    background: #5c3d2e;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.payment-icon.pix-icon {
    background: #7a8c6e;
}

.payment-option strong {
    display: block;
    font-size: 15px;
    color: #3d2b1f;
    margin-bottom: 2px;
}

.payment-desc {
    font-size: 12px;
    color: #999;
}

/* Disabled payment */
.payment-option.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.payment-option.disabled .payment-option-content {
    opacity: 0.5;
    position: relative;
}

.payment-soon {
    margin-left: auto;
    background: #c9a96e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ========== PIX RESULT ========== */
.pix-result {
    margin-top: 24px;
    padding: 28px;
    background: #f9f6f1;
    border-radius: 14px;
    border: 1px solid #ece4d9;
    text-align: center;
    animation: fadeStepIn 0.4s ease;
}

.pix-result-header {
    margin-bottom: 20px;
}

.pix-check-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #7a8c6e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 12px;
}

.pix-result-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #3d2b1f;
    margin-bottom: 4px;
}

.pix-result-header p {
    font-size: 13px;
    color: #888;
}

.pix-qrcode-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.pix-qrcode-wrapper img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    border: 3px solid #e0d5c7;
    background: #fff;
    padding: 8px;
}

.pix-copy-section {
    margin-bottom: 18px;
}

.pix-copy-section label {
    display: block;
    font-size: 12px;
    color: #888;
    font-weight: 600;
    margin-bottom: 8px;
}

.pix-copy-box {
    display: flex;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0d5c7;
}

.pix-copy-box input {
    flex: 1;
    border: none;
    padding: 12px 14px;
    font-size: 12px;
    color: #3d2b1f;
    background: #fff;
    outline: none;
    min-width: 0;
}

.pix-copy-btn {
    background: #7a8c6e;
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.3s;
    white-space: nowrap;
}

.pix-copy-btn:hover {
    background: #6b7d60;
}

.pix-copy-btn.copied {
    background: #3d2b1f;
}

.pix-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
    margin-bottom: 14px;
}

.pix-timer i {
    color: #c9a96e;
}

.pix-timer strong {
    color: #3d2b1f;
    font-weight: 700;
}

.pix-status {
    display: flex;
    justify-content: center;
}

.pix-status-waiting {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #888;
}

.pix-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #e0d5c7;
    border-top-color: #7a8c6e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.pix-status-paid {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #7a8c6e;
    padding: 12px 20px;
    background: rgba(122,140,110,0.1);
    border-radius: 10px;
}

.pix-status-paid i {
    font-size: 20px;
}

/* ========== SUMMARY CARD ========== */
.sticky-summary {
    position: sticky;
    top: 80px;
}

.summary-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(61,43,31,0.06);
    border: 1px solid #ece4d9;
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.summary-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #3d2b1f;
}

.summary-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.3s;
}

.summary-toggle:hover {
    background: #f5efe6;
}

.summary-count {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.summary-arrow {
    font-size: 12px;
    color: #b5563e;
    transition: transform 0.3s;
}

.summary-toggle.active .summary-arrow {
    transform: rotate(180deg);
}

/* Collapsible details */
.summary-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.summary-details.active {
    max-height: 400px;
}

/* Coupon */
.coupon-section {
    margin-bottom: 20px;
}

.coupon-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #faf8f4;
    border: 1px dashed #d4c4b5;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #b5563e;
    transition: all 0.3s;
}

.coupon-toggle:hover {
    background: #f5efe6;
}

.coupon-toggle .fa-tag {
    font-size: 14px;
}

.coupon-arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s;
}

.coupon-toggle.active .coupon-arrow {
    transform: rotate(180deg);
}

.coupon-form {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.coupon-form.active {
    max-height: 80px;
}

.coupon-input-wrapper {
    display: flex;
    gap: 0;
    margin-top: 10px;
}

.coupon-input-wrapper input {
    flex: 1;
    padding: 11px 14px;
    border: 2px solid #e8e0d5;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    outline: none;
    color: #3d2b1f;
    background: #faf8f4;
    transition: border-color 0.3s;
}

.coupon-input-wrapper input:focus {
    border-color: #b5563e;
}

.coupon-apply-btn {
    padding: 11px 20px;
    background: #5c3d2e;
    color: #fff;
    border-radius: 0 10px 10px 0;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
    white-space: nowrap;
}

.coupon-apply-btn:hover {
    background: #3d2b1f;
}

/* Values */
.summary-values {
    margin-bottom: 22px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: #777;
}

.summary-old-price {
    text-decoration: line-through;
    color: #bbb;
}

.summary-discount {
    color: #7a8c6e;
    font-weight: 600;
}

.summary-free-shipping {
    color: #7a8c6e;
    font-weight: 700;
    font-size: 13px;
    background: #eaf2e5;
    padding: 2px 10px;
    border-radius: 20px;
}

.summary-shipping-value {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.summary-shipping-value.free {
    color: #7a8c6e;
    font-weight: 700;
    background: #eaf2e5;
    padding: 2px 10px;
    border-radius: 20px;
}

.summary-shipping-value.paid {
    color: #b5563e;
    font-weight: 700;
}

/* Shipping Section */
.shipping-section {
    margin-top: 18px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ece4d9;
}

.shipping-selected-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f0ea;
    border-radius: 10px;
    padding: 12px 16px;
}

.shipping-selected-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shipping-selected-name {
    font-size: 14px;
    font-weight: 700;
    color: #3d2b1f;
}

.shipping-selected-time {
    font-size: 12px;
    color: #888;
}

.shipping-selected-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.shipping-selected-price {
    font-size: 14px;
    font-weight: 700;
    color: #7a8c6e;
}

.shipping-change-btn {
    background: none;
    border: none;
    color: #7a8c6e;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.shipping-change-btn:hover {
    color: #5e7053;
}

.shipping-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.shipping-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #3d2b1f;
}

.shipping-header-left i {
    color: #7a8c6e;
    font-size: 15px;
}

.shipping-cep-form {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
}

.shipping-cep-form input {
    flex: 1;
    padding: 11px 14px;
    border: 2px solid #e8e0d5;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    color: #3d2b1f;
    background: #faf8f4;
    transition: border-color 0.3s;
}

.shipping-cep-form input:focus {
    border-color: #b5563e;
}

.shipping-calc-btn {
    padding: 11px 20px;
    background: #5c3d2e;
    color: #fff;
    border-radius: 0 10px 10px 0;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.3s;
}

.shipping-calc-btn:hover {
    background: #3d2b1f;
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shipping-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 2px solid #e8e0d5;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    background: #faf8f4;
}

.shipping-option:hover {
    border-color: #d4c4b5;
}

.shipping-option.selected {
    border-color: #7a8c6e;
    background: #f5faf2;
}

.shipping-option input[type="radio"] {
    display: none;
}

.shipping-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #d4c4b5;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.shipping-option.selected .shipping-radio {
    border-color: #7a8c6e;
}

.shipping-option.selected .shipping-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #7a8c6e;
    border-radius: 50%;
}

.shipping-info {
    flex: 1;
}

.shipping-name {
    font-size: 13px;
    font-weight: 600;
    color: #3d2b1f;
}

.shipping-time {
    font-size: 12px;
    color: #999;
}

.shipping-price-tag {
    font-size: 14px;
    font-weight: 700;
    color: #7a8c6e;
    white-space: nowrap;
}

.shipping-price-tag.paid {
    color: #b5563e;
}

.summary-divider {
    height: 1px;
    background: #ece4d9;
    margin: 10px 0;
}

.summary-row.total {
    padding: 8px 0 0;
}

.summary-row.total span:first-child {
    font-size: 16px;
    font-weight: 700;
    color: #3d2b1f;
}

.summary-total {
    font-size: 24px;
    font-weight: 800;
    color: #b5563e;
}

/* Product in Summary */
.summary-product {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #ece4d9;
    align-items: center;
}

.product-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8e0d5;
    flex-shrink: 0;
    background: #f5efe6;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    flex: 1;
    min-width: 0;
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    color: #3d2b1f;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-qty-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #e0d5c7;
    border-radius: 8px;
    overflow: hidden;
}

.product-qty-selector button {
    width: 30px;
    height: 30px;
    background: #f5efe6;
    color: #b5563e;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.product-qty-selector button:hover {
    background: #ece4d9;
}

.product-qty {
    width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #3d2b1f;
    border-left: 1px solid #e0d5c7;
    border-right: 1px solid #e0d5c7;
    line-height: 30px;
}

.product-qty-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Trust / Step Badges */
.summary-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid #ece4d9;
    gap: 0;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    flex: 1;
}

.badge-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e8e0d5;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s;
}

.trust-badge.active .badge-icon-circle {
    background: #7a8c6e;
    color: #fff;
}

.trust-badge span {
    font-size: 11px;
    color: #aaa;
    font-weight: 600;
    transition: color 0.3s;
    -webkit-text-fill-color: #aaa;
}

.trust-badge.active span {
    color: #3d2b1f;
    -webkit-text-fill-color: #3d2b1f;
}

.badge-line {
    width: 30px;
    height: 2px;
    background: #e0d5c7;
    flex-shrink: 0;
    margin: 0 4px;
    margin-bottom: 22px;
    transition: background 0.3s;
}

.badge-line.done {
    background: #7a8c6e;
}

/* ========== CHECKOUT REVIEWS ========== */
.checkout-reviews {
    margin-top: 24px;
}

.checkout-reviews-title {
    font-size: 16px;
    font-weight: 700;
    color: #3d2b1f;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-reviews-title i {
    color: #c9a96e;
}

.checkout-review {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #ece4d9;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: box-shadow 0.3s;
}

.checkout-review:hover {
    box-shadow: 0 4px 14px rgba(61,43,31,0.08);
}

.checkout-review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e0d5c7;
}

.checkout-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-review-content {
    flex: 1;
    min-width: 0;
}

.checkout-review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 6px;
}

.checkout-review-stars i {
    color: #c9a96e;
    font-size: 13px;
}

.checkout-review-text {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 6px;
}

.checkout-review-author {
    font-size: 12px;
    font-weight: 600;
    color: #3d2b1f;
}

/* ========== CHECKOUT FOOTER ========== */
.checkout-footer {
    background: #3d2b1f;
    padding: 20px;
    margin-top: auto;
    width: 100%;
}

.checkout-footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.checkout-footer p {
    font-size: 13px;
    color: #888;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 13px;
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #c9a96e;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 968px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .sticky-summary {
        position: static;
    }

    .checkout-summary-col {
        order: -1;
    }
}

@media (max-width: 768px) {
    .checkout-card {
        padding: 24px 18px;
    }

    .card-header h2 {
        font-size: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-step-actions {
        flex-direction: column;
    }

    .checkout-footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .summary-trust {
        gap: 8px;
    }

    .banner-track {
        aspect-ratio: 16 / 5;
    }



    .payment-option-content {
        padding: 14px 14px;
    }
}

@media (max-width: 480px) {
    .checkout-main {
        padding: 16px;
    }

    .checkout-card,
    .summary-card {
        padding: 20px 18px;
        border-radius: 12px;
        min-width: 0;
    }

    .checkout-form-col,
    .checkout-summary-col {
        min-width: 0;
    }

    .product-name {
        word-break: break-word;
    }

    .summary-product {
        overflow: hidden;
    }

    .card-header-icon {
        display: none;
    }

    .summary-total {
        font-size: 20px;
    }

    .checkout-review {
        padding: 14px;
    }

    .checkout-header-container {
        padding: 0 16px;
    }

    .checkout-footer-container {
        padding: 0 16px;
    }
}
