@charset "UTF-8";
/**
 * Cart Button widget styles.
 *
 * Edit this .scss only — the watcher compiles the .css / .css.map companions.
 */
/* The badge offsets are driven by Style controls; negative values push it outside the icon block */
/* ---------------------------------------------------------------------------
 * Root / trigger
 * ------------------------------------------------------------------------- */
.trx-wcext-cart-button-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

/* The trigger is a plain link, not a button (no background/border by default) */
.trx-wcext-cart-button-trigger {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  box-sizing: border-box;
  gap: 8px;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  line-height: 1.2;
  text-decoration: none;
  color: inherit;
  transition: color .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.trx-wcext-cart-button-trigger:hover, .trx-wcext-cart-button-trigger:focus {
  text-decoration: none;
}

/* "Icon Position": start / end are already the markup order, only the stacked variant needs a rule */
.trx-wcext-cart-button-iconpos-top .trx-wcext-cart-button-trigger {
  flex-direction: column;
  justify-content: center;
}

/* Editor-only note shown when both the icon and the text are empty */
.trx-wcext-cart-button-placeholder {
  display: inline-block;
  opacity: .6;
  font-style: italic;
}

/* ---------------------------------------------------------------------------
 * Icon block + count badge
 * ------------------------------------------------------------------------- */
.trx-wcext-cart-button-trigger-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.trx-wcext-cart-button-trigger-icon-wrap .trx-wcext-icon {
  position: relative;
  display: inline-flex;
  line-height: 1;
  font-size: 1.5em;
}
.trx-wcext-cart-button-trigger-icon-wrap .trx-wcext-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/*
 * The badge grows sideways only: the height is fixed to --badge-size, the width starts there and
 * is stretched by the horizontal padding as the number gains digits.
 */
.trx-wcext-cart-button-badge {
  position: absolute;
  top: var(--trx-wcext-cart-button-badge-offset-y, -6px);
  right: var(--trx-wcext-cart-button-badge-offset-x, -6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: var(--trx-wcext-cart-button-badge-size, 18px);
  min-height: var(--trx-wcext-cart-button-badge-size, 18px);
  padding: 0 var(--trx-wcext-cart-button-badge-padding-x, 4px);
  border-radius: 999px;
  background-color: #232323;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}
.trx-wcext-cart-button-badge[hidden] {
  display: none;
}

/* "Corner": the class comes from the badge_corner control's prefix_class */
.trx-wcext-cart-button-badge-at-top-start .trx-wcext-cart-button-badge {
  top: var(--trx-wcext-cart-button-badge-offset-y, -6px);
  bottom: auto;
  left: var(--trx-wcext-cart-button-badge-offset-x, -6px);
  right: auto;
}

.trx-wcext-cart-button-badge-at-top-end .trx-wcext-cart-button-badge {
  top: var(--trx-wcext-cart-button-badge-offset-y, -6px);
  bottom: auto;
  right: var(--trx-wcext-cart-button-badge-offset-x, -6px);
  left: auto;
}

.trx-wcext-cart-button-badge-at-bottom-start .trx-wcext-cart-button-badge {
  bottom: var(--trx-wcext-cart-button-badge-offset-y, -6px);
  top: auto;
  left: var(--trx-wcext-cart-button-badge-offset-x, -6px);
  right: auto;
}

.trx-wcext-cart-button-badge-at-bottom-end .trx-wcext-cart-button-badge {
  bottom: var(--trx-wcext-cart-button-badge-offset-y, -6px);
  top: auto;
  right: var(--trx-wcext-cart-button-badge-offset-x, -6px);
  left: auto;
}

/* ---------------------------------------------------------------------------
 * Text block
 * ------------------------------------------------------------------------- */
.trx-wcext-cart-button-trigger-text {
  display: inline-flex;
  flex-direction: column;
  box-sizing: border-box;
}

.trx-wcext-cart-button-trigger-line {
  display: block;
}

/* ---------------------------------------------------------------------------
 * Panel (portaled to <body>)
 * ------------------------------------------------------------------------- */
.trx-wcext-cart-button-panel {
  position: fixed;
  inset: 0;
  z-index: 99999;
}
.trx-wcext-cart-button-panel[hidden] {
  display: none;
}

.trx-wcext-cart-button-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity var(--trx-wcext-cart-button-duration, 350ms) ease;
}

.trx-wcext-cart-button-dialog {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: Min(var(--trx-wcext-cart-button-width, 340px), 100vw);
  height: 100vh;
  height: 100dvh;
  /* the mobile address bar must not cut the footer off */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  /* the Padding control must not push the panel past its own Width */
  font-size: 14px;
  background-color: #fff;
  transform: translateX(100%);
  transition: transform var(--trx-wcext-cart-button-duration, 350ms) ease;
  overflow: hidden;
}

.trx-wcext-cart-button-panel-pos-left .trx-wcext-cart-button-dialog {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

.trx-wcext-cart-button-panel-open .trx-wcext-cart-button-overlay {
  opacity: 1;
}
.trx-wcext-cart-button-panel-open .trx-wcext-cart-button-dialog {
  transform: translateX(0);
}

/* Header: title + close block */
.trx-wcext-cart-button-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 20px;
}

.trx-wcext-cart-button-title {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
}

.trx-wcext-cart-button-title-badge {
  --trx-wcext-cart-button-title-badge-size: 18px;
  --trx-wcext-cart-button-title-badge-offset-x: calc( -1 * var(--trx-wcext-cart-button-title-badge-size) );
  --trx-wcext-cart-button-title-badge-offset-y: calc( -1 * var(--trx-wcext-cart-button-title-badge-size) / 2 );
  --trx-wcext-cart-button-title-badge-padding-x: 5px;
  position: absolute;
  top: var(--trx-wcext-cart-button-title-badge-offset-y);
  right: var(--trx-wcext-cart-button-title-badge-offset-x);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: var(--trx-wcext-cart-button-title-badge-size);
  height: var(--trx-wcext-cart-button-title-badge-size);
  padding: 0 var(--trx-wcext-cart-button-title-badge-padding-x);
  border-radius: 999px;
  background-color: #232323;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.trx-wcext-cart-button-close {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  cursor: pointer;
  line-height: 1;
}
.trx-wcext-cart-button-close .trx-wcext-cart-button-close-icon {
  display: inline-flex;
  line-height: 1;
}
.trx-wcext-cart-button-close .trx-wcext-cart-button-close-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* Body: the list scrolls, the header and the footer stay put */
.trx-wcext-cart-button-body {
  flex: 1 1 auto;
  box-sizing: border-box;
  overflow-y: auto;
  /* Reaching the end of the list must not start scrolling the page behind the panel */
  overscroll-behavior: contain;
  padding: 0 20px;
}

/* margin-top keeps the footer pinned to the bottom while the list is short */
.trx-wcext-cart-button-footer {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  box-sizing: border-box;
  gap: 16px;
  margin-top: auto;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.trx-wcext-cart-button-footer:empty {
  display: none;
}

.trx-wcext-cart-button-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.trx-wcext-cart-button-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* "Inline": the two buttons share the row evenly */
.trx-wcext-cart-button-actions-inline {
  flex-direction: row;
}
.trx-wcext-cart-button-actions-inline .trx-wcext-cart-button-action {
  flex: 1 1 0;
  min-width: 0;
}

.trx-wcext-cart-button-action {
  display: block;
  box-sizing: border-box;
  padding: 12px 20px;
  border: 1px solid currentColor;
  color: inherit;
  text-align: center;
  text-decoration: none;
}
.trx-wcext-cart-button-action:hover, .trx-wcext-cart-button-action:focus {
  text-decoration: none;
}

/* The dark button of the design; both are fully restylable */
.trx-wcext-cart-button-action-checkout {
  border-color: #232323;
  background-color: #232323;
  color: #fff;
}

/* ---------------------------------------------------------------------------
 * Empty state
 * ------------------------------------------------------------------------- */
.trx-wcext-cart-button-body-empty {
  display: flex;
  flex-direction: column;
}

.trx-wcext-cart-button-empty {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 20px;
  padding: 20px 0;
  text-align: center;
}

.trx-wcext-cart-button-empty-text p {
  margin: 0;
}

.trx-wcext-cart-button-empty-button {
  display: inline-block;
  box-sizing: border-box;
  padding: 12px 24px;
  border: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
}
.trx-wcext-cart-button-empty-button:hover, .trx-wcext-cart-button-empty-button:focus {
  text-decoration: none;
}

/* ---------------------------------------------------------------------------
 * Item rows
 * ------------------------------------------------------------------------- */
/*
 * Flex rather than a fixed three-column grid: the image and the whole side column are optional,
 * and a grid template would leave their tracks behind once they are switched off.
 */
.trx-wcext-cart-button-item {
  display: flex;
  align-items: flex-start;
  column-gap: 16px;
  padding: 16px 0;
  border-bottom: var(--trx-wcext-cart-button-divider-width, 1px) var(--trx-wcext-cart-button-divider-style, solid) var(--trx-wcext-cart-button-divider-color, rgba(0, 0, 0, 0.1));
  /* The last row is flush with the footer; the "Show After the Last Row" switcher puts it back */
}
.trx-wcext-cart-button-item:last-child {
  border-bottom: 0;
}

.trx-wcext-cart-button-item-image {
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: var(--trx-wcext-cart-button-item-image-width, 70px);
  overflow: hidden;
}
.trx-wcext-cart-button-item-image img {
  display: block;
  width: 100%;
  height: var(--trx-wcext-cart-button-item-image-height, auto);
  object-fit: cover;
}

/* min-width: 0 lets a long title wrap instead of stretching the row */
.trx-wcext-cart-button-item-details {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

/* The title element is whatever tag was chosen; the product link lives inside it */
.trx-wcext-cart-button-item-title {
  margin: 0;
  color: inherit;
}
.trx-wcext-cart-button-item-title a {
  color: inherit;
  text-decoration: none;
}
.trx-wcext-cart-button-item-title a:hover, .trx-wcext-cart-button-item-title a:focus {
  text-decoration: none;
}

.trx-wcext-cart-button-item-side {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  align-self: stretch;
  gap: 8px;
  text-align: right;
}

/* Like the title, the price element is whatever tag was chosen */
.trx-wcext-cart-button-item-price {
  margin: 0;
}

.trx-wcext-cart-button-item-remove {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  gap: 6px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.trx-wcext-cart-button-item-remove:hover, .trx-wcext-cart-button-item-remove:focus {
  text-decoration: none;
}
.trx-wcext-cart-button-item-remove .trx-wcext-cart-button-item-remove-icon {
  display: inline-flex;
  line-height: 1;
}
.trx-wcext-cart-button-item-remove .trx-wcext-cart-button-item-remove-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.trx-wcext-cart-button-item-qty {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  gap: 6px;
}

.trx-wcext-cart-button-item-qty-input {
  box-sizing: border-box;
  min-width: 3em;
  max-width: 100px;
  width: unset;
  field-sizing: content;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}
.trx-wcext-cart-button-item-qty-input::-webkit-outer-spin-button, .trx-wcext-cart-button-item-qty-input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.trx-wcext-cart-button-item-qty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 18px;
  min-height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: none;
  padding: 0;
  cursor: pointer;
  color: #333;
  line-height: 1;
  /* The step that would take the row past its bounds; the script keeps this in sync */
}
.trx-wcext-cart-button-item-qty-button:hover, .trx-wcext-cart-button-item-qty-button:focus {
  border-color: #333;
  background: #333;
  color: #fff;
}
.trx-wcext-cart-button-item-qty-button[disabled] {
  opacity: .4;
  cursor: default;
}

/* ---------------------------------------------------------------------------
 * Busy states and notices
 * ------------------------------------------------------------------------- */
/* A row waiting for its answer keeps its contents but takes no further clicks */
.trx-wcext-cart-button-item-loading {
  opacity: .5;
  pointer-events: none;
}

.trx-wcext-cart-button-panel-loading .trx-wcext-cart-button-body {
  pointer-events: none;
}
.trx-wcext-cart-button-panel-loading .trx-wcext-cart-button-loader {
  display: block;
}

/* Sits over the dialog, so a slow answer cannot be raced by a second click */
.trx-wcext-cart-button-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-top-color: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  animation: trx-wcext-cart-button-spin 0.8s linear infinite;
}

@keyframes trx-wcext-cart-button-spin {
  to {
    transform: rotate(360deg);
  }
}
.trx-wcext-cart-button-notices {
  flex: 0 0 auto;
  padding: 0 20px 12px;
}
.trx-wcext-cart-button-notices:empty {
  display: none;
}

.trx-wcext-cart-button-notice {
  padding: 8px 12px;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.05);
  font-size: 13px;
}
.trx-wcext-cart-button-notice + .trx-wcext-cart-button-notice {
  margin-top: 6px;
}

.trx-wcext-cart-button-notice-error {
  background-color: rgba(200, 40, 40, 0.1);
  color: #c82828;
}

/* Scroll lock while the panel is open */
body.trx-wcext-cart-button-locked {
  overflow: hidden;
}

/* ---------------------------------------------------------------------------
 * Responsive / motion
 * ------------------------------------------------------------------------- */
@media (max-width: 479px) {
  .trx-wcext-cart-button-dialog {
    width: 100vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .trx-wcext-cart-button-dialog,
  .trx-wcext-cart-button-overlay {
    transition: none;
  }

  .trx-wcext-cart-button-loader {
    animation: none;
  }
}

/*# sourceMappingURL=cart-button-elementor.css.map */
