/* ==============================================================
   File:    /css/checkout-styles.css
   Purpose: Storefront — checkout page styles
   Version: 1.1.0
   Updated: 2026-06-21
   Notes:   v1.1.0 - Converted from .asp include (was pure CSS
            mislabeled .asp). <style> wrapper + HTML comment header
            removed; CSS body unchanged. Linked via <link> now.
   ============================================================== */

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial;
}
.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 24px 16px;
}
h1 {
    font: 700 1.4rem/1.2 "EB Garamond", Georgia, serif;
    color: var(--gold);
    margin: 0 0 14px;
}
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 18px;
}

@media (max-width:980px) {
.checkout-grid {
    grid-template-columns: 1fr;
}
}
.card {
    background: var(--panel);
    border: 1px solid var(--panel-br);
    border-radius: 14px;
    padding: 16px;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
label {
    font-weight: 600;
    color: var(--creme);
}
input, select {
    background: #0f1113;
    border: 1px solid #2a2f36;
    color: var(--creme);
    border-radius: 10px;
    padding: 10px 12px;
    font: 15px/1.4 system-ui;
    width: 100%;
}
.row {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

@media (max-width:640px) {
.row {
    grid-template-columns: 1fr;
}
}
.small {
    color: var(--muted);
    font-size: .9rem;
}
.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 0;
    background: var(--gold);
    color: #1a1208;
    font-weight: 800;
    cursor: pointer;
}
.lock-note {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid var(--panel-br);
    border-radius: 10px;
    background: #101315;
    color: #e9e7e1;
}
.summary {
    position: sticky;
    top: 12px;
}
.summary .line {
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
}
.summary .total {
    font-size: 1.15rem;
    font-weight: 800;
}
.summary .mini {
    color: var(--muted);
    font-size: .9rem;
}
.summary .items {
    margin: 8px 0 10px;
    max-height: 300px;
    overflow: auto;
    border: 1px solid #2a2f36;
    border-radius: 10px;
}
.summary .items .it {
    display: flex;
    gap: 10px;
    padding: 8px 10px;
    border-bottom: 1px solid #222;
}
.summary .items .it:last-child {
    border-bottom: 0;
}
.summary .thumb {
    width: 48px;
    height: 72px;
    background: #171b21;
    border-radius: 6px;
    overflow: hidden;
    flex: 0 0 48px;
}
.summary .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.summary .name {
    color: var(--creme);
    font-weight: 600;
    font-size: .95rem;
}
.summary .meta {
    color: var(--muted);
    font-size: .85rem;
}
.summary .summary-lock {
    margin: 4px 0 10px;
    padding: 8px 10px;
    background: #12161c;
    border: 1px solid #2a2f36;
    border-radius: 10px;
    font-size: .9rem;
    color: var(--creme);
}
.summary .summary-lock a {
    color: var(--gold);
    text-decoration: none;
}
.summary .summary-lock a:hover {
    text-decoration: underline;
}
.empty-note {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid var(--panel-br);
    border-radius: 10px;
    background: #101315;
    color: #e9e7e1;
}
