/* ============================================
   CUSTOM CHECKOUT ESTIMATE PAGE STYLES
============================================ */

.custom-checkout-page {
    background: #090D16;
    color: #F8FAFC;
    padding: 32px 0 60px;
    font-family: var(--font, 'Inter', sans-serif);
    min-height: 85vh;
}

.checkout-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
}

/* LEFT COLUMN: FORM BOX */
.checkout-card-box {
    background: linear-gradient(180deg, #0F172A 0%, #090D16 100%);
    border: 1.5px solid rgba(255, 183, 3, 0.25);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.checkout-card-header h3 {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 6px;
}

.checkout-card-header p {
    font-size: 0.9rem;
    color: #94A3B8;
    margin: 0 0 24px;
}

.checkout-card-box form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.submit-order-btn {
    background: linear-gradient(135deg, #FF2A00 0%, #F59E0B 50%, #FFB703 100%);
    color: #090D16;
    border: none;
    border-radius: 14px;
    padding: 16px 24px;
    font-size: 1.05rem;
    font-weight: 900;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 42, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    width: 100%;
}

.submit-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 42, 0, 0.6);
}

.submit-order-btn.disabled {
    background: #334155;
    color: #94A3B8;
    box-shadow: none;
    cursor: not-allowed;
}

.whatsapp-direct-btn {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 900;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    width: 100%;
}

.whatsapp-direct-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.6);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* RIGHT COLUMN: SUMMARY */
.checkout-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: 16px;
}

.checkout-items-list::-webkit-scrollbar {
    width: 5px;
}

.checkout-items-list::-webkit-scrollbar-thumb {
    background: rgba(255, 183, 3, 0.3);
    border-radius: 4px;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    font-size: 0.9rem;
}

.summary-item-row .item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-item-row .item-name {
    font-weight: 700;
    color: #F8FAFC;
}

.summary-item-row .item-qty {
    font-size: 0.78rem;
    color: #FFB703;
    font-weight: 800;
}

.summary-item-row .item-price {
    font-weight: 800;
    color: #10B981;
}

.summary-divider {
    height: 1px;
    background: rgba(255, 183, 3, 0.2);
    margin: 16px 0;
}

.trust-badge-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.trust-item {
    font-size: 0.82rem;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
    .checkout-layout-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   THANK YOU / ORDER RECEIVED PAGE STYLES
============================================ */
.prs-thankyou-page {
    background: #090D16;
    color: #F8FAFC;
    padding: 40px 0 80px;
    font-family: var(--font, 'Inter', sans-serif);
    min-height: 85vh;
}

.prs-thankyou-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* SUCCESS HERO HEADER */
.prs-thankyou-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: linear-gradient(180deg, #0F172A 0%, #090D16 100%);
    border: 1.5px solid rgba(255, 183, 3, 0.3);
    border-radius: 24px;
    padding: 40px 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.prs-success-badge {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.prs-checkmark-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #10B981;
    stroke-miterlimit: 10;
    box-shadow: inset 0 0 0 #10B981;
    animation: fillCheck 0.4s ease-in-out 0.4s forwards, scaleCheck 0.3s ease-in-out 0.9s bounce;
}

.prs-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #10B981;
    fill: none;
    animation: strokeCheck 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.prs-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes strokeCheck {
    100% { stroke-dashoffset: 0; }
}

.prs-hero-tag {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10B981;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prs-hero-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 2.2rem;
    font-weight: 900;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.2;
}

.prs-hero-sub {
    font-size: 1.05rem;
    color: #CBD5E1;
    margin: 0;
    max-width: 600px;
    line-height: 1.5;
}

.prs-order-badge {
    color: #FFB703;
    font-weight: 800;
    font-family: monospace;
    background: rgba(255, 183, 3, 0.15);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 183, 3, 0.3);
}

/* STEPPER */
.prs-thankyou-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0F172A;
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: 20px;
    padding: 24px 32px;
    gap: 12px;
}

.prs-step {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.prs-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94A3B8;
}

.step-done .prs-step-icon {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    border-color: #10B981;
}

.step-active .prs-step-icon {
    background: linear-gradient(135deg, #FFB703 0%, #D97706 100%);
    color: #090D16;
    border-color: #FFB703;
}

.prs-step-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prs-step-text strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    font-family: var(--font-heading, 'Outfit', sans-serif);
}

.prs-step-text span {
    font-size: 0.8rem;
    color: #94A3B8;
}

.prs-step-line {
    height: 2px;
    flex: 0 0 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.prs-step-line.done {
    background: #10B981;
}

/* INFO GRID */
.prs-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.prs-info-card {
    background: linear-gradient(180deg, #0F172A 0%, #090D16 100%);
    border: 1.5px solid rgba(255, 183, 3, 0.25);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.prs-card-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 183, 3, 0.2);
}

.prs-card-icon {
    font-size: 1.2rem;
}

.prs-card-header h3 {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.prs-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prs-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.prs-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.prs-detail-label {
    color: #94A3B8;
    font-weight: 600;
}

.prs-detail-val {
    color: #FFFFFF;
    font-weight: 700;
    text-align: right;
}

.prs-detail-val.highlight-gold {
    color: #FFB703;
}

.prs-detail-val.price-emerald {
    color: #10B981;
    font-size: 1.2rem;
    font-weight: 900;
}

.prs-status-pill {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-processing {
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ITEMIZED TABLE CARD */
.prs-table-card {
    background: linear-gradient(180deg, #0F172A 0%, #090D16 100%);
    border: 1.5px solid rgba(255, 183, 3, 0.25);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.prs-table-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 183, 3, 0.2);
}

.prs-table-header h3 {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.prs-table-responsive {
    overflow-x: auto;
}

.prs-item-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.prs-item-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 20px;
    color: #94A3B8;
    font-weight: 700;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.prs-item-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #F8FAFC;
}

.prs-item-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.prs-qty-badge {
    background: rgba(255, 183, 3, 0.15);
    color: #FFB703;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 183, 3, 0.3);
}

.prs-item-table tfoot td {
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 183, 3, 0.2);
    background: rgba(15, 23, 42, 0.6);
}

.tfoot-grandtotal td {
    border-top: 2px solid #FFB703 !important;
    background: rgba(9, 13, 22, 0.9) !important;
}

/* ACTION BUTTONS */
.prs-thankyou-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.prs-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 900;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    text-decoration: none !important;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.prs-btn-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.prs-btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.prs-btn-print {
    background: linear-gradient(135deg, #FFB703 0%, #F59E0B 100%);
    color: #090D16 !important;
    box-shadow: 0 8px 24px rgba(255, 183, 3, 0.4);
}

.prs-btn-print:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 183, 3, 0.6);
}

.prs-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #F8FAFC !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.prs-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .prs-hero-title {
        font-size: 1.75rem;
    }
    .prs-thankyou-stepper {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
    .prs-step-line {
        display: none;
    }
    .prs-info-grid {
        grid-template-columns: 1fr;
    }
}
