/* CINORA order review. Shared identity comes from main.css and theme.json. */
.checkout-page { padding-bottom: 0; background: #fff9f0; }
.checkout-intro { padding: clamp(2.8rem, 6vw, 5.6rem) 0 2rem; background: var(--cinora-color-background); }
.checkout-intro__inner { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.checkout-intro .eyebrow, .checkout-block .eyebrow { color: #986334; }
.checkout-intro h1 { max-width: 12ch; margin: 0.45rem 0 0; color: var(--cinora-color-ink); font-family: var(--wp--preset--font-family--display); font-size: clamp(3.2rem, 6vw, 6.4rem); font-weight: 400; line-height: 0.96; letter-spacing: -0.045em; }
.checkout-intro h1 em { color: #c48643; font-weight: 400; }
.checkout-intro__lead { max-width: 37rem; margin: 1.4rem 0 0; color: #766050; font-size: clamp(0.97rem, 1.4vw, 1.12rem); line-height: 1.65; }
.checkout-intro__aside { flex: 0 0 auto; min-width: 10rem; padding-top: 0.6rem; border-top: 2px solid #c48643; margin: 0 0 0.5rem; color: #6a4731; font-family: var(--wp--preset--font-family--display); font-size: 1.3rem; }
.checkout-intro__aside span { display: block; margin-top: 0.3rem; color: #9c8470; font-family: var(--wp--preset--font-family--sans); font-size: 0.72rem; letter-spacing: 0.12em; }
.checkout-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; padding-block: 1.15rem; border-top: 1px solid #e6d8c7; border-bottom: 1px solid #e6d8c7; color: #9b8571; font-size: 0.76rem; }
.checkout-flow a { color: #6a4731; text-decoration: underline; }
.checkout-flow strong { color: #6a4731; font-weight: 800; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(19rem, 0.85fr); align-items: start; gap: clamp(1.25rem, 4vw, 4rem); padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); }
.checkout-layout__main { min-width: 0; }
.checkout-block { padding: 0 0 clamp(2.1rem, 4vw, 3.2rem); margin-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid #decdbb; }
.checkout-block:last-child { margin-bottom: 0; border-bottom: 0; }
.checkout-block__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.checkout-block .eyebrow { margin: 0 0 0.5rem; font-size: 0.68rem; font-weight: 750; letter-spacing: 0.15em; }
.checkout-block h2 { margin: 0; color: #4b2a1e; font-family: var(--wp--preset--font-family--display); font-size: clamp(2rem, 3vw, 3.25rem); font-weight: 400; line-height: 1.05; }
.checkout-block h2 span { color: #c48643; }
.checkout-block__intro { margin: 0.75rem 0 1.6rem; color: #806b5b; font-size: 0.9rem; }
.checkout-text-link { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.5rem; padding-bottom: 0.2rem; border-bottom: 1px solid currentColor; color: #6a4731; font-size: 0.84rem; font-weight: 750; text-decoration: none; }
.checkout-text-link:hover { color: #ae7138; }
.checkout-items { display: grid; gap: 0.8rem; }
.checkout-item { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) auto; gap: 1.15rem; min-width: 0; padding: 0.75rem; border: 1px solid #eadbc9; border-radius: 1.1rem; background: #fbf4e7; }
.checkout-item__image { width: 6.2rem; height: 6.6rem; border-radius: 0.75rem; object-fit: cover; }
.checkout-item__body { min-width: 0; }
.checkout-item__title { margin: 0; color: #4b2a1e; font-family: var(--wp--preset--font-family--display); font-size: 1.45rem; font-weight: 400; line-height: 1.15; }
.checkout-item__meta { margin: 0.35rem 0 0; color: #6e5747; font-size: 0.78rem; line-height: 1.48; }
.checkout-item__demo { display: inline-block; margin: 0.35rem 0 0; color: #945d2d; font-size: 0.68rem; font-weight: 800; }
.checkout-item__tools { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.85rem; }
.checkout-item__tools button { cursor: pointer; font: inherit; }
.checkout-item__quantity { display: inline-flex; align-items: center; border: 1px solid #d7bea7; border-radius: 999px; background: #fffaf2; }
.checkout-item__quantity button { width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: transparent; color: #5b3826; font-size: 1.12rem; }
.checkout-item__quantity button:hover { background: #efdfca; }
.checkout-item__quantity output { min-width: 1.5rem; text-align: center; font-size: 0.8rem; font-weight: 750; }
.checkout-item__remove { padding: 0.25rem 0; border: 0; border-bottom: 1px solid #a3836a; background: none; color: #775542; font-size: 0.72rem; }
.checkout-item__price { align-self: start; margin: 0.15rem 0 0; color: #4b2a1e; font-size: 0.88rem; font-weight: 800; text-align: right; white-space: nowrap; }
.checkout-empty { padding: 1.5rem; border: 1px dashed #cdb69e; border-radius: 1.1rem; background: #fbf4e7; }
.checkout-empty p { margin: 0 0 0.9rem; color: #6e5747; }
.checkout-button { display: inline-flex; min-height: 2.85rem; align-items: center; justify-content: center; gap: 1rem; padding: 0.65rem 1.2rem; border-radius: 999px; font-size: 0.78rem; font-weight: 750; text-decoration: none; }
.checkout-button--dark { background: #4b2a1e; color: #fff9f0; }
.checkout-button--dark:hover { background: #6a4731; color: #fff9f0; }
.checkout-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; padding: 0; border: 0; margin: 0 0 1.3rem; }
.checkout-method { position: relative; display: flex; min-height: 5.5rem; align-items: center; padding: 1rem; border: 1px solid #d9c6b2; border-radius: 0.95rem; background: #fffaf2; cursor: pointer; }
.checkout-method:has(input:checked) { border-color: #4b2a1e; background: #f2e5d2; box-shadow: inset 0 0 0 1px #4b2a1e; }
.checkout-method input { width: 1.05rem; height: 1.05rem; flex: 0 0 auto; margin: 0 0.85rem 0 0; accent-color: #4b2a1e; }
.checkout-method strong, .checkout-method small { display: block; }
.checkout-method strong { color: #4b2a1e; font-size: 0.95rem; }
.checkout-method small { margin-top: 0.18rem; color: #806b5b; font-size: 0.72rem; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.checkout-fields__wide { grid-column: 1 / -1; }
.checkout-fields label { display: block; min-width: 0; color: #5b3826; font-size: 0.78rem; font-weight: 750; }
.checkout-fields input, .checkout-fields select, .checkout-fields textarea { display: block; width: 100%; min-height: 3rem; padding: 0.75rem 0.85rem; border: 1px solid #d9c6b2; border-radius: 0.7rem; margin-top: 0.42rem; background: #fffaf2; color: #4b2a1e; font: inherit; font-size: 0.88rem; line-height: 1.4; }
.checkout-fields textarea { resize: vertical; }
.checkout-fields input::placeholder, .checkout-fields textarea::placeholder { color: #9a8472; opacity: 1; }
.checkout-fields label small { display: block; margin-top: 0.38rem; color: #806b5b; font-size: 0.69rem; font-weight: 400; line-height: 1.5; }
.checkout-inline-note, .checkout-validation { margin: 0.8rem 0 0; color: #775c49; font-size: 0.73rem; line-height: 1.55; }
.checkout-validation:not(:empty) { color: #8a3f2f; font-weight: 700; }
.checkout-receipt { position: sticky; top: 6.4rem; overflow: hidden; border-radius: 1.35rem; background: #382017; color: #fff9f0; box-shadow: 0 1.1rem 2.8rem rgb(63 35 20 / 12%); }
.checkout-receipt__top { padding: 1.75rem 1.65rem 1.25rem; border-bottom: 1px solid #6b4938; }
.checkout-receipt .eyebrow { margin: 0 0 0.6rem; color: #dba366; font-size: 0.66rem; }
.checkout-receipt h2 { margin: 0; color: #fff9f0; font-family: var(--wp--preset--font-family--display); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400; line-height: 1.1; }
.checkout-receipt__top > p:last-child { margin: 0.65rem 0 0; color: #e1cbb6; font-size: 0.8rem; }
.checkout-receipt__rows { display: grid; gap: 1rem; padding: 1.45rem 1.65rem; }
.checkout-receipt__rows > div { display: flex; align-items: start; justify-content: space-between; gap: 1rem; color: #e1cbb6; font-size: 0.85rem; }
.checkout-receipt__rows strong { color: #fff9f0; text-align: right; }
.checkout-receipt__rows .checkout-receipt__grand { align-items: center; padding-top: 1.15rem; border-top: 1px solid #6b4938; color: #fff9f0; font-family: var(--wp--preset--font-family--display); font-size: 1.35rem; }
.checkout-receipt__grand strong { font-size: 1.65rem; font-weight: 400; }
.checkout-receipt__draft { margin: 0 1.65rem 1.25rem; padding: 0.8rem; border: 1px solid #99745b; border-radius: 0.65rem; color: #f2b977; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.06em; }
.checkout-receipt__draft span { display: block; margin-top: 0.25rem; color: #ead3bf; font-size: 0.7rem; font-weight: 400; letter-spacing: normal; line-height: 1.5; }
.checkout-receipt__actions { padding: 0 1.65rem 1.25rem; }
.checkout-receipt__actions button { display: flex; width: 100%; min-height: 3.15rem; align-items: center; justify-content: space-between; padding: 0.7rem 1.05rem; border: 0; border-radius: 999px; background: #e7c092; color: #382017; font: inherit; font-size: 0.82rem; font-weight: 800; }
.checkout-receipt__actions button:disabled { opacity: 0.55; cursor: not-allowed; }
.checkout-receipt__actions p { margin: 0.65rem 0 0; color: #e1cbb6; font-size: 0.7rem; line-height: 1.5; }
.checkout-receipt__confirmation { margin: 0; padding: 1.05rem 1.65rem 1.5rem; border-top: 1px solid #6b4938; color: #ead3bf; font-size: 0.74rem; line-height: 1.55; }
.checkout-message { border-top: 1px solid #6b4938; }
.checkout-message summary { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.65rem; color: #fff9f0; cursor: pointer; font-size: 0.75rem; font-weight: 750; list-style: none; }
.checkout-message summary::-webkit-details-marker { display: none; }
.checkout-message summary span { color: #dba366; font-size: 1.25rem; }
.checkout-message[open] summary span { transform: rotate(45deg); }
.checkout-message pre { overflow-wrap: anywhere; padding: 0 1.65rem 1.4rem; margin: 0; color: #ead3bf; font-family: var(--wp--preset--font-family--sans); font-size: 0.67rem; line-height: 1.55; white-space: pre-wrap; }
.checkout-endnote { padding: 1.7rem 0; background: #efdfca; }
.checkout-endnote .site-container { display: flex; align-items: center; gap: 1rem; }
.checkout-endnote span { display: grid; width: 3.8rem; height: 3.8rem; flex: 0 0 auto; place-items: center; border: 1px solid #b68e6a; border-radius: 50%; color: #6a4731; font-family: var(--wp--preset--font-family--display); font-size: 1.45rem; }
.checkout-endnote p { margin: 0; color: #715a48; font-size: 0.82rem; }
.checkout-endnote strong { color: #4b2a1e; font-family: var(--wp--preset--font-family--display); font-size: 1.35rem; font-weight: 400; }
.checkout-page :focus-visible { outline: 3px solid #b87334; outline-offset: 2px; }
@media (max-width: 62rem) { .checkout-layout { grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.7fr); gap: 1.3rem; } .checkout-receipt__top, .checkout-receipt__rows { padding-inline: 1.2rem; } .checkout-receipt__actions { padding-inline: 1.2rem; } .checkout-receipt__draft { margin-inline: 1.2rem; } }
@media (max-width: 48rem) { .checkout-intro { padding-top: 2.25rem; } .checkout-intro__inner { display: block; } .checkout-intro__aside { display: none; } .checkout-intro h1 { font-size: clamp(2.8rem, 9vw, 4.1rem); } .checkout-layout { grid-template-columns: 1fr; gap: 0; } .checkout-receipt { position: static; margin-bottom: 1.25rem; } .checkout-flow { font-size: 0.66rem; } }
@media (max-width: 35rem) { .checkout-block__head { align-items: start; } .checkout-block h2 { font-size: 2.25rem; } .checkout-item { grid-template-columns: 4.6rem minmax(0, 1fr); gap: 0.75rem; padding: 0.55rem; } .checkout-item__image { width: 4.6rem; height: 5.1rem; } .checkout-item__title { font-size: 1.18rem; } .checkout-item__meta { font-size: 0.69rem; } .checkout-item__price { grid-column: 2; grid-row: 2; justify-self: start; margin: -0.3rem 0 0; text-align: left; } .checkout-methods { gap: 0.45rem; } .checkout-method { min-height: 5rem; padding: 0.6rem; } .checkout-method input { margin-right: 0.45rem; } .checkout-method strong { font-size: 0.81rem; } .checkout-method small { font-size: 0.62rem; } .checkout-fields { grid-template-columns: 1fr; } .checkout-fields__wide { grid-column: 1; } .checkout-endnote .site-container { align-items: start; } }
