ot-website-checkout, ot-website-cart, ot-website-thank-you { display: block; width: 100%; margin: 48px auto; }
button.ot-add-to-cart-added { filter: brightness(.88); transform: scale(.98); }
ot-website-checkout .ot-checkout, :host .ot-cart { max-width: 1120px; margin: 0 auto; }
ot-website-checkout .ot-checkout-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 32px; align-items: start; }
ot-website-checkout .ot-checkout-card, :host .ot-checkout-card { border: 1px solid rgba(102, 112, 133, .2); border-radius: var(--ot-radius, 12px); background: var(--ot-surface, #fff); }
ot-website-checkout .ot-checkout-grid > .ot-checkout-card:first-child { padding: 34px; }
ot-website-checkout .ot-checkout-status > .ot-checkout-card, ot-website-checkout .ot-checkout > .ot-checkout-card, :host .ot-checkout-card { padding: 28px; }
ot-website-checkout .ot-checkout-summary { position: sticky; top: 24px; padding: 28px; background: var(--ot-summary, #fff); }
ot-website-checkout .ot-checkout-summary-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
ot-website-checkout .ot-checkout-summary-head h2 { margin: 0; }
ot-website-checkout h2, :host h2 { margin: 0 0 20px; font-size: 1.4rem; line-height: 1.2; letter-spacing: -.025em; }
ot-website-checkout .ot-checkout-section + .ot-checkout-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid rgba(102, 112, 133, .18); }
ot-website-checkout label { display: block; color: var(--ot-text, #17202a); font-size: .84rem; font-weight: 650; }
ot-website-checkout input, ot-website-checkout select { width: 100%; min-height: 48px; margin-top: 7px; padding: 11px 13px; border: 1px solid rgba(102, 112, 133, .5); border-radius: calc(var(--ot-radius, 12px) * .65); background: #fff; color: #17202a; font: inherit; }
ot-website-checkout input:focus, ot-website-checkout select:focus, :host input:focus { border-color: var(--ot-primary, #2457d6); outline: 2px solid var(--ot-primary, #2457d6); outline-offset: 1px; }
ot-website-checkout .ot-checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
ot-website-checkout .ot-checkout-phone { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
ot-website-checkout .ot-checkout-phone select, ot-website-checkout .ot-checkout-phone input { margin-top: 7px; }
ot-website-checkout .span-all { grid-column: 1 / -1; }
ot-website-checkout .ot-checkout-actions { margin-top: 26px; }
ot-website-checkout button, :host [data-cart-checkout] { width: 100%; min-height: 50px; padding: 13px 18px; border: 0; border-radius: var(--ot-radius, 12px); background: var(--ot-primary, #2457d6); color: var(--ot-primary-text, #fff); cursor: pointer; font: inherit; font-weight: 750; transition: filter 150ms ease, transform 150ms ease; }
ot-website-checkout button:hover, ot-website-checkout button:focus-visible, :host [data-cart-checkout]:hover, :host [data-cart-checkout]:focus-visible { filter: brightness(.92); }
ot-website-checkout button:active, :host [data-cart-checkout]:active { transform: translateY(1px); }
ot-website-checkout button:disabled, :host button:disabled { cursor: wait; opacity: .65; }
ot-website-checkout .ot-checkout-message, ot-website-checkout .ot-checkout-error, :host .ot-checkout-message, :host .ot-checkout-error { margin-top: 12px; color: #b42318; font-size: .85rem; }
ot-website-checkout table { width: 100%; border-collapse: collapse; }
ot-website-checkout td, ot-website-checkout th { padding: 14px 4px; border-bottom: 1px solid rgba(102, 112, 133, .2); text-align: left; }
ot-website-checkout td:last-child, ot-website-checkout th:last-child { text-align: right; }
ot-website-checkout .ot-checkout-product, :host .ot-checkout-product { display: flex; align-items: center; gap: 14px; min-width: 0; }
ot-website-checkout .ot-checkout-product-image, :host .ot-checkout-product-image { flex: 0 0 auto; width: 64px; height: 64px; border: 1px solid rgba(102, 112, 133, .18); border-radius: calc(var(--ot-radius, 12px) * .65); background: #fff; object-fit: cover; }
:host .ot-checkout-product-image.is-placeholder { background: var(--ot-summary, #fff); }
ot-website-checkout .ot-stripe-host { min-height: 400px; padding: 24px 0; background: var(--ot-surface, #fff); }
ot-website-checkout .ot-checkout-edit-cart { margin: 0; font-size: .85rem; font-weight: 650; }
ot-website-checkout .ot-checkout-processing { min-height: 180px; display: flex; align-items: center; justify-content: center; gap: 22px; max-width: 640px; margin: 0 auto; text-align: left; }
ot-website-checkout .ot-checkout-processing h2 { margin-bottom: 8px; }
ot-website-checkout .ot-checkout-processing p { margin: 0; color: var(--ot-muted, #667085); line-height: 1.55; }
ot-website-checkout .ot-checkout-spinner { flex: 0 0 auto; width: 44px; height: 44px; border: 3px solid rgba(102, 112, 133, .2); border-top-color: var(--ot-primary, #2457d6); border-radius: 50%; animation: ot-checkout-spin .8s linear infinite; }
@keyframes ot-checkout-spin { to { transform: rotate(360deg); } }

:host .ot-cart { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 32px; align-items: start; }
:host .ot-cart-panel { min-width: 0; padding: 32px; border: 1px solid var(--ot-divider, rgba(102, 112, 133, .2)); border-radius: var(--ot-radius, 12px); background: var(--ot-surface, #fff); }
:host .ot-cart-title { margin-bottom: 28px; }
:host .ot-cart-title h2 { margin-bottom: 7px; }
:host .ot-cart-title p { margin: 0; color: var(--ot-muted, #667085); font-size: .9rem; }
:host .ot-cart-lines { margin: 0; padding: 0; list-style: none; }
:host .ot-cart-heading, :host .ot-cart-line { display: grid; grid-template-columns: minmax(180px, 1fr) 88px 126px 88px 28px; align-items: center; gap: 14px; }
:host .ot-cart.is-unit-price-hidden .ot-cart-heading, :host .ot-cart.is-unit-price-hidden .ot-cart-line { grid-template-columns: minmax(180px, 1fr) 126px 88px 28px; }
:host .ot-cart-heading { padding: 0 0 12px; border-bottom: 1px solid var(--ot-divider, rgba(102, 112, 133, .25)); color: var(--ot-muted, #667085); font-size: .72rem; font-weight: 750; letter-spacing: .045em; }
:host .ot-cart-heading-price, :host .ot-cart-heading-total, :host .ot-cart-unit-price, :host .ot-cart-line-total { text-align: right; }
:host .ot-cart-heading-quantity, :host .ot-cart-quantity { justify-self: center; }
:host .ot-cart-line { min-height: 98px; padding: 16px 0; border-bottom: 1px solid var(--ot-divider, rgba(102, 112, 133, .18)); }
:host .ot-checkout-product span { overflow: hidden; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
:host .ot-cart-unit-price, :host .ot-cart-line-total { font-size: .9rem; }
:host .ot-cart-quantity { display: grid; grid-template-columns: 32px 42px 32px; align-items: center; overflow: hidden; border: 1px solid var(--ot-divider, rgba(102, 112, 133, .35)); border-radius: calc(var(--ot-radius, 12px) * .65); background: var(--ot-surface, #fff); }
:host .ot-cart-quantity button { width: 32px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--ot-text, #17202a); cursor: pointer; font: inherit; font-size: 1rem; }
:host .ot-cart-quantity button:hover, :host .ot-cart-quantity button:focus-visible { background: rgba(102, 112, 133, .1); }
:host .ot-cart-quantity input { width: 42px; height: 36px; padding: 0; border: 0; border-right: 1px solid var(--ot-divider, rgba(102, 112, 133, .2)); border-left: 1px solid var(--ot-divider, rgba(102, 112, 133, .2)); background: var(--ot-surface, #fff); color: var(--ot-text, #17202a); font: inherit; text-align: center; }
:host .ot-cart-remove { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ot-muted, #667085); cursor: pointer; font: inherit; font-size: 1.2rem; line-height: 1; }
:host .ot-cart-remove:hover, :host .ot-cart-remove:focus-visible { background: #fff0f0; color: #b42318; }
:host .ot-cart-summary { position: sticky; top: 24px; padding: 28px; border: 1px solid var(--ot-divider, rgba(102, 112, 133, .2)); border-radius: var(--ot-radius, 12px); background: var(--ot-summary, #fff); }
:host .ot-cart-summary-row { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--ot-divider, rgba(102, 112, 133, .2)); }
:host .ot-cart-total { padding-top: 18px; border-bottom: 0; font-size: 1.08rem; }
:host .ot-cart-summary-note { margin: 0 0 20px; color: var(--ot-muted, #667085); font-size: .8rem; }
:host .ot-checkout-card, :host .ot-checkout-product-image { border-color: var(--ot-divider, rgba(102, 112, 133, .2)); }
:host [data-cart-checkout] { border: var(--ot-button-border-width, 0) solid var(--ot-button-border, var(--ot-primary, #2457d6)); border-radius: var(--ot-button-radius, 12px); background: var(--ot-button-bg, var(--ot-primary, #2457d6)); color: var(--ot-button-text, #fff); font-family: var(--ot-button-font, var(--ot-font, system-ui)), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; white-space: nowrap; }
:host .ot-cart-link { display: block; margin-top: 16px; color: var(--ot-link, #2457d6); font-family: var(--ot-link-font, var(--ot-font, system-ui)), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .88rem; font-weight: 650; text-align: center; text-decoration: none; }
:host .ot-cart-link:hover, :host .ot-cart-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
:host .ot-cart-empty { max-width: 620px; margin: 64px auto; text-align: center; }

@media (max-width: 820px) {
  ot-website-checkout, ot-website-cart, ot-website-thank-you { margin: 28px auto; }
  ot-website-checkout .ot-checkout-grid, :host .ot-cart { grid-template-columns: 1fr; gap: 24px; }
  ot-website-checkout .ot-checkout-fields { grid-template-columns: 1fr; }
  ot-website-checkout .ot-checkout-summary, :host .ot-cart-summary { position: static; }
  ot-website-checkout .ot-checkout-summary { order: -1; }
}
@media (max-width: 620px) {
  ot-website-checkout .ot-checkout-grid > .ot-checkout-card:first-child, :host .ot-cart-panel, :host .ot-cart-summary { padding: 22px 18px; }
  :host .ot-cart-heading { display: none; }
  :host .ot-cart-line { grid-template-columns: minmax(0, 1fr) 28px; gap: 12px; }
  :host .ot-checkout-product { grid-column: 1; grid-row: 1; }
  :host .ot-cart-remove { grid-column: 2; grid-row: 1; }
  :host .ot-cart-unit-price { display: none; }
  :host .ot-cart-quantity { grid-column: 1; grid-row: 2; justify-self: start; }
  :host .ot-cart-line-total { grid-column: 2; grid-row: 2; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  ot-website-checkout button, :host button { transition: none; }
  ot-website-checkout .ot-checkout-spinner { animation: none; }
}
