:root { --customer-bg: #171729; --customer-text: #f1effc; --customer-muted: #bab8cc; --customer-line: #45425d; --customer-accent: #a99aff; }
html[data-theme="light"], body.light-mode { --customer-bg: #fff; --customer-text: #161528; --customer-muted: #55546a; --customer-line: #d9d7e2; --customer-accent: #5742b3; }
.shop-service-dialog,.checkout-review-dialog { width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid var(--customer-line); border-radius: 14px; background: var(--customer-bg); color: var(--customer-text); overflow: auto; box-shadow: 0 20px 90px #0006; }
.shop-service-dialog::backdrop,.checkout-review-dialog::backdrop { background: #090816b8; }
.shop-service-dialog>header,.checkout-review-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--customer-line); }
.shop-service-dialog h2,.checkout-review-header h2 { margin: 0; font-size: 1.25rem; line-height: 1.4; }
.shop-service-dialog [data-close],.checkout-review-header button { background: transparent; color: inherit; border: 1px solid var(--customer-line); border-radius: 7px; width: 44px; height: 44px; font-size: 1.5rem; flex-shrink: 0; cursor: pointer; }
.shop-service-body,.checkout-review-body { padding: 1.4rem; line-height: 1.7; }
.shop-service-body form { display: grid; gap: 1rem; }
.shop-service-body label,.checkout-billing label { display: grid; gap: .35rem; font-size: .9rem; }
.shop-service-body input,.shop-service-body textarea,.shop-service-body select,.checkout-billing input { width: 100%; min-width: 0; box-sizing: border-box; font: inherit; color: inherit; background: var(--customer-bg); border: 1px solid var(--customer-line); border-radius: 6px; min-height: 44px; padding: .65rem .8rem; }
.shop-service-body a,.checkout-review-dialog a { color: var(--customer-accent); text-decoration: underline; text-underline-offset: 3px; }
.shop-service-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .7rem 1.1rem; border: 1px solid var(--customer-line); border-radius: 7px; background: var(--customer-accent); color: var(--customer-bg); font: inherit; font-weight: 600; text-decoration: none!important; cursor: pointer; }
.shop-service-body .shop-service-button { color: var(--customer-bg); }
.shop-account-support { margin-top: 2rem; border-top: 1px solid var(--customer-line); padding-top: 1.5rem; }
.shop-service-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.shop-support-entry { border: 1px solid var(--customer-line); border-radius: 9px; padding: 1rem; margin: 1rem 0; }
.shop-support-entry h3 { margin: 0; font-size: 1rem; }
.shop-support-entry p { font-size: .9rem; }
.shop-support-reply { border-left: 3px solid var(--customer-accent); padding: .5rem 1rem; margin-top: 1rem; }
.shop-preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.cart-quantity { display: inline-flex; align-items: center; gap: .3rem; margin: .5rem 0; }
.cart-quantity button { min-width: 38px; min-height: 38px; font: inherit; background: var(--sh-surface, var(--customer-bg)); color: inherit; border: 1px solid var(--sh-line-strong, var(--customer-line)); border-radius: 5px; cursor: pointer; }
.cart-quantity input { width: 54px; min-height: 38px; padding: .25rem; text-align: center; font: inherit; color: inherit; border: 1px solid var(--sh-line-strong, var(--customer-line)); background: transparent; border-radius: 5px; }
.cart-unit-price { font-size: .72rem; color: var(--sh-muted,var(--customer-muted)); }
.checkout-review-items { list-style: none; padding: 0; margin: 1rem 0; }
.checkout-review-items ul { list-style: none; margin: 0; padding: 0; }
.checkout-order-estimate { display: block; }
.checkout-review-items li { display: flex; gap: 1rem; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid var(--customer-line); font-size: .9rem; }
.checkout-review-items li strong { white-space: nowrap; }
.checkout-review-summary { border: 1px solid var(--customer-line); border-radius: 8px; padding: 1rem; margin: 1rem 0; }
.checkout-review-summary p { margin: .4rem 0; }
.checkout-billing { border: 1px solid var(--customer-line); border-radius: 8px; padding: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1rem 0; min-width: 0; }
.checkout-billing legend { font-weight: 600; padding: 0 .35rem; }
.checkout-review-actions { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.3rem; }
.checkout-review-actions button { min-height: 46px; padding: .7rem 1rem; font: inherit; border: 1px solid var(--customer-line); border-radius: 7px; background: var(--customer-accent); color: var(--customer-bg); cursor: pointer; }
.checkout-review-actions button:first-child { background: transparent; color: inherit; }
.checkout-review-dialog .checkout-review-actions { padding: 0 1.4rem 1.4rem; }
.checkout-review-dialog [hidden],.shop-service-dialog [hidden] { display: none!important; }
#checkout-edit-address { color: var(--customer-accent); background: transparent; border: 0; text-decoration: underline; font: inherit; min-height: 44px; cursor: pointer; }
.cart-price-change { display: block; font-size: .75rem; color: #ce9b49; margin-top: .4rem; line-height: 1.5; }
.checkout-terms { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; line-height: 1.6; }
.checkout-terms input { margin-top: .35rem; flex-shrink: 0; width: 18px; height: 18px; }
.checkout-inline-error { padding: .6rem 0; font-size: .85rem; color: #e9a36b; }
.shop-page .customer-help-bar { display: flex; align-items: center; justify-content: space-between; gap: .7rem 1.5rem; flex-wrap: wrap; padding: 1rem 0; margin-bottom: 1rem; border-bottom: 1px solid var(--sh-line-strong); color: var(--sh-muted); font-size: .77rem; }
.customer-help-bar a { color: inherit; text-underline-offset: 4px; }
.shop-page main > .customer-help-bar { margin-top: 0; }
.shop-page .shop-main { padding-top: 7rem; }
html[data-theme="light"] body.shop-page .main-header { background: var(--sh-bg); border-bottom: 1px solid var(--sh-line); }
html[data-theme="light"] body.shop-page .main-header .logo { background: none; color: var(--sh-accent); -webkit-text-fill-color: currentColor; }
html[data-theme="light"] body.shop-page .main-header .nav-links a { color: var(--sh-muted); }
html[data-theme="light"] body.shop-page .main-header .nav-links a.active { color: var(--sh-accent); }
.shop-page .hero-section { padding-top: 1.2rem; }
.shop-footer-links { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; justify-content: center; margin: 1rem 0; }
.shop-footer-address { font-size: .85rem; }
.order-progress { display: flex; list-style: none; padding: 0; gap: .5rem; flex-wrap: wrap; margin: 1.2rem 0; }
.order-progress li { flex: 1 1 110px; border-top: 3px solid var(--customer-line); padding: .65rem .3rem; font-size: .8rem; }
.order-progress li.is-complete { border-color: var(--customer-accent); }
.order-support-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.conta-content,.conta-panel,#conta-order-detail-view,.order-detail-header>div,.order-detail-info-box { min-width: 0; }
.order-table-scroll { max-width: 100%; overflow-x: auto; margin-bottom: 1.4rem; }
.order-table-scroll .order-detail-table { margin-bottom: 0; }
.order-detail-info-box p,.shop-support-entry p,.order-detail-header .conta-order-date { overflow-wrap: anywhere; }
.order-detail-header-actions { flex-wrap: wrap; }
@media(max-width:640px) { .order-detail-info-grid { grid-template-columns: minmax(0,1fr); } .order-detail-header { padding: 1rem; } .order-table-scroll td,.order-table-scroll th { padding: .6rem .5rem; font-size: .8rem; } }
@media(max-width:560px) { .checkout-billing { grid-template-columns: 1fr; } .checkout-review-actions { flex-direction: column-reverse; } .checkout-review-actions button { width: 100%; } .shop-service-body,.checkout-review-body { padding: 1rem; } .checkout-review-items li { gap: .6rem; } }
@media(max-width:768px) {
    .shop-page .shop-main { padding-top: 6rem; }
    .shop-page .hero-side { grid-template-columns: minmax(0,1fr) minmax(100px,.75fr); grid-template-rows: auto auto; min-height: 190px; }
    .shop-page .hero-side > img { grid-column: 2; grid-row: 1 / 3; position: absolute; object-position: center; }
    .shop-page .hero-side > div { grid-column: 1; grid-row: 1; padding: 1rem 1rem 0; }
    .shop-page .hero-side > .campaign-link { grid-column: 1; grid-row: 2; margin: .6rem 1rem 1rem; }
    .shop-page .hero-side h2 { font-size: 1.15rem; }
    .shop-page .hero-side p:not(.campaign-eyebrow) { font-size: .7rem; }
    .shop-page .hero-section { padding-top: .5rem; }
    .shop-page .customer-help-bar { font-size: .74rem; gap: .45rem 1rem; padding-top: 1rem; }
}
@media(prefers-reduced-motion:reduce) { .shop-page *, .shop-page *::before, .shop-page *::after { scroll-behavior: auto!important; } }
