.checkout-summary { display: grid; gap: .75rem; }
.checkout-price-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .9rem; line-height: 1.5; }
.checkout-price-line strong { max-width: 65%; text-align: end; }
.checkout-grand-total { padding-top: .75rem; border-top: 1px solid var(--line); font-size: 1.1rem; }
.delivery-area-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; align-items: end; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; }
.area-enabled { display: flex; align-items: center; gap: .5rem; min-height: 48px; font-size: .875rem; }
.area-enabled input { width: 20px; height: 20px; accent-color: #168fb7; }
.outfit-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; }
.outfit-row > .field { grid-column: 1; }
.outfit-row > .icon-button { grid-column: 2; grid-row: 1; }
.outfit-matches { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.delivery-area-row input, .outfit-row select { min-width: 0; width: 100%; }
.site-header { flex-wrap: wrap; }
.header-install { --install-accent: #117a9f; --install-button-ink: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem 1.5rem; min-width: 0; flex: 1 0 100%; order: 4; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 1.1rem; color: var(--ink); background: linear-gradient(120deg, #168fb714, transparent 70%), var(--theme-surface); }
.header-install[hidden] { display: none; }
.install-summary { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: .85rem; min-width: 0; }
.install-summary img { display: block; width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: .85rem; background: #fff; box-shadow: 0 4px 12px #168fb712; }
.install-summary h2 { margin: 0; font: 700 1.1rem/1.45 "DM Sans", "Noto Sans Arabic", sans-serif; letter-spacing: 0; overflow-wrap: anywhere; }
.install-summary p { max-width: 64ch; margin: .3rem 0 0; color: var(--muted); font-size: .875rem; line-height: 1.65; }
.install-cta { max-width: 350px; min-width: 0; text-align: center; }
.header-install .install-store-button { width: 100%; max-width: 100%; min-height: 48px; gap: .6rem; padding: .75rem 1.1rem; border-color: transparent; border-radius: .8rem; color: var(--install-button-ink); background: var(--install-accent); font-size: .9375rem; font-weight: 700; line-height: 1.5; text-align: center; }
.install-store-button .icon { width: 20px; height: 20px; flex: 0 0 auto; }
.header-install .install-store-button:hover { background: #09647f; }
.header-install .install-store-button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.header-install .install-store-button:disabled { cursor: default; opacity: .65; }
.install-cta p { margin: .45rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
html[data-theme="dark"] .header-install { --install-accent: #43c4e9; --install-button-ink: #0b252f; background: linear-gradient(120deg, #43c4e916, transparent 70%), var(--theme-surface); }
html[data-theme="dark"] .header-install .install-store-button:hover { background: #75d8f3; }
.saved-shopping-section { max-width: 1200px; margin: 0 auto 3rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.1rem; color: var(--ink); background: var(--theme-surface); }
.saved-shopping-section .browse-shortcuts { margin: 0; }
.saved-shopping-section .discovery-section { margin: 1.25rem 0 0; }
.install-help { width: min(480px, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--theme-surface); color: var(--ink); overflow-y: auto; }
.install-help::backdrop { background: #111a; }
.install-help h2 { font-size: 1.8rem; line-height: 1.4; }
.install-help p { line-height: 1.7; color: var(--muted); margin: 1rem 0; }
.install-help .discovery-action { width: 100%; }
@media(max-width:650px) { .delivery-area-row { grid-template-columns: minmax(0, 1fr) auto; } .delivery-area-row > .field { grid-column: 1 / -1; } .outfit-matches { grid-template-columns: 1fr; } .saved-shopping-section { margin-inline: 1rem; padding: 1.1rem; } }
@media(max-width:820px) { .header-install { grid-template-columns: minmax(0, 1fr); padding: 1rem; gap: .85rem; } .install-summary { grid-template-columns: 48px minmax(0, 1fr); gap: .75rem; } .install-summary img { width: 48px; height: 48px; } .install-summary h2 { font-size: 1rem; } .install-cta { max-width: none; } }
@media(forced-colors:active) { .header-install { background: Canvas; border-color: CanvasText; } .header-install .install-store-button { color: ButtonText; background: ButtonFace; border-color: ButtonText; } }
