/* A focused purchase drawer. WooCommerce remains the source of cart truth. */
.aa-sidecart, .aa-sidecart * { box-sizing: border-box; }
.aa-sidecart[hidden] { display: none !important; }
.aa-sidecart { position: fixed; inset: 0; width: 100vw; z-index: 1000; display: flex; justify-content: flex-end; color: #282828; font-family: var(--aa-font-body); }
.aa-sidecart:not(.is-open) { pointer-events: none; }
.aa-sidecart__backdrop { position: absolute; inset: 0; background: rgba(26,26,26, .52); opacity: 0; transition: opacity .3s ease; }
.aa-sidecart__panel { position: relative; display: flex; width: min(100%, 500px); max-width: 100%; height: 100dvh; min-width: 0; min-height: 0; flex-direction: column; background: #fcfbf8; box-shadow: -16px 0 48px rgba(27,27,27, .14); outline: 0; transform: translate3d(100%, 0, 0); transition: transform .32s cubic-bezier(.22, 1, .36, 1); }
.aa-sidecart.is-open .aa-sidecart__backdrop { opacity: 1; }
.aa-sidecart.is-open .aa-sidecart__panel { transform: translate3d(0, 0, 0); }
body.aa-sidecart-open { overflow: hidden; }
html:has(body.aa-sidecart-open) { scrollbar-gutter: auto; }
.aa-sidecart__header { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 28px; border-bottom: 1px solid #dcdcdc; }
.aa-sidecart__eyebrow { margin: 0; color: #927452; font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.aa-sidecart__header h2 { margin: 0; color: #282828; font-family: var(--aa-font-display); font-size: 32px; font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.aa-sidecart__close { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 0; background: transparent; color: #333333; font-size: 31px; font-weight: 300; line-height: 1; cursor: pointer; }
.aa-sidecart__close:hover { background: #ededed; }
.aa-sidecart__status { position: relative; margin: 0; padding: 10px 28px; border-bottom: 1px solid #dcdcdc; border-left: 3px solid #949494; background: #efefef; color: #4d4d4d; font-size: 12px; font-weight: 600; line-height: 1.4; }
.aa-sidecart__status:empty { display: none; }
.aa-sidecart__status.is-pending { border-left-color: #ae8d62; background: #f3f1eb; color: #584b39; }
.aa-sidecart__status.is-pending::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: #ae8d62; content: ''; transform-origin: left; animation: aa-sidecart-working 1.1s ease-in-out infinite; }
.aa-sidecart__status.is-success { animation: aa-sidecart-feedback .22s ease-out both; }
.aa-sidecart__status.is-error { border-left-color: #a55b4b; background: #f8ece8; color: #8e4d3e; }
.aa-sidecart__contents.is-refreshed .aa-sidecart__items,
.aa-sidecart__contents.is-refreshed .aa-sidecart__delivery,
.aa-sidecart__contents.is-refreshed .aa-sidecart__offer,
.aa-sidecart__contents.is-refreshed .aa-sidecart__footer { animation: aa-sidecart-feedback .22s ease-out both; }
@keyframes aa-sidecart-feedback { from { opacity: .74; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes aa-sidecart-working { 0% { transform: scaleX(.08); opacity: .55; } 55% { transform: scaleX(.72); opacity: 1; } 100% { transform: scaleX(1); opacity: .55; } }
.aa-sidecart__contents { display: flex; min-width: 0; min-height: 0; flex: 1; flex-direction: column; }
.aa-sidecart__scroll { min-height: 0; flex: 1; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 8px 28px 24px; scrollbar-gutter: stable; }
.aa-sidecart__countline { margin: 10px 0 0; color: #707070; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.aa-sidecart__items { margin: 0; padding: 0; list-style: none; }
.aa-sidecart__item { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid #dcdcdc; }
.aa-sidecart__item-image { display: flex; height: 112px; align-items: center; justify-content: center; overflow: hidden; background: #f0f0f0; }
.aa-sidecart__item--tetraforce .aa-sidecart__item-image { border-top: 3px solid var(--aa-red, #df594a); }
.aa-sidecart__item-image img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.aa-sidecart__item-image--pair img { object-fit: cover; mix-blend-mode: normal; }
.aa-sidecart__item-main { position: relative; min-width: 0; }
.aa-sidecart__item-name { display: block; margin: 0 0 3px; padding-right: 53px; color: #282828; font-family: var(--aa-font-body); font-size: 16px; font-weight: 600; letter-spacing: .035em; line-height: 1.35; text-decoration: none; }
.aa-sidecart__item-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.aa-sidecart__item-size { display: block; color: #686868; font-size: 12px; line-height: 1.4; }
.aa-sidecart__item .variation { margin: 5px 0 0; color: #737373; font-size: 11px; }
.aa-sidecart__item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
.aa-sidecart__item-bottom > strong { font-size: 15px; white-space: nowrap; }
.aa-sidecart__quantity { display: inline-flex; height: 44px; align-items: center; border: 1px solid #cfcfcf; }
.aa-sidecart__quantity button { width: 40px; height: 42px; border: 0; border-radius: 0; background: transparent; color: #363636; font-size: 18px; line-height: 1; cursor: pointer; }
.aa-sidecart__quantity button:hover:not(:disabled) { background: #eaeaea; }
.aa-sidecart__quantity button:disabled { opacity: .32; cursor: not-allowed; }
.aa-sidecart__quantity > span { min-width: 23px; font-size: 12px; font-weight: 700; text-align: center; }
.aa-sidecart__remove { position: absolute; top: -5px; right: 0; min-height: 32px; margin: 0; padding: 4px 0; border: 0; border-radius: 0; background: transparent; color: #696969; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.aa-sidecart__remove:hover { color: #a15545; }
.aa-sidecart__delivery { margin: 20px 0 0; padding: 0; }
.aa-sidecart__delivery p { margin: 0 0 10px; color: #383838; font-size: 13px; font-weight: 600; line-height: 1.35; }
.aa-sidecart__delivery progress { display: block; width: 100%; height: 5px; appearance: none; border: 0; background: #e4e0da; }
.aa-sidecart__delivery progress::-webkit-progress-bar { background: #e4e0da; }
.aa-sidecart__delivery progress::-webkit-progress-value { background: #a27e50; }
.aa-sidecart__delivery progress::-moz-progress-bar { background: #a27e50; }
.aa-sidecart__delivery .aa-sidecart__delivery-method { margin: 9px 0 0; color: #626262; font-size: 11px; font-weight: 600; line-height: 1.4; }
.aa-sidecart__delivery-method .amount { white-space: nowrap; }
.aa-sidecart__delivery small { display: block; margin-top: 4px; color: #737373; font-size: 11px; line-height: 1.4; }
.aa-sidecart__offer { margin: 24px 0 0; padding: 18px; border: 1px solid #d8d8d8; background: #f5f3ed; }
.aa-sidecart__offer--tetraforce { border-left: 3px solid var(--aa-red, #df594a); }
.aa-sidecart__offer--tetraforce > .aa-sidecart__eyebrow { color: var(--aa-red-dark, #963d33); }
.aa-sidecart__offer > .aa-sidecart__eyebrow { margin-bottom: 13px; }
.aa-sidecart__offer-product { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 13px; align-items: center; }
.aa-sidecart__offer-product > a { display: block; height: 80px; background: #ecece7; }
.aa-sidecart__offer-product img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.aa-sidecart__offer-product strong { font-family: var(--aa-font-display); font-size: 20px; font-weight: 400; }
.aa-sidecart__offer-product p, .aa-sidecart__offer-intro { margin: 5px 0 0; color: #686868; font-size: 11px; line-height: 1.45; }
.aa-sidecart__offer-delivery { margin: 13px 0 0; color: #464646; font-size: 11px; font-weight: 700; line-height: 1.4; }
.aa-sidecart__offer-action { display: flex; width: 100%; min-height: 43px; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding: 10px 13px; border: 1px solid #383838; border-radius: 0; background: transparent; color: #383838; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.aa-sidecart__offer-action:hover { background: #383838; color: #fff; }
.aa-sidecart__offer-action, .aa-sidecart__choice-buy button, .aa-sidecart__checkout, .aa-sidecart__empty-link { transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.aa-sidecart__choices { display: grid; gap: 9px; margin-top: 14px; }
.aa-sidecart__choice { display: grid; min-width: 0; grid-template-columns: 75px minmax(0, 1fr); column-gap: 13px; row-gap: 8px; padding: 10px; border: 1px solid rgba(58,58,58, .12); }
.aa-sidecart__choice--cerafx { background: #f1e9e6; }
.aa-sidecart__choice--hydralite { background: #e7edf0; }
.aa-sidecart__choice-image { display: flex; height: 79px; align-items: center; justify-content: center; overflow: hidden; background: rgba(255, 255, 255, .34); }
.aa-sidecart__choice-image img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.aa-sidecart__choice-copy { min-width: 0; align-self: center; }
.aa-sidecart__choice-copy strong { display: block; color: #323232; font-family: var(--aa-font-display); font-size: 21px; font-weight: 400; line-height: 1.1; }
.aa-sidecart__choice-copy small { display: block; margin-top: 4px; color: #5e5e5e; font-size: 11px; line-height: 1.3; }
.aa-sidecart__choice-copy a { display: inline-block; margin-top: 8px; color: #464646; font-size: 10px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.aa-sidecart__choice-buy { display: flex; grid-column: 1 / -1; min-height: 37px; align-items: center; justify-content: space-between; gap: 9px; padding-top: 8px; border-top: 1px solid rgba(58,58,58, .14); }
.aa-sidecart__choice-price { color: #323232; font-size: 14px; font-weight: 700; white-space: nowrap; }
.aa-sidecart__choice-price del { margin-right: 4px; color: #7d7d7d; font-size: 11px; font-weight: 400; }
.aa-sidecart__choice-price ins { text-decoration: none; }
.aa-sidecart__choice-buy button { display: inline-flex; min-width: 91px; min-height: 34px; align-items: center; justify-content: space-between; gap: 9px; padding: 6px 9px 6px 12px; border: 1px solid #383838; border-radius: 0; background: #383838; color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
.aa-sidecart__choice-buy button:hover { background: #505050; border-color: #505050; }
.aa-sidecart__choice-buy button span { font-size: 17px; font-weight: 400; line-height: 1; }
.aa-sidecart__footer { flex: 0 0 auto; width: 100%; padding: 18px 28px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #dbdbdb; background: #fcfbf8; box-shadow: 0 -9px 25px rgba(40,40,40, .045); }
.aa-sidecart__subtotal { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: #333; font-size: 14px; font-weight: 500; line-height: 1.35; }
.aa-sidecart__subtotal strong { color: #282828; font-size: 23px; white-space: nowrap; }
.aa-sidecart__checkout { display: grid; grid-template-columns: 20px minmax(0, 1fr) 20px; min-height: 56px; align-items: center; gap: 12px; padding: 14px 18px; background: #202020; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1.3; text-align: center; text-decoration: none; text-transform: uppercase; }
.aa-sidecart__checkout:hover { background: #505050; color: #fff; }
.aa-sidecart__checkout > span:last-child { font-size: 20px; font-weight: 400; line-height: 1; }
.aa-sidecart__checkout svg { width: 18px; height: 18px; }
.aa-sidecart__subtotal small { display: block; margin-top: 3px; color: #737373; font-size: 11px; font-weight: 400; }
.aa-sidecart__checkout-note { margin: 8px 0 0; color: #707070; font-size: 11px; line-height: 1.35; text-align: center; }
.aa-sidecart__view-bag { display: block; width: fit-content; min-height: 30px; margin: 4px auto 0; color: #545454; font-size: 11px; font-weight: 700; line-height: 30px; text-decoration: underline; text-underline-offset: 3px; }
.aa-sidecart__empty { padding: 70px 8px; text-align: center; }
.aa-sidecart__empty h3 { margin: 13px 0 12px; font-family: var(--aa-font-display); font-size: 40px; font-weight: 400; letter-spacing: -.04em; line-height: 1.1; }
.aa-sidecart__empty > p:not(.aa-sidecart__eyebrow) { color: #6e6e6e; font-size: 14px; }
.aa-sidecart__empty-link { display: flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding: 12px 17px; background: #323232; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-align: left; text-decoration: none; text-transform: uppercase; }
.aa-sidecart button:focus-visible, .aa-sidecart a:focus-visible { outline: 3px solid #ae8755; outline-offset: 2px; }
.aa-sidecart button:disabled { cursor: wait; }

/* Drawer-specific components never depend on full-cart styles. */
.aa-sidecart__close svg { width: 24px; height: 24px; }
.aa-sidecart__item .variation dt { float: none; font-weight: 500; }
.aa-sidecart__item .variation dd, .aa-sidecart__item .variation p { margin: 0; }
.aa-sidecart__item .variation { line-height: 1.4; }
.aa-sidecart__bundle { margin-top: 20px; padding: 16px; border: 1px solid #dfd8cf; background: #f4f0e9; }
.aa-sidecart__bundle--tetraforce { border-right: 3px solid var(--aa-red, #df594a); }
.aa-sidecart__bundle-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.aa-sidecart__bundle-heading .aa-sidecart__eyebrow { color: #6e583e; font-size: 10px; font-weight: 600; letter-spacing: .08em; }
.aa-sidecart__bundle-heading > span { flex: none; padding: 4px 7px; background: #e7dfd2; color: #5b482e; font-size: 11px; font-weight: 600; line-height: 1.3; }
.aa-sidecart__bundle-product { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 14px; align-items: center; }
.aa-sidecart__bundle-product > a { display: block; height: 64px; background: #fff9; }
.aa-sidecart__bundle-product img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.aa-sidecart__bundle-product strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: .025em; line-height: 1.4; }
.aa-sidecart__bundle-product strong span { display: inline-block; color: #6b655e; font-size: 12px; font-weight: 400; }
.aa-sidecart__bundle-product p { margin: 5px 0 0; color: #686159; font-size: 12px; line-height: 1.45; }
.aa-sidecart__bundle-price { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 11px 0 10px; color: #686159; font-size: 12px; line-height: 1.4; }
.aa-sidecart__bundle-price strong { color: #282828; font-size: 16px; white-space: nowrap; }
.aa-sidecart__bundle .aa-bundle-form { margin: 0; }
.aa-sidecart__bundle .aa-bundle-form button { min-height: 46px; gap: 12px; padding: 10px 12px; border: 1px solid #8f8372; background: transparent; color: #282828; font: 600 12px/1.4 var(--aa-font-body); letter-spacing: .025em; cursor: pointer; }
.aa-sidecart__bundle .aa-bundle-form button:hover { background: #e8e0d4; border-color: #645744; }
.aa-sidecart__bundle-shipping { margin: 9px 0 0; color: #686159; font-size: 11px; line-height: 1.4; }
.aa-sidecart__contents.is-refreshed .aa-sidecart__bundle { animation: aa-sidecart-feedback .22s ease-out both; }

@media (max-width: 520px) {
  .aa-sidecart__header { min-height: 70px; padding: 10px 20px; }
  .aa-sidecart__header h2 { font-size: 30px; }
  .aa-sidecart__scroll { padding: 4px 20px 20px; scrollbar-gutter: auto; }
  .aa-sidecart__footer { padding: 14px 20px calc(8px + env(safe-area-inset-bottom)); }
  .aa-sidecart__status { padding-inline: 20px; }
  .aa-sidecart__item { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding-block: 15px; }
  .aa-sidecart__item-image { height: 105px; }
  .aa-sidecart__item-name { font-size: 15px; }
}
@media (max-width: 360px) {
  .aa-sidecart__header, .aa-sidecart__scroll, .aa-sidecart__footer { padding-inline: 16px; }
  .aa-sidecart__bundle { padding: 14px; }
  .aa-sidecart__bundle-heading { gap: 6px; }
  .aa-sidecart__bundle-heading .aa-sidecart__eyebrow { max-width: 145px; }
  .aa-sidecart__checkout { gap: 7px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .aa-sidecart__backdrop, .aa-sidecart__panel,
  .aa-sidecart__offer-action, .aa-sidecart__choice-buy button,
  .aa-sidecart__checkout, .aa-sidecart__empty-link { transition: none; }
  .aa-sidecart__status.is-pending::after,
  .aa-sidecart__status.is-success,
  .aa-sidecart__contents.is-refreshed .aa-sidecart__items,
  .aa-sidecart__contents.is-refreshed .aa-sidecart__delivery,
  .aa-sidecart__contents.is-refreshed .aa-sidecart__offer,
  .aa-sidecart__contents.is-refreshed .aa-sidecart__footer,
  .aa-sidecart__contents.is-refreshed .aa-sidecart__bundle { animation: none; }
}
