.site-header nav { display: flex; gap: 24px; align-items: center; font-size: 14px; }
nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
nav a:hover { color: var(--red); }
.nav-button { border: 0; background: none; cursor: pointer; color: var(--ink); font-size: 14px; padding: 0; min-height: 44px; display: inline-flex; align-items: center; }
.nav-button:hover { color: var(--red); }
.nav-button:disabled { opacity: .5; cursor: default; }
.page { max-width: 1240px; margin: auto; padding: 56px 28px 80px; }
.page-heading h1 { font-size: clamp(42px, 6vw, 68px); margin: 12px 0 24px; }
.page-heading p { color: var(--muted); max-width: 580px; line-height: 1.7; }
.surface { padding: 32px; border: 1px solid var(--line); background: white; border-radius: 24px; }
.surface + .surface { margin-top: 24px; }
.surface h2 { letter-spacing: -.04em; }
fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
legend { font-size: 20px; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.step-dot { font-size: 13px; background: #eaf2fb; color: var(--red); padding: 7px 11px; border-radius: 50%; }
.choice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 20px 12px; display: flex !important; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; text-align: center; }
.choice:has(input:checked) { border-color: var(--red); background: #f0f6ff; box-shadow: 0 0 0 1px var(--red); }
.choice input { accent-color: var(--red); width: 18px; height: 18px; }
.choice small { color: var(--muted); font-weight: 400; font-size: 12px; }
.shape { display: block; border: 2px solid currentColor; border-radius: 3px; background: #e9edf2; }
.shape.portrait { width: 28px; height: 42px; }.shape.wide { width: 42px; height: 28px; margin: 7px 0; }.shape.square { width: 36px; height: 36px; margin: 3px 0; }
.surface label { display: block; font-size: 14px; font-weight: 500; }
.surface input:not([type=radio]):not([type=checkbox]), .surface select, .surface textarea { display: block; width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 8px 0 20px; background: #fafafa; color: var(--ink); font: inherit; min-height: 48px; }
.surface input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--red); }
.toggle-label { display: flex !important; align-items: center; gap: 10px; margin: 24px 0; }
.hint { font-size: 13px; color: var(--muted); line-height: 1.6; }
.price { font-size: 22px; letter-spacing: -.04em; }
.action-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
a.primary-button { text-decoration: none; }
.dashboard-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.tab-button { border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; min-height: 44px; background: white; cursor: pointer; }
.tab-button[aria-selected=true] { background: var(--ink); color: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.gallery-card { overflow: hidden; border-radius: 20px; background: white; border: 1px solid var(--line); }
.gallery-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.gallery-card div { padding: 20px; }.gallery-card p { line-height: 1.5; margin: 0 0 12px; overflow-wrap: anywhere; }
.auth-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.auth-layout { max-width: 920px; margin: 32px auto; }
.auth-card h2 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.order-card { margin-bottom: 24px; }
.order-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.order-top h2 { margin: 0 0 8px; font-size: 21px; }
.status-badge { display: inline-block; border-radius: 999px; background: #edf2f8; padding: 6px 12px; font-size: 12px; text-transform: capitalize; margin: 0 6px 6px 0; }
.order-details { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; margin: 20px 0; }
.order-details img { width: 100%; border-radius: 12px; }
.order-details p { margin: 0 0 10px; line-height: 1.6; overflow-wrap: anywhere; }
.order-card details { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.order-card summary { cursor: pointer; min-height: 40px; }
.order-card li { padding: 6px 0; font-size: 14px; }
.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); }
.danger-button { border: 1px solid #b629351f; color: #a5232e; background: #fcf2f2; border-radius: 999px; padding: 12px 18px; min-height: 44px; cursor: pointer; }
.admin-tools { background: #f7f8fa; padding: 20px; border-radius: 16px; margin-top: 20px; }
.payment-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.payment-table td,.payment-table th { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); }
.table-scroll { overflow-x: auto; }
#pageStatus { line-height: 1.6; color: var(--muted); }
.order-preview { width: 100%; max-height: 350px; object-fit: contain; border-radius: 16px; background: #f5f5f7; }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .auth-layout,.checkout-layout { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .page { padding: 32px 16px; } .surface { padding: 24px 18px; } .site-header nav { gap: 12px; font-size: 12px; } .choice { padding: 16px 6px; } .choice-row { gap: 8px; } .choice small { font-size: 11px; } .gallery-grid { gap: 12px; } .gallery-card div { padding: 12px; } .gallery-card p { font-size: 13px; } .gallery-card a { font-size: 12px; } .order-details { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; } .form-grid { grid-template-columns: 1fr; } }
