/* Shopify-style Checkout */
.checkout-body { background: #f6f6f7; min-height: 100vh; }
.ad-notice-compact { padding: 6px 16px; font-size: 0.75rem; }
.ad-notice-compact a { margin-left: 8px; }

.checkout-header {
    background: #fff;
    padding: 16px 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.checkout-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.checkout-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 1px;
}
.checkout-progress {
    display: flex;
    align-items: center;
    gap: 4px;
}
.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: background 0.3s;
}
.progress-dot.active { background: var(--primary); }
.progress-line {
    width: 24px;
    height: 2px;
    background: #ddd;
}
.progress-text {
    margin-left: 12px;
    font-size: 0.8rem;
    color: #666;
}

.checkout-main { padding: 32px 24px 60px; }
.checkout-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}
@media (max-width: 968px) {
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-sidebar { order: -1; }
}

.checkout-form-col { min-width: 0; }
.shopify-form {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.checkout-section {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #eee;
}
.checkout-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.form-row { margin-bottom: 16px; }
.form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 500px) { .form-row.two-cols { grid-template-columns: 1fr; } }
.field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
}
.field input,
.field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123, 75, 61, 0.15);
}
.field input::placeholder { color: #999; }
.field-error {
    display: block;
    font-size: 0.8rem;
    color: #c0392b;
    margin-top: 4px;
}
.field.has-error input,
.field.has-error select { border-color: #c0392b; }

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.shipping-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: #f0f9f4;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #2d5a3d;
    display: flex;
    align-items: center;
    gap: 8px;
}
.shipping-icon { font-size: 1.2rem; }

.payment-methods { margin-bottom: 16px; }
.payment-method {
    display: block;
    cursor: pointer;
    margin-bottom: 8px;
}
.payment-method input { display: none; }
.payment-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s;
}
.payment-method input:checked + .payment-box {
    border-color: var(--primary);
    background: #fdf8f7;
}
.payment-box img { height: 24px; }
.card-icon { font-size: 1.5rem; }
.secure-note { font-size: 0.85rem; color: #666; }

.submit-area { margin-top: 32px; padding-top: 24px; border-top: 1px solid #eee; }
.btn-submit {
    width: 100%;
    padding: 16px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}
.btn-submit:hover { background: var(--primary-dark); }
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.submit-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}
.submit-note a { color: var(--primary); }

.checkout-sidebar { position: relative; }
.sidebar-sticky {
    position: sticky;
    top: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.summary-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.summary-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}
.summary-header h3 { font-size: 1rem; margin-bottom: 4px; }
.summary-header p { font-size: 0.85rem; color: #666; }
.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.summary-line .free { color: #27ae60; font-weight: 600; }
.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.trust-badges {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
