.roichamps-mini-cart-wrapper {
  position: relative;
  display: inline-block;
  /* Elementor global accent; fallback matches theme token default #BC0203 */
  --roichamps-cart-accent: var(--e-global-color-47835ed, #BC0203);
  --roichamps-cart-accent-hover: color-mix(in srgb, var(--roichamps-cart-accent) 82%, #000);
  --roichamps-cart-accent-shadow: color-mix(
    in srgb,
    var(--roichamps-cart-accent) 35%,
    transparent
  );
  --roichamps-cart-accent-ring: color-mix(
    in srgb,
    var(--roichamps-cart-accent) 22%,
    transparent
  );
}

.roichamps-mini-cart-trigger:after {
  bottom: 100%;
  margin-bottom: 0;
  height: 0.8em;
  width: 0.8em;
  left: 50%;
  transform: translateX(-50%);
  top: -0.6em;
  content: " ";
  color: var(--roichamps-cart-accent);
  position: absolute;
  pointer-events: none;
  border-width: 2px;
  border-style: solid;
  border-top-left-radius: 10em;
  border-top-right-radius: 10em;
  border-bottom: 0;
}

.roichamps-mini-cart-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--roichamps-cart-accent);
  cursor: pointer;
  padding: 12px;
  border-color: var(--roichamps-cart-accent);
  transition: all 0.3s ease;
  border-width: 1px 1px 1px 1px;
  color: #fff;
  width: 20px;
  border-radius: 0em 0em 0.3em 0.3em;
  height: 20px;
  min-width: 20px;
}

.roichamps-mini-cart-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--roichamps-cart-accent-shadow);
}

/* Sidebar Overlay */
.roichamps-cart-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9998;
  backdrop-filter: blur(4px);
}

.roichamps-mini-cart-wrapper.active .roichamps-cart-sidebar-overlay {
  opacity: 1;
  visibility: visible;
}

/* Sidebar */
.roichamps-cart-sidebar {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.roichamps-mini-cart-wrapper.active .roichamps-cart-sidebar {
  right: 0;
}

.roichamps-cart-sidebar-left {
  right: auto;
  left: -450px;
}

.roichamps-mini-cart-wrapper.active .roichamps-cart-sidebar-left {
  left: 0;
}

/* Header */
.roichamps-cart-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.roichamps-cart-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.roichamps-cart-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.roichamps-cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 10px;
  background: var(--roichamps-cart-accent);
  color: #fff;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.roichamps-cart-header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.roichamps-clear-all {
  color: var(--roichamps-cart-accent);
  text-decoration: underline;
  font-size: 14px;
  transition: color 0.2s ease;
}

.roichamps-clear-all:hover {
  color: var(--roichamps-cart-accent-hover);
  text-decoration: underline;
}

.roichamps-cart-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.roichamps-cart-close:hover {
  color: var(--roichamps-cart-accent);
}

/* Cart Items */
.roichamps-cart-sidebar-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 25px;
}

.roichamps-cart-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.roichamps-cart-item:last-child {
  border-bottom: none;
}

.roichamps-cart-item-thumbnail {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.roichamps-cart-item-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roichamps-cart-item-details {
  flex: 1;
  min-width: 0;
}

.roichamps-cart-item-title {
  margin: 0 0 8px 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: #333;
}

.roichamps-cart-item-title a {
  color: #333;
  text-decoration: none;
}

.roichamps-cart-item-title a:hover {
  color: var(--roichamps-cart-accent);
}

.roichamps-cart-item-quantity-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 15px;
}

/* Quantity Selector */
.roichamps-quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.roichamps-qty-minus,
.roichamps-qty-plus {
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  transition: background 0.2s ease;
}

.roichamps-qty-minus:hover,
.roichamps-qty-plus:hover {
  background: #e0e0e0;
}

.roichamps-qty-input {
  width: 50px;
  height: 32px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background: #fff;
  padding: 0;
  -moz-appearance: textfield;
}

.roichamps-qty-input::-webkit-outer-spin-button,
.roichamps-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.roichamps-cart-item-price {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.roichamps-cart-item-remove {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
  align-self: center;
  margin-top: 5px;
}

.roichamps-cart-item-remove:hover {
  color: #ff4444;
  background-color: transparent !important;
}

/* Empty Cart */
.roichamps-cart-empty {
  text-align: center;
  padding: 60px 20px;
}

.roichamps-cart-empty p {
  margin: 0 0 20px 0;
  color: #666;
  font-size: 16px;
}

.roichamps-shop-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--roichamps-cart-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.roichamps-shop-btn:hover {
  background: var(--roichamps-cart-accent-hover);
  color: #fff;
  text-decoration: none;
}

/* Coupon Code */
.roichamps-cart-coupon {
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.roichamps-coupon-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.roichamps-coupon-input:focus {
  outline: none;
  border-color: var(--roichamps-cart-accent);
}

.roichamps-coupon-apply {
  padding: 12px 24px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.roichamps-coupon-apply:hover {
  background: #e0e0e0;
  border-color: #ccc;
}

/* Order Summary */
.roichamps-cart-summary {
  padding: 20px 25px;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.roichamps-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  color: #666;
}

.roichamps-cart-summary-row:last-child {
  margin-bottom: 0;
}

.roichamps-cart-total {
  font-size: 18px;
  color: #333;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
}

.roichamps-summary-value {
  font-weight: 600;
  color: #333;
}

.roichamps-cart-total .roichamps-summary-value {
  font-weight: 700;
  font-size: 20px;
}

/* Action Buttons */
.roichamps-cart-actions {
  padding: 20px 25px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-shrink: 0;
}

.roichamps-view-cart-btn,
.roichamps-checkout-btn {
  width: 100%;
  padding: 14px 24px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: block;
}

.roichamps-view-cart-btn {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
}

.roichamps-view-cart-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
  text-decoration: none;
  color: #333;
}

.roichamps-checkout-btn {
  background: var(--roichamps-cart-accent);
  color: #fff;
  border: 1px solid var(--roichamps-cart-accent);
}

.roichamps-checkout-btn:hover {
  background: var(--roichamps-cart-accent-hover);
  border-color: var(--roichamps-cart-accent-hover);
  text-decoration: none;
  color: #fff;
}

/* Scrollbar */
.roichamps-cart-sidebar-items::-webkit-scrollbar {
  width: 6px;
}

.roichamps-cart-sidebar-items::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.roichamps-cart-sidebar-items::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.roichamps-cart-sidebar-items::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Responsive */
@media (max-width: 768px) {
  .roichamps-cart-sidebar {
    width: 100vw;
    max-width: 100vw;
    right: -100vw;
  }

  .roichamps-mini-cart-wrapper.active .roichamps-cart-sidebar {
    right: 0;
  }

  .roichamps-cart-sidebar-left {
    left: -100vw;
  }

  .roichamps-mini-cart-wrapper.active .roichamps-cart-sidebar-left {
    left: 0;
  }
}

/* Loading States */
.roichamps-cart-sidebar-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roichamps-cart-sidebar-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #f0f0f0;
  border-top-color: var(--roichamps-cart-accent);
  border-radius: 50%;
  animation: roichamps-spin 0.8s linear infinite;
  z-index: 101;
}

/* Loading state on cart item - shows spinner on thumbnail */
.roichamps-cart-item.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.roichamps-cart-item.loading .roichamps-cart-item-thumbnail {
  position: relative;
  overflow: hidden;
}

.roichamps-cart-item.loading .roichamps-cart-item-thumbnail::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roichamps-cart-item.loading .roichamps-cart-item-thumbnail::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 3px solid var(--roichamps-cart-accent-ring);
  border-top-color: var(--roichamps-cart-accent);
  border-radius: 50%;
  animation: roichamps-spin 0.8s linear infinite;
  z-index: 11;
}

/* Loading state on remove button */
.roichamps-cart-item-remove.loading {
  opacity: 0.5;
  pointer-events: none;
  position: relative;
}

.roichamps-cart-item-remove.loading svg {
  opacity: 0;
}

.roichamps-cart-item-remove.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 68, 68, 0.2);
  border-top-color: #ff4444;
  border-radius: 50%;
  animation: roichamps-spin 0.6s linear infinite;
}

/* Loading state on cart item */
.roichamps-cart-item.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.roichamps-cart-item.removing {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

/* Loading state on trigger */
.roichamps-mini-cart-trigger.loading {
  position: relative;
  color: transparent;
}

.roichamps-mini-cart-trigger.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: roichamps-spin 0.6s linear infinite;
}

/* Spinner animation */
@keyframes roichamps-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Position relative for loading indicators */
.roichamps-quantity-selector {
  position: relative;
}

.roichamps-cart-item {
  transition: opacity 0.3s ease;
}

/* Loading state on coupon apply button */
.roichamps-coupon-apply.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
  color: transparent;
}

.roichamps-coupon-apply.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid rgba(51, 51, 51, 0.2);
  border-top-color: #333;
  border-radius: 50%;
  animation: roichamps-spin 0.6s linear infinite;
}

/* Smooth transitions for loading states */
.roichamps-qty-minus,
.roichamps-qty-plus,
.roichamps-cart-item-remove,
.roichamps-coupon-apply {
  transition: opacity 0.2s ease;
}

/* -------------------------------------------------------------------------
   Variable product â€œchoose optionsâ€ drawer (inside mini cart sidebar)
   ------------------------------------------------------------------------- */

.roichamps-variable-drawer-host {
  position: absolute;
  inset: 0;
  z-index: 200;
  background: #fff;
  overflow-y: auto;
  display: none;
  -webkit-overflow-scrolling: touch;
}

.roichamps-variable-drawer-host.is-open {
  display: block;
}

.roichamps-variable-drawer-host.is-loading {
  pointer-events: none;
}

.roichamps-variable-drawer {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 0 24px;
}

.roichamps-variable-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px 16px;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.roichamps-variable-drawer__title-text {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
}

.roichamps-variable-drawer__close {
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  padding: 0 4px;
}

.roichamps-variable-drawer__close:hover {
  color: var(--roichamps-cart-accent);
}

.roichamps-variable-drawer__product {
  display: flex;
  gap: 16px;
  padding: 20px 25px;
  border-bottom: 1px solid #f0f0f0;
}

.roichamps-variable-drawer__media {
  flex-shrink: 0;
  width: 88px;
}

.roichamps-variable-drawer__img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 8px;
  background: #fafafa;
}

.roichamps-variable-drawer__summary {
  min-width: 0;
  flex: 1;
}

.roichamps-variable-drawer__sku {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

.roichamps-variable-drawer__product-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  margin-bottom: 8px;
}

.roichamps-variable-drawer__price-wrap {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.roichamps-variable-drawer__price-wrap .woocommerce-Price-amount {
  font-weight: 700;
}

.roichamps-variable-drawer__details-link {
  font-size: 14px;
  color: var(--roichamps-cart-accent);
  text-decoration: underline;
}

.roichamps-variable-drawer__details-link:hover {
  color: var(--roichamps-cart-accent-hover);
}

.roichamps-variable-drawer__form-wrap {
  padding: 20px 25px 0;
}

/* -------------------------------------------------------------------------
   Drawer: replace variations <table> layout with stacked â€œoption groupsâ€
   (label â†’ pills â†’ Clear), matching choose-options reference UI.
   ------------------------------------------------------------------------- */

.roichamps-variable-drawer table.variations {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.roichamps-variable-drawer table.variations tbody {
  display: block;
  background: transparent;
}

.roichamps-variable-drawer table.variations tr {
  display: block;
  width: 100%;
  background: #fff;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.roichamps-variable-drawer table.variations tr:last-child {
  margin-bottom: 0;
}

.roichamps-variable-drawer table.variations th.label {
  display: block;
  width: 100%;
  padding: 0 0 12px;
  text-align: left;
  background: #fff;
  border: 0;
  vertical-align: top;
}

.roichamps-variable-drawer table.variations th.label label {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: #111;
  letter-spacing: 0.02em;
  cursor: default;
}

.roichamps-variable-drawer table.variations td.value {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: #fff;
  width: 100%;
  padding: 0;
  border: 0;
  vertical-align: top;
}

/* Fallback: native select when pills did not initialize */
.roichamps-variable-drawer table.variations select:not(.roichamps-variation-pills__select) {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 14px;
  background: #fff;
}

/* Pill row: equal-ish chips, wrap on small widths */
.roichamps-variable-drawer form.variations_form .roichamps-variation-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  width: 100%;
}

.roichamps-variable-drawer form.variations_form .roichamps-variation-pills__btn {
  flex: 1 1 calc(50% - 6px);
  min-width: min(100%, 132px);
  margin: 0;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid #c8c8c8;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.roichamps-variable-drawer form.variations_form .roichamps-variation-pills__btn:hover:not(:disabled) {
  border-color: #999;
}

.roichamps-variable-drawer form.variations_form .roichamps-variation-pills__btn.is-selected {
  border-width: 2px;
  padding: 11px 13px;
  border-color: #2a2a2a;
  box-shadow: none;
}

.roichamps-variable-drawer form.variations_form .roichamps-variation-pills__btn.is-disabled,
.roichamps-variable-drawer form.variations_form .roichamps-variation-pills__btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}

.roichamps-variable-drawer table.variations .reset_variations {
  align-self: flex-start;
  margin-top: 14px;
  padding: 0;
  background: none;
  border: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--roichamps-cart-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.roichamps-variable-drawer table.variations .reset_variations:hover {
  color: var(--roichamps-cart-accent-hover);
}

.roichamps-variable-drawer__form-wrap .single_variation_wrap {
  margin-top: 8px;
}

.roichamps-variable-drawer__form-wrap .woocommerce-variation-availability {
  margin-bottom: 12px;
  font-size: 13px;
}

/* Variation row: qty stepper | Add to cart | wishlist | compare (reference layout) */
.roichamps-variable-drawer .woocommerce-variation-add-to-cart {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px -25px 0;
  padding: 16px 25px 18px;
  border-top: 1px solid #e8e8e8;
  background: #f0f0f0;
}

.roichamps-variable-drawer .woocommerce-variation-add-to-cart > .quantity {
  order: 1;
  display: flex;
  align-items: center;
  margin: 0;
  border: 0;
  vertical-align: unset;
}

.roichamps-variable-drawer .woocommerce-variation-add-to-cart > .single_add_to_cart_button {
  order: 2;
  flex: 1 1 140px;
  min-width: min(100%, 140px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 22px;
  min-height: 44px;
  border-radius: 4px;
  border: none;
  background-color: #000!important;
  color: #fff !important;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.roichamps-variable-drawer .woocommerce-variation-add-to-cart > .single_add_to_cart_button:hover:not(:disabled) {
  background-color: #222;
  color: #fff !important;
}

.roichamps-variable-drawer .woocommerce-variation-add-to-cart > .single_add_to_cart_button:disabled,
.roichamps-variable-drawer
  .woocommerce-variation-add-to-cart-disabled
  > .single_add_to_cart_button {
  opacity: 0.45;
    background-color: #222!important;
  cursor: not-allowed;
}

.roichamps-variable-drawer .woocommerce-variation-add-to-cart > .shopengine_add_to_list_action.shopengine-wishlist,
.roichamps-variable-drawer .woocommerce-variation-add-to-cart > button.shopengine-wishlist {
  order: 3;
}

.roichamps-variable-drawer .woocommerce-variation-add-to-cart > a.shopengine_comparison_add_to_list_action,
.roichamps-variable-drawer .woocommerce-variation-add-to-cart > .shopengine-comparison {
  order: 4;
}

.roichamps-variable-drawer .roichamps-drawer-qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.roichamps-variable-drawer .roichamps-drawer-qty-btn {
  box-sizing: border-box;
  width: 44px;
  min-width: 44px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-right: 1px solid #d4d4d4;
  background: #fff;
  color: #111;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.roichamps-variable-drawer .roichamps-drawer-qty-btn:hover:not(:disabled) {
  background: #f7f7f7;
}

.roichamps-variable-drawer .roichamps-drawer-qty-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.roichamps-variable-drawer .roichamps-drawer-qty-plus {
  border-right: 0;
  border-left: 1px solid #d4d4d4;
}

.roichamps-variable-drawer .roichamps-drawer-qty-input {
  box-sizing: border-box;
  width: 52px;
  min-width: 44px;
  margin: 0;
  padding: 0 4px;
  border: 0;
  background: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  line-height: 44px;
  height: 44px;
  -moz-appearance: textfield;
  appearance: textfield;
}

.roichamps-variable-drawer .roichamps-drawer-qty-input::-webkit-outer-spin-button,
.roichamps-variable-drawer .roichamps-drawer-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.roichamps-variable-drawer .woocommerce-variation-add-to-cart-disabled .roichamps-drawer-qty-btn,
.roichamps-variable-drawer .woocommerce-variation-add-to-cart-disabled .roichamps-drawer-qty-input {
  opacity: 0.45;
  pointer-events: none;
}

.roichamps-variable-drawer .woocommerce-variation-add-to-cart > button.shopengine-wishlist,
.roichamps-variable-drawer .woocommerce-variation-add-to-cart > .shopengine_add_to_list_action.shopengine-wishlist,
.roichamps-variable-drawer .woocommerce-variation-add-to-cart > a.shopengine_comparison_add_to_list_action{
  box-sizing: border-box;
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  background: #fff;
  color: #111;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.roichamps-variable-drawer .woocommerce-variation-add-to-cart > a.shopengine-comparison{
  display:none!important;
}

.roichamps-variable-drawer .woocommerce-variation-add-to-cart > button.shopengine-wishlist:hover,
.roichamps-variable-drawer .woocommerce-variation-add-to-cart > a.shopengine_comparison_add_to_list_action:hover {
  background: #fafafa;
  border-color: #bbb;
}

.roichamps-variable-drawer .woocommerce-variation-add-to-cart > button.shopengine-wishlist i,
.roichamps-variable-drawer .woocommerce-variation-add-to-cart > a.shopengine_comparison_add_to_list_action i {
  font-size: 18px;
  line-height: 1;
}

.roichamps-variable-drawer__form-wrap form.variations_form.roichamps-variation-submitting .single_add_to_cart_button {
  opacity: 0.65;
  pointer-events: none;
}

/* Hide express / Google Pay / Apple Pay UI inside variable drawer only */
.roichamps-variable-drawer #wc-stripe-payment-request-wrapper,
.roichamps-variable-drawer #wc-stripe-payment-request-button-separator,
.roichamps-variable-drawer .wcpay-payment-request-wrapper,
.roichamps-variable-drawer .wcpay-express-checkout-wrapper,
.roichamps-variable-drawer .express-checkout,
.roichamps-variable-drawer [id*="payment-request-button"],
.roichamps-variable-drawer [class*="payment-request-button"],
.roichamps-variable-drawer [class*="GooglePay"],
.roichamps-variable-drawer [class*="googlepay"],
.roichamps-variable-drawer [class*="gpay-button"],
.roichamps-variable-drawer .gpay-card-info-container,
.roichamps-variable-drawer .wc-block-components-express-payment,
.roichamps-variable-drawer .roichamps-variable-drawer__form-wrap .woocommerce-variation-price{
  display: none !important;
}
