/* GV STORE ACTION REFINEMENTS START */
/* Secondary cart actions; preserve the approved table and totals. */
body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions button.button[name="apply_coupon"],
body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions button.button[name="update_cart"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: center !important;
  justify-self: start !important;
  flex: 0 0 auto !important;
  box-sizing: border-box;
  width: auto !important;
  max-width: 100%;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  background: #111212 !important;
  color: #e6a12c !important;
  border: 1px solid #67502e !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font: 800 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace !important;
  letter-spacing: .04em !important;
  text-transform: uppercase;
  opacity: 1 !important;
}

/* Keep the coupon field and Apply Coupon button on one clean baseline. */
body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions .coupon {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  float: left !important;
  margin: 0 !important;
}

body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions .coupon #coupon_code,
body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions .coupon input.input-text {
  box-sizing: border-box !important;
  width: 280px !important;
  max-width: min(280px, 100%) !important;
  min-height: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  line-height: 48px !important;
}

body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions button.button[name="update_cart"] {
  float: right !important;
}

body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions::after {
  content: "";
  display: table;
  clear: both;
}

body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions button.button:not(:disabled):is(:hover, :focus-visible) {
  background: #e6a12c !important;
  color: #111212 !important;
  border-color: #e6a12c !important;
}
body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions button.button:disabled {
  opacity: .5 !important;
  cursor: not-allowed;
}
body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions button.button:focus-visible {
  outline: 2px solid #e6a12c !important;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions .coupon {
    display: flex !important;
    width: 100% !important;
    float: none !important;
    flex-wrap: wrap;
  }

  body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions .coupon #coupon_code,
  body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions .coupon input.input-text {
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 180px !important;
  }

  body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions button.button[name="apply_coupon"] {
    flex: 0 0 auto !important;
  }

  body.woocommerce-cart #content .woocommerce form.woocommerce-cart-form table.shop_table .actions button.button[name="update_cart"] {
    float: none !important;
    margin-top: 12px !important;
  }
}

/* Native merchandise purchase action only; no express-payment selectors. */
body.single-product.gv-merch-shell-page .gvms-main div.product .summary form.cart .quantity .qty {
  box-sizing: border-box !important;
}
body.single-product.gv-merch-shell-page .gvms-main div.product .summary form.cart button.single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  justify-self: start !important;
  align-self: center !important;
  box-sizing: border-box;
  width: auto !important;
  max-width: 100%;
  min-height: 44px !important;
  height: auto !important;
  padding: 12px 18px !important;
  margin: 0 !important;
  background: #111212 !important;
  color: #e6a12c !important;
  border: 1px solid #67502e !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  font: 800 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}
body.single-product.gv-merch-shell-page .gvms-main div.product .summary form.cart button.single_add_to_cart_button:not(:disabled):is(:hover, :focus-visible) {
  background: #e6a12c !important;
  color: #111212 !important;
  border-color: #e6a12c !important;
  filter: none !important;
}
body.single-product.gv-merch-shell-page .gvms-main div.product .summary form.cart button.single_add_to_cart_button:focus-visible {
  outline: 2px solid #e6a12c !important;
  outline-offset: 3px;
}

/* Native Cart primary action only; provider controls remain untouched. */
body.woocommerce-cart #content .woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button.button {
  box-sizing: border-box;
  min-height: 44px !important;
  height: auto !important;
  padding: 12px 18px !important;
  background: #111212 !important;
  color: #e6a12c !important;
  border: 1px solid #67502e !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font: 800 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}
body.woocommerce-cart #content .woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button.button:is(:hover, :focus-visible) {
  background: #e6a12c !important;
  color: #111212 !important;
  border-color: #e6a12c !important;
}
body.woocommerce-cart #content .woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button.button:focus-visible {
  outline: 2px solid #e6a12c !important;
  outline-offset: 3px;
}
/* GV STORE ACTION REFINEMENTS END */
