/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

.quantity .plus,
.quantity .minus {
    display: inline-block;
    background: #8d1836;
    color: #fff;
    border: none;
    padding: 4px 10px;
    cursor: pointer;
}
.live-cart-update-wrapper .quantity {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  justify-items: center;
  width: 100%;
  height: 44px;
  background: #8d1836;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 0 rgba(0,0,0,.08);
}

.live-cart-update-wrapper.is-in-cart .quantity {
  background: #0a6d00;
}

.live-cart-update-wrapper .quantity .minus,
.live-cart-update-wrapper .quantity .plus {
  grid-row: 1;
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform .05s ease;
}

.live-cart-update-wrapper .quantity .minus { grid-column: 1; }
.live-cart-update-wrapper .quantity .plus  { grid-column: 3; }

.live-cart-update-wrapper .quantity .minus:active,
.live-cart-update-wrapper .quantity .plus:active {
  transform: translateY(1px);
}

.live-cart-update-wrapper .quantity .qty,
.live-cart-update-wrapper .quantity input[type="number"] {
  grid-column: 2;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  outline: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.live-cart-update-wrapper .quantity .qty::-webkit-outer-spin-button,
.live-cart-update-wrapper .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.live-cart-update-wrapper .quantity .qty { -moz-appearance: textfield; }

@media (max-width: 420px) {
  .live-cart-update-wrapper .quantity {
    height: 40px;
    grid-template-columns: 56px 1fr 56px;
  }
  .live-cart-update-wrapper .quantity .minus,
  .live-cart-update-wrapper .quantity .plus {
    font-size: 20px;
  }
}

/* =========================================================
   GIFT CARD PRODUCT PAGE STYLING
   Scoped to gift card product page only - matches product page styles
   ========================================================= */

/* Product title styles */
.single-product .summary .product_title {
  color: var(--primary);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 20px;
}

/* Scope to gift card product page only - Match product page title styles */
.single-product .gtc-gift-card-summary .product_title.entry-title,
.single-product .gtc-gift-card-summary h1.product_title {
  color: var(--primary);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 20px;
}

/* Match h4 section titles (Select Amount, Recipient Info, Your Info) */
.single-product .gtc-gift-card-summary h4,
.single-product .gtc-gift-card-amount-wrapper h4,
.single-product .gtc-gift-card-recipient-details-wrapper h4,
.single-product .gtc-gift-card-sender-details-wrapper h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

/* Match label styles — visually hidden; placeholders carry the visible label */
.single-product .gtc-gift-card-summary label,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) label,
.single-product .gtc-gift-card-field-row label,
.single-product .gtc-product-quantity-field label {
  display: block;
  font-weight: 600;
  color: #111827;
  font-size: 14px;
  margin-bottom: 0.5rem;
}

.single-product .gtc-gift-card-field-row label:not([for="gtc-custom-amount-currency"]) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Match input and textarea styles */
.single-product .gtc-gift-card-summary input[type="text"],
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) input[type="text"],
.single-product .gtc-gift-card-summary .gtc-number-field,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-number-field,
.single-product .gtc-gift-card-summary .gtc-gift-card-amount,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-amount,
.single-product .gtc-gift-card-summary .gtc-gift-card-recipient-name,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-recipient-name,
.single-product .gtc-gift-card-summary .gtc-gift-card-sender-name,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-sender-name,
.single-product .gtc-gift-card-summary textarea,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) textarea,
.single-product .gtc-gift-card-summary .gtc-gift-card-recipient-email,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-recipient-email,
.single-product .gtc-gift-card-summary .gtc-gift-card-sender-message,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-sender-message {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.4;
  color: #111827;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.single-product .gtc-gift-card-summary input[type="text"]:focus,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) input[type="text"]:focus,
.single-product .gtc-gift-card-summary .gtc-number-field:focus,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-number-field:focus,
.single-product .gtc-gift-card-summary .gtc-gift-card-amount:focus,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-amount:focus,
.single-product .gtc-gift-card-summary .gtc-gift-card-recipient-name:focus,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-recipient-name:focus,
.single-product .gtc-gift-card-summary .gtc-gift-card-sender-name:focus,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-sender-name:focus,
.single-product .gtc-gift-card-summary textarea:focus,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) textarea:focus,
.single-product .gtc-gift-card-summary .gtc-gift-card-recipient-email:focus,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-recipient-email:focus,
.single-product .gtc-gift-card-summary .gtc-gift-card-sender-message:focus,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-sender-message:focus {
  outline: none;
  border-color: #8e1837;
  box-shadow: 0 0 0 3px rgba(142, 24, 55, 0.1);
}

/* Placeholder text styling for gift card inputs and textareas */
.single-product .gtc-gift-card-summary input[type="text"]::placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) input[type="text"]::placeholder,
.single-product .gtc-gift-card-summary .gtc-number-field::placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-number-field::placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-amount::placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-amount::placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-recipient-name::placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-recipient-name::placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-sender-name::placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-sender-name::placeholder,
.single-product .gtc-gift-card-summary textarea::placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) textarea::placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-recipient-email::placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-recipient-email::placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-sender-message::placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-sender-message::placeholder {
  font-size: 16px;
  color: #9ca3af;
  font-weight: 400;
  opacity: 1;
}

/* Webkit prefix for older browser support */
.single-product .gtc-gift-card-summary input[type="text"]::-webkit-input-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) input[type="text"]::-webkit-input-placeholder,
.single-product .gtc-gift-card-summary .gtc-number-field::-webkit-input-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-number-field::-webkit-input-placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-amount::-webkit-input-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-amount::-webkit-input-placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-recipient-name::-webkit-input-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-recipient-name::-webkit-input-placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-sender-name::-webkit-input-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-sender-name::-webkit-input-placeholder,
.single-product .gtc-gift-card-summary textarea::-webkit-input-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) textarea::-webkit-input-placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-recipient-email::-webkit-input-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-recipient-email::-webkit-input-placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-sender-message::-webkit-input-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-sender-message::-webkit-input-placeholder {
  font-size: 16px;
  color: #9ca3af;
  font-weight: 400;
}

/* Mozilla prefix for Firefox */
.single-product .gtc-gift-card-summary input[type="text"]::-moz-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) input[type="text"]::-moz-placeholder,
.single-product .gtc-gift-card-summary .gtc-number-field::-moz-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-number-field::-moz-placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-amount::-moz-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-amount::-moz-placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-recipient-name::-moz-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-recipient-name::-moz-placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-sender-name::-moz-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-sender-name::-moz-placeholder,
.single-product .gtc-gift-card-summary textarea::-moz-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) textarea::-moz-placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-recipient-email::-moz-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-recipient-email::-moz-placeholder,
.single-product .gtc-gift-card-summary .gtc-gift-card-sender-message::-moz-placeholder,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-sender-message::-moz-placeholder {
  font-size: 16px;
  color: #9ca3af;
  font-weight: 400;
  opacity: 1;
}

/* Match textarea specific styles */
.single-product .gtc-gift-card-summary textarea,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) textarea,
.single-product .gtc-gift-card-summary .gtc-gift-card-recipient-email,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-recipient-email,
.single-product .gtc-gift-card-summary .gtc-gift-card-sender-message,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-sender-message {
  min-height: 100px;
  resize: vertical;
}

/* Match field row spacing */
.single-product .gtc-gift-card-summary .gtc-gift-card-field-row,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-field-row {
  margin-bottom: 1.25rem;
}

.single-product .gtc-gift-card-summary .gtc-gift-card-field-row:last-child,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-field-row:last-child {
  margin-bottom: 0;
}

/* Match wrapper spacing */
.single-product .gtc-gift-card-summary .gtc-gift-card-amount-wrapper,
.single-product .gtc-gift-card-summary .gtc-gift-card-recipient-details-wrapper,
.single-product .gtc-gift-card-summary .gtc-gift-card-sender-details-wrapper {
  margin-bottom: 1.5rem;
}

/* Match button styles (Add to cart) */
.single-product .gtc-gift-card-summary .single_add_to_cart_button,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .single_add_to_cart_button,
.single-product .gtc-gift-card-summary button[type="submit"][name="add-to-cart"],
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) button[type="submit"][name="add-to-cart"] {
  background-color: #8e1837;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.single-product .gtc-gift-card-summary .single_add_to_cart_button:hover,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .single_add_to_cart_button:hover,
.single-product .gtc-gift-card-summary button[type="submit"][name="add-to-cart"]:hover,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) button[type="submit"][name="add-to-cart"]:hover {
  background-color: #6d1229;
}

.single-product .gtc-gift-card-summary .single_add_to_cart_button.added,
.single-product .gtc-gift-card-summary .single_add_to_cart_button.dd-gift-card-added,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .single_add_to_cart_button.added,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .single_add_to_cart_button.dd-gift-card-added {
  background-color: #059669;
  color: #ffffff;
}

.single-product .gtc-gift-card-summary .single_add_to_cart_button.added:hover,
.single-product .gtc-gift-card-summary .single_add_to_cart_button.dd-gift-card-added:hover,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .single_add_to_cart_button.added:hover,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .single_add_to_cart_button.dd-gift-card-added:hover {
  background-color: #047857;
}

/* Match stock status text */
.single-product .gtc-gift-card-summary .stock.in-stock {
  font-size: 0.95rem;
  color: #059669;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* "Only X left!" — yellow highlight, consistent font on product page & quickview */
.single-product .stock.in-stock,
.woocommerce-quickview .stock.in-stock,
.bricks-quick-view .stock.in-stock,
.quick-view-content .stock.in-stock,
.dd-qv-modal .stock.in-stock,
.dd-qv-body .stock.in-stock,
.dd-qv-modal .product-available-stock,
.dd-qv-body .product-available-stock,
.dd-qv-stock-msg,
.brxe-text-basic:has(.product-available-stock) {
  background-color: #ffff00;
  display: inline-block;
  padding: 2px 6px;
  font-weight: 500;
  font-size: 16px;
}

.dd-qv-stock-msg {
  align-self: flex-start;
  font-size: 16px;
}

/* When the Bricks/shortcode stock element is present, suppress the duplicate WooCommerce .stock.in-stock. */
.single-product:has(.product-available-stock) .stock.in-stock {
  display: none !important;
}

/* Match quantity field styles */
.single-product .gtc-gift-card-summary .gtc-product-quantity-field {
  margin: 1.5rem 0;
}

.single-product .gtc-gift-card-summary .gtc-product-quantity {
  width: auto;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
}

/* Match message description text */
.single-product .gtc-gift-card-summary .gtc-gift-card-sender-message-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
  display: block;
}

/* Match amount actions wrapper */
.single-product .gtc-gift-card-summary .gtc-gift-card-amount-actions,
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) .gtc-gift-card-amount-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.single-product .gtc-gift-card-summary label[for="gtc-custom-amount-currency"],
.single-product form.cart:has(.gtc-gift-card-amount-wrapper) label[for="gtc-custom-amount-currency"] {
  position: static;
  width: auto;
  height: auto;
  margin: 0 0.5rem 0 0;
  clip: auto;
  overflow: visible;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
}

/* Hide product category meta for gift cards only */
.single-product .summary .product_meta>span.posted_in {
  display: none !important;
}

/* Hide Display Name field on edit-account page */
.woocommerce-account .woocommerce-EditAccountForm p:has(#account_display_name),
body.woocommerce-account .woocommerce-EditAccountForm p:has(#account_display_name) {
  display: none !important;
}

/* Password Change — accordion + full width (Account Details / edit-account only) */
.woocommerce-account .woocommerce-MyAccount-content .dd-edit-account-password-fieldset,
body.woocommerce-account .woocommerce-MyAccount-content .dd-edit-account-password-fieldset {
  position: relative;
  padding: 0;
  margin: 20px 0;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-sizing: border-box;
}

.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-toggle,
body.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px 16px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: #333;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-toggle:hover,
body.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-toggle:hover,
.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-toggle:focus-visible,
body.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-toggle:focus-visible {
  background: rgba(0, 0, 0, 0.04);
  outline: none;
}

.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-toggle::after,
body.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-toggle::after {
  content: '';
  flex-shrink: 0;
  margin-left: 12px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #666;
  transition: transform 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-content .dd-edit-account-password-fieldset.dd-pw-acc-open .dd-pw-acc-toggle::after,
body.woocommerce-account .woocommerce-MyAccount-content .dd-edit-account-password-fieldset.dd-pw-acc-open .dd-pw-acc-toggle::after {
  transform: rotate(180deg);
}

.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-panel,
body.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-panel {
  padding: 0 16px 16px;
  border-top: 1px solid #e0e0e0;
}

.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-panel[hidden],
body.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-panel[hidden] {
  display: none !important;
  padding: 0;
  border-top: none;
}

.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-hint,
body.woocommerce-account .woocommerce-MyAccount-content .dd-pw-acc-hint {
  margin: 14px 0 10px !important;
  font-size: max(1rem, 16px) !important;
  line-height: 1.5 !important;
  color: #555 !important;
}

.brxe-woocommerce-account-page .woocommerce .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset.dd-edit-account-password-fieldset {
  padding: 0 !important;
  padding-top: 0 !important;
}

.brxe-woocommerce-account-page .woocommerce .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset.dd-edit-account-password-fieldset legend {
  position: static;
}

/* Password Change fieldset styling — Bricks account block (legacy legend layout; accordion uses classes above) */
.brxe-woocommerce-account-page .woocommerce .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset {
  position: relative;
  padding-top: 40px;
}

.brxe-woocommerce-account-page .woocommerce .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset legend {
  position: absolute;
  top: 0;
  left: 10px;
}

/* Standardized My Account Pages Styling - ONLY for frontend My Account pages */
/* Using .woocommerce-account as parent to ensure it only applies to My Account pages, not admin customer view */
.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-MyAccount-content {
  --dd-ma-font-min: 16px;
  font-size: max(1rem, var(--dd-ma-font-min));
  line-height: 1.6;
  color: #333;
  padding-right: 0 !important;
}

@media (max-width: 992px) {
  .brxe-woocommerce-account-page .woocommerce-MyAccount-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* My Account nav: dropdown on tablet/phone */
.woocommerce-MyAccount-navigation .dd-ma-nav-select {
  display: none;
}

@media (max-width: 992px) {
  .brxe-woocommerce-account-page .woocommerce-MyAccount-navigation {
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
  }

  .woocommerce-MyAccount-navigation .dd-ma-nav-select {
    display: block;
    width: 100%;
    margin: 0 0 1.25rem;
    padding: 0.75rem 2.5rem 0.75rem 0.85rem;
    font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: max(1rem, 16px);
    font-weight: 600;
    line-height: 1.4;
    color: #212529;
    background-color: #fff;
    border: 2px solid #8d1836;
    border-radius: 12px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238d1836' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 12px 8px;
    cursor: pointer;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation .dd-ma-nav-list,
  body.woocommerce-account .woocommerce-MyAccount-navigation ul.dd-ma-nav-list,
  .brxe-woocommerce-account-page .woocommerce-MyAccount-navigation .dd-ma-nav-list {
    display: none !important;
  }
}

/* My Account: rem-based text scales up but never below 16px (.dd-later-btn stays compact) */
body.woocommerce-account .woocommerce-MyAccount-content :where(
  label,
  span:not(.sc-superchef-dot--expired),
  p,
  li,
  td,
  th,
  a:not(.dd-later-btn),
  button:not(.dd-later-btn),
  input,
  select,
  textarea,
  option,
  legend,
  small,
  .description,
  .woocommerce-info,
  .woocommerce-message,
  .woocommerce-error,
  .mpr-field-label,
  .mpr-filter-help,
  .mpr-filter-title,
  .mpr-table-meta-results,
  .mpr-table-meta-controls,
  .mpr-clear-inline,
  .mpr-btn-apply,
  .mpr-select,
  .mpr-show,
  .mpr-noresults,
  .mpr-item,
  .mpr-note,
  .mpr-date,
  .mpr-rate
) {
  font-size: max(1em, var(--dd-ma-font-min)) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content input::placeholder,
body.woocommerce-account .woocommerce-MyAccount-content textarea::placeholder,
body.woocommerce-account .woocommerce-MyAccount-content .mpr-field input[type="date"]::-webkit-datetime-edit,
body.woocommerce-account .woocommerce-MyAccount-content .mpr-field input[type="date"]::-webkit-datetime-edit-fields-wrapper,
body.woocommerce-account .woocommerce-MyAccount-content .mpr-field input[type="date"]::-webkit-datetime-edit-year-field,
body.woocommerce-account .woocommerce-MyAccount-content .mpr-field input[type="date"]::-webkit-datetime-edit-month-field,
body.woocommerce-account .woocommerce-MyAccount-content .mpr-field input[type="date"]::-webkit-datetime-edit-day-field,
body.woocommerce-account .woocommerce-MyAccount-content .mpr-field input[type="date"]::-webkit-datetime-edit-text {
  font-size: max(1rem, var(--dd-ma-font-min)) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .dd-later-btn,
body.woocommerce-account .woocommerce-MyAccount-content .dd-later-btn * {
  font-size: 10px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content button.use-billing-address,
body.woocommerce-account .woocommerce-MyAccount-content button.use-shipping-address,
body.woocommerce-account .woocommerce-MyAccount-content button.use-this-address,
body.woocommerce-account .woocommerce-MyAccount-content .use-billing-address,
body.woocommerce-account .woocommerce-MyAccount-content .use-shipping-address,
body.woocommerce-account .woocommerce-MyAccount-content .use-this-address {
  font-size: max(1rem, var(--dd-ma-font-min)) !important;
}

/* Standardize page titles (h3.ma-nav-title) - ONLY on My Account pages */
.woocommerce-account .woocommerce-MyAccount-content h3.ma-nav-title,
body.woocommerce-account .woocommerce-MyAccount-content h3.ma-nav-title,
.woocommerce-account .woocommerce-MyAccount-content .ma-nav-title,
body.woocommerce-account .woocommerce-MyAccount-content .ma-nav-title {
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #8d1836 !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #e9ecef !important;
}

.woocommerce-account .woocommerce-MyAccount-content .ma-pop-trigger,
body.woocommerce-account .woocommerce-MyAccount-content .ma-pop-trigger {
  margin-left: 0 !important;
}

/* Standardize h2 headings - ONLY on My Account pages */
.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h2.ma-nav-title,
body.woocommerce-account .woocommerce-MyAccount-content h2.ma-nav-title {
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #8d1836 !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #e9ecef !important;
}

/* Standardize h3 headings (non-ma-nav-title) - ONLY on My Account pages */
.woocommerce-account .woocommerce-MyAccount-content h3:not(.ma-nav-title),
body.woocommerce-account .woocommerce-MyAccount-content h3:not(.ma-nav-title) {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #212529 !important;
  margin-top: 30px !important;
  margin-bottom: 15px !important;
}

/* Standardize h4 headings - ONLY on My Account pages */
.woocommerce-account .woocommerce-MyAccount-content h4,
body.woocommerce-account .woocommerce-MyAccount-content h4 {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #212529 !important;
  margin-top: 20px !important;
  margin-bottom: 12px !important;
}

/* Standardize body text and paragraphs - ONLY on My Account pages */
.woocommerce-account .woocommerce-MyAccount-content p,
body.woocommerce-account .woocommerce-MyAccount-content p {
  font-size: max(1rem, var(--dd-ma-font-min)) !important;
  line-height: 1.6 !important;
  color: #333 !important;
  margin-bottom: 15px !important;
}

/* Remove paragraph margin in Add Address flow step 4 (shipping details) - My Account Addresses only */
body.woocommerce-account .woocommerce-MyAccount-content .dd-flow-debug .shipping-details p {
  margin-bottom: 0 !important;
}

/* Orders empty state explainer — white copy on info banner */
.woocommerce-account .woocommerce-MyAccount-content .dd-orders-empty-explainer p,
body.woocommerce-account .woocommerce-MyAccount-content .dd-orders-empty-explainer p {
  color: #fff !important;
}

/* Standardize strong/bold text - ONLY on My Account pages */
.woocommerce-account .woocommerce-MyAccount-content p strong,
body.woocommerce-account .woocommerce-MyAccount-content p strong,
.woocommerce-account .woocommerce-MyAccount-content strong,
body.woocommerce-account .woocommerce-MyAccount-content strong {
  font-weight: 600 !important;
  color: #212529 !important;
}

/* SuperChef Points — expired status dot (whitesmoke), my-account only */
.woocommerce-account .woocommerce-MyAccount-content .sc-superchef-dot--expired,
body.woocommerce-account .woocommerce-MyAccount-content .sc-superchef-dot--expired {
  display: inline-block;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: whitesmoke;
  border: 1px solid #d0d0d0;
  vertical-align: -0.15em;
  margin-right: 0.15em;
  box-sizing: border-box;
}

/* SuperChef points table — centered date/status columns on desktop only */
@media (min-width: 993px) {
  .woocommerce-account .woocommerce-MyAccount-content table.scp-table .scp-col-center,
  body.woocommerce-account .woocommerce-MyAccount-content table.scp-table .scp-col-center {
    text-align: center !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.scp-table .scp-days-left,
  body.woocommerce-account .woocommerce-MyAccount-content table.scp-table .scp-days-left {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.scp-table .scp-exp-date,
  body.woocommerce-account .woocommerce-MyAccount-content table.scp-table .scp-exp-date {
    text-align: center;
  }
}

@media (max-width: 992px) {
  body.woocommerce-account .woocommerce-MyAccount-content table.scp-table.dd-ma-responsive-table tbody td.scp-col-center .scp-days-left {
    display: flex;
    justify-content: flex-end;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.scp-table.dd-ma-responsive-table tbody td.scp-col-center .scp-exp-date {
    text-align: right;
  }
}

/* Standardize tables across all pages - ONLY on My Account pages */
.woocommerce-account .woocommerce-MyAccount-content table,
body.woocommerce-account .woocommerce-MyAccount-content table,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table,
.woocommerce-account .woocommerce-MyAccount-content .scp-table,
body.woocommerce-account .woocommerce-MyAccount-content .scp-table,
.woocommerce-account .woocommerce-MyAccount-content .widefat,
body.woocommerce-account .woocommerce-MyAccount-content .widefat {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-top: 20px !important;
  margin-bottom: 30px !important;
  background: #ffffff !important;
  border: 1px solid #e9ecef !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.woocommerce-account .woocommerce-MyAccount-content table thead,
body.woocommerce-account .woocommerce-MyAccount-content table thead,
.woocommerce-account .woocommerce-MyAccount-content table th,
body.woocommerce-account .woocommerce-MyAccount-content table th {
  background: #f8f9fa !important;
  border-bottom: 2px solid #e9ecef !important;
}

.woocommerce-account .woocommerce-MyAccount-content table th,
body.woocommerce-account .woocommerce-MyAccount-content table th {
  padding: 12px 16px !important;
  text-align: left !important;
  font-weight: 600 !important;
  font-size: max(1rem, var(--dd-ma-font-min)) !important;
  color: #495057 !important;
}

.woocommerce-account .woocommerce-MyAccount-content table td,
body.woocommerce-account .woocommerce-MyAccount-content table td {
  padding: 16px !important;
  border-bottom: 1px solid #f1f3f5 !important;
  font-size: max(1rem, var(--dd-ma-font-min)) !important;
  color: #212529 !important;
}

.woocommerce-account .woocommerce-MyAccount-content table tbody tr:hover,
body.woocommerce-account .woocommerce-MyAccount-content table tbody tr:hover {
  background: #f8f9fa !important;
}

/* My Account > View order: invoice-style table (aligned columns, clean tfoot) */
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table {
  display: table !important;
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  background: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details thead,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tbody,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details thead,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table thead,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tbody,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot {
  display: table-row-group !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tr,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tr,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tr {
  display: table-row !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details th,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details td,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details th,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table th,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table td {
  display: table-cell !important;
  vertical-align: middle;
  float: none !important;
  clear: none !important;
  max-width: none !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details .product-name,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details th.product-name,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details td.product-name,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details .product-name,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details th.product-name,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-name,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table .product-name,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table th.product-name,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table td.product-name {
  width: 72% !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details .product-total,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details th.product-total,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details td.product-total,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details .product-total,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details th.product-total,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details td.product-total,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table .product-total,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table th.product-total,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table td.product-total {
  width: 28% !important;
  min-width: 7.5rem !important;
  overflow: visible !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details thead th,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details thead th,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table thead th {
  background: #f8f9fa !important;
  border: none !important;
  border-bottom: none !important;
  padding: 12px 16px !important;
  font-weight: 600 !important;
  color: #495057 !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details thead,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details thead,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table thead {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details thead > tr,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details thead > tr,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table thead > tr {
  box-shadow: none !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details thead th.product-name,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details thead th.product-name,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table thead th.product-name {
  text-align: left !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details thead th.product-total,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details thead th.product-total,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table thead th.product-total {
  text-align: right !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tbody td,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody td,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tbody td {
  background: #fff !important;
  padding: 14px 16px !important;
  border: none !important;
  border-bottom: none !important;
  color: #212529 !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tbody > tr,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody > tr,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tbody > tr {
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tbody td.product-name,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody td.product-name,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tbody td.product-name {
  text-align: left !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tbody td.product-total,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tbody td.woocommerce-table__product-total,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody td.product-total,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody td.woocommerce-table__product-total,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tbody td.product-total,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tbody td.woocommerce-table__product-total {
  text-align: right !important;
  white-space: nowrap;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tbody td.product-total .woocommerce-Price-amount,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tbody td.woocommerce-table__product-total .woocommerce-Price-amount,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody td.product-total .woocommerce-Price-amount,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody td.woocommerce-table__product-total .woocommerce-Price-amount,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tbody td.product-total .woocommerce-Price-amount,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tbody td.woocommerce-table__product-total .woocommerce-Price-amount {
  display: inline-block;
  text-align: right !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tbody tr:hover {
  background: transparent !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tbody th::before,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tbody td::before,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody th::before,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tbody td::before,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tbody th::before,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tbody td::before {
  content: none !important;
  float: none !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details .product-name .product-quantity {
  display: inline;
  font-weight: 400;
  font-size: 0.9em;
  color: #6c757d;
  margin-left: 0.35em;
  vertical-align: baseline;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details .product-name a {
  color: #8d1836 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Totals tfoot: label in col 1 (right-aligned), value in col 2 (matches line-item totals) */
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot:not(:has(.order-actions-button)),
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot:not(:has(.order-actions-button)),
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot:not(:has(.order-actions-button)) {
  border-top: 2px solid #e9ecef;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot:not(:has(.order-actions-button)) tr,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot:not(:has(.order-actions-button)) tr,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot:not(:has(.order-actions-button)) tr {
  display: table-row !important;
  background: #fff !important;
  box-shadow: inset 0 -1px 0 #f1f3f5;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot:not(:has(.order-actions-button)) tr th,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot:not(:has(.order-actions-button)) tr th,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot:not(:has(.order-actions-button)) tr th {
  display: table-cell !important;
  width: 72% !important;
  background: transparent !important;
  border: none !important;
  padding: 10px 30px 10px 16px !important;
  color: #374151 !important;
  font-weight: 500;
  text-align: right !important;
  white-space: nowrap;
  vertical-align: middle;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot:not(:has(.order-actions-button)) tr td,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot:not(:has(.order-actions-button)) tr td,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot:not(:has(.order-actions-button)) tr td {
  display: table-cell !important;
  width: 28% !important;
  min-width: 7.5rem !important;
  background: transparent !important;
  border: none !important;
  padding: 10px 16px !important;
  color: #374151 !important;
  font-weight: 500;
  text-align: right !important;
  white-space: nowrap;
  overflow: visible !important;
  vertical-align: middle;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot tr.order-total,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr.order-total,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot tr.order-total {
  box-shadow: inset 0 2px 0 #8d1836, inset 0 -1px 0 #f1f3f5;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot tr.order-total th,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot tr.order-total td,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr.order-total th,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr.order-total td,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot tr.order-total th,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot tr.order-total td {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  font-weight: 700 !important;
  font-size: 1.05em !important;
  color: #8d1836 !important;
  background: transparent !important;
  border: none !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot tr.dd-order-note-row th,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr.dd-order-note-row th,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot tr.dd-order-note-row th {
  text-align: left !important;
  font-weight: 600 !important;
  white-space: nowrap;
  padding: 10px 12px 10px 16px !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot tr.dd-order-note-row td,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr.dd-order-note-row td,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot tr.dd-order-note-row td {
  text-align: left !important;
  white-space: normal;
  color: #495057 !important;
  font-weight: 400 !important;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot:not(:has(.order-actions-button)) tr:last-child,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot:not(:has(.order-actions-button)) tr:last-child,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot:not(:has(.order-actions-button)) tr:last-child {
  box-shadow: none;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details .order-actions--heading {
  display: none !important;
}

/* Print actions: side-by-side row below totals */
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot:has(.order-actions-button) tr,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot:has(.order-actions-button) tr,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot:has(.order-actions-button) tr {
  display: table-row !important;
  background: #fff !important;
  box-shadow: inset 0 1px 0 #e9ecef;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot:has(.order-actions-button) td[colspan],
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot:has(.order-actions-button) td[colspan],
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot:has(.order-actions-button) td[colspan] {
  background: transparent !important;
  border: none !important;
  padding: 1.25rem 0 0 !important;
  text-align: left !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.625rem;
  align-items: stretch;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot:has(.order-actions-button) td .woocommerce-button,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot:has(.order-actions-button) td a.button,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot:has(.order-actions-button) td .order-actions-button,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot:has(.order-actions-button) td .woocommerce-button,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot:has(.order-actions-button) td a.button,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot:has(.order-actions-button) td .order-actions-button,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot:has(.order-actions-button) td .woocommerce-button,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot:has(.order-actions-button) td a.button,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot:has(.order-actions-button) td .order-actions-button {
  display: inline-flex !important;
  flex: 1 1 12rem;
  width: auto;
  max-width: none;
  margin: 0 !important;
  text-align: center !important;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  white-space: normal;
}

/* Orders list: card layout through laptop widths (wide desktops keep full table) */
@media (max-width: 1450px) {
  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    margin-top: 12px !important;
    margin-bottom: 20px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table thead {
    display: none !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody {
    display: block;
    width: 100%;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1rem;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody tr:hover {
    background: #fff !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody th,
  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    padding: 0.7rem 1rem !important;
    border: none !important;
    border-bottom: 1px solid #f1f3f5 !important;
    text-align: right !important;
    font-size: max(1rem, var(--dd-ma-font-min, 16px)) !important;
    clear: both;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table .woocommerce-orders-table__cell-order-number {
    grid-column: 1 / -1;
    background: #f8f9fa !important;
    font-weight: 600 !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table .woocommerce-orders-table__cell-order-actions {
    grid-column: 1 / -1;
    border-bottom: none !important;
    text-align: left !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody th::before,
  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody td::before {
    content: attr(data-title);
    float: left;
    max-width: 46%;
    padding-right: 0.75rem;
    font-weight: 600;
    color: #495057;
    text-align: left;
    white-space: normal;
    word-break: break-word;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody th:not([data-title])::before,
  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody td:not([data-title])::before,
  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody th[data-title=""]::before,
  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody td[data-title=""]::before {
    content: none;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table .woocommerce-orders-table__cell-order-actions::before {
    grid-column: 1 / -1;
    float: none;
    display: block;
    max-width: none;
    margin-bottom: 0.25rem;
    text-align: left;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody td p,
  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody th p {
    margin: 0;
    text-align: right;
    word-break: break-word;
  }
}

@media (max-width: 992px) {
  body.woocommerce-account .woocommerce-MyAccount-content table.account-orders-table.dd-ma-responsive-table tbody tr {
    grid-template-columns: 1fr;
  }
}

/* My Account tables (except orders list): card layout with row labels on mobile only */
@media (max-width: 992px) {
  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    margin-top: 12px !important;
    margin-bottom: 20px !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) thead {
    display: none !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody {
    display: block;
    width: 100%;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody tr:hover {
    background: #fff !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody th,
  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    padding: 0.7rem 1rem !important;
    border: none !important;
    border-bottom: 1px solid #f1f3f5 !important;
    text-align: right !important;
    font-size: max(1rem, var(--dd-ma-font-min, 16px)) !important;
    clear: both;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody tr > :last-child {
    border-bottom: none !important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody th::before,
  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody td::before {
    content: attr(data-title);
    float: left;
    max-width: 46%;
    padding-right: 0.75rem;
    font-weight: 600;
    color: #495057;
    text-align: left;
    white-space: normal;
    word-break: break-word;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody th:not([data-title])::before,
  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody td:not([data-title])::before,
  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody th[data-title=""]::before,
  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody td[data-title=""]::before {
    content: none;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody td p,
  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody th p {
    margin: 0;
    text-align: right;
    word-break: break-word;
  }

  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody .button,
  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody .woocommerce-button,
  body.woocommerce-account .woocommerce-MyAccount-content table.dd-ma-responsive-table:not(.account-orders-table) tbody a.button {
    display: inline-block;
    margin-top: 0.25rem;
    white-space: normal;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .dd-ma-endpoint-scroll {
    overflow: visible;
    width: 100%;
    max-width: 100%;
  }

  /* Never card-transform order details (rules above apply at all breakpoints) */
  body.woocommerce-account .woocommerce-order-details table.dd-order-details-table.dd-ma-responsive-table tbody,
  body.woocommerce-account .woocommerce-order-details table.order_details.dd-ma-responsive-table tbody {
    display: table-row-group !important;
  }

  body.woocommerce-account .woocommerce-order-details table.dd-order-details-table.dd-ma-responsive-table tbody tr,
  body.woocommerce-account .woocommerce-order-details table.order_details.dd-ma-responsive-table tbody tr {
    display: table-row !important;
    margin-bottom: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.woocommerce-account .woocommerce-order-details table.dd-order-details-table.dd-ma-responsive-table tbody th,
  body.woocommerce-account .woocommerce-order-details table.dd-order-details-table.dd-ma-responsive-table tbody td,
  body.woocommerce-account .woocommerce-order-details table.order_details.dd-ma-responsive-table tbody th,
  body.woocommerce-account .woocommerce-order-details table.order_details.dd-ma-responsive-table tbody td {
    display: table-cell !important;
    width: auto !important;
    padding: inherit !important;
    text-align: inherit !important;
    border: inherit !important;
    clear: none !important;
  }
}

/* Standardize buttons - ONLY on My Account pages */
.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-account .woocommerce-MyAccount-content a.button,
body.woocommerce-account .woocommerce-MyAccount-content a.button {
  padding: 12px 24px !important;
  background: #8d1836 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: max(1rem, var(--dd-ma-font-min)) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button:hover,
.woocommerce-account .woocommerce-MyAccount-content a.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content a.button:hover {
  background: #a11d41 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(141, 24, 54, 0.2) !important;
}

/* Orders list actions: three equal columns (View | Print Invoice | Print Freezer Lineup) */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: stretch;
  clear: none !important;
  text-align: center !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.woocommerce-button,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.woocommerce-button {
  display: inline-flex !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 10px 8px !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  text-align: center !important;
  justify-content: center;
  align-items: center;
  white-space: normal;
  box-sizing: border-box;
}

/* Orders list — secondary outline: Print invoice / invoice (preserve primary pill for View, Pay, etc.) */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.invoice,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.invoice.button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.woocommerce-button.button.invoice,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.print,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.print_invoice,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.print-invoice,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.wcdn_print_invoice,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.freezer_lineup,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.freezer-lineup,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.invoice,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.freezer_lineup,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.freezer-lineup,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.wcdn_print_invoice,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.print,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.print_invoice,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.print-invoice {
  background: #ffffff !important;
  color: #8d1836 !important;
  border: 2px solid #8d1836 !important;
  box-shadow: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.invoice:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.invoice.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.woocommerce-button.button.invoice:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.print:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.print_invoice:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.print-invoice:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.wcdn_print_invoice:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.freezer_lineup:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.freezer-lineup:hover,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.invoice:hover,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.freezer_lineup:hover,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.freezer-lineup:hover,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.wcdn_print_invoice:hover,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.print:hover,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.print_invoice:hover,
body.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders .order-actions a.button.print-invoice:hover {
  background: #fff8f9 !important;
  color: #8d1836 !important;
  border-color: #a11d41 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 6px rgba(141, 24, 54, 0.12) !important;
}

/* Standardize lists - ONLY on My Account pages */
.woocommerce-account .woocommerce-MyAccount-content ul,
body.woocommerce-account .woocommerce-MyAccount-content ul,
.woocommerce-account .woocommerce-MyAccount-content ol,
body.woocommerce-account .woocommerce-MyAccount-content ol {
  font-size: max(1rem, var(--dd-ma-font-min)) !important;
  line-height: 1.6 !important;
  color: #333 !important;
  margin-bottom: 20px !important;
}

.woocommerce-account .woocommerce-MyAccount-content ul li,
body.woocommerce-account .woocommerce-MyAccount-content ul li,
.woocommerce-account .woocommerce-MyAccount-content ol li,
body.woocommerce-account .woocommerce-MyAccount-content ol li {
  margin-bottom: 8px !important;
}

/* Standardize spacing for sections - ONLY on My Account pages */
.woocommerce-account .woocommerce-MyAccount-content > div,
body.woocommerce-account .woocommerce-MyAccount-content > div {
  margin-bottom: 30px !important;
}

/* Standardize form elements - ONLY on My Account pages */
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content textarea,
body.woocommerce-account .woocommerce-MyAccount-content textarea {
  padding: 12px 16px !important;
  border: 1px solid #ced4da !important;
  border-radius: 8px !important;
  font-size: max(1rem, var(--dd-ma-font-min)) !important;
  width: 100% !important;
  max-width: 400px !important;
  transition: all 0.2s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content select {
  padding: 12px 16px !important;
  border: 1px solid #ced4da !important;
  border-radius: 8px !important;
  font-size: max(1rem, var(--dd-ma-font-min)) !important;
  width: 100% !important;
  transition: all 0.2s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-content input[type="email"]:focus,
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"]:focus,
.woocommerce-account .woocommerce-MyAccount-content input[type="password"]:focus,
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"]:focus,
.woocommerce-account .woocommerce-MyAccount-content textarea:focus,
body.woocommerce-account .woocommerce-MyAccount-content textarea:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus,
body.woocommerce-account .woocommerce-MyAccount-content select:focus {
  outline: none !important;
  border-color: #8d1836 !important;
  box-shadow: 0 0 0 3px rgba(141, 24, 54, 0.1) !important;
}

/* Standardize links - ONLY on My Account pages */
.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button),
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button) {
  color: #8d1836 !important;
  text-decoration: underline !important;
}

.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button):hover,
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button):hover {
  color: #a11d41 !important;
}

/* Responsive adjustments - ONLY on My Account pages */
@media (max-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-content h3.ma-nav-title,
  body.woocommerce-account .woocommerce-MyAccount-content h3.ma-nav-title,
  .woocommerce-account .woocommerce-MyAccount-content h2,
  body.woocommerce-account .woocommerce-MyAccount-content h2 {
    font-size: 20px !important;
  }
  
  .woocommerce-account .woocommerce-MyAccount-content table,
  body.woocommerce-account .woocommerce-MyAccount-content table {
    font-size: max(1rem, var(--dd-ma-font-min)) !important;
  }
  
  .woocommerce-account .woocommerce-MyAccount-content table th,
  body.woocommerce-account .woocommerce-MyAccount-content table th,
  .woocommerce-account .woocommerce-MyAccount-content table td,
  body.woocommerce-account .woocommerce-MyAccount-content table td {
    padding: 10px 12px !important;
  }
}

/* Remove background from delete icon buttons on My Account addresses page and center align with buttons */
.woocommerce-account .woocommerce-MyAccount-content .delete-book-address,
body.woocommerce-account .woocommerce-MyAccount-content .delete-book-address,
.woocommerce-account #myaccount-delivery-addresses-container .delete-book-address,
body.woocommerce-account #myaccount-delivery-addresses-container .delete-book-address {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
}

.woocommerce-account .woocommerce-MyAccount-content .delete-book-address:hover,
body.woocommerce-account .woocommerce-MyAccount-content .delete-book-address:hover,
.woocommerce-account #myaccount-delivery-addresses-container .delete-book-address:hover,
body.woocommerce-account #myaccount-delivery-addresses-container .delete-book-address:hover {
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Ensure delete icon container aligns with buttons */
.woocommerce-account #myaccount-delivery-addresses-container .delivery-address > div[style*="display: flex"],
body.woocommerce-account #myaccount-delivery-addresses-container .delivery-address > div[style*="display: flex"],
.woocommerce-account #myaccount-delivery-addresses-container .delivery-address > div[style*="flex"],
body.woocommerce-account #myaccount-delivery-addresses-container .delivery-address > div[style*="flex"] {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Fix password field eye icon and button styling on Account Details page */
/* Ensure parent containers of password fields are positioned relatively */
/* Only target password inputs within the password fieldset in edit account form */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .password-input-wrapper,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .password-input-wrapper,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .password-input-wrapper,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .password-input-wrapper {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

/* Target parent elements that contain password inputs within fieldset (for browsers that support :has) */
@supports selector(:has(*)) {
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset p:has(input[type="password"]),
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset p:has(input[type="password"]),
  .woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset p:has(input[type="password"]),
  body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset p:has(input[type="password"]),
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset span:has(input[type="password"]),
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset span:has(input[type="password"]),
  .woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset span:has(input[type="password"]),
  body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset span:has(input[type="password"]) {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }
}

/* Only target password inputs within the password fieldset */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset input[type="password"] {
  padding-right: 38px !important;
  width: 100% !important;
  max-width: none !important;
}

/* Ensure password fields are stacked vertically */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset p:has(input[type="password"]),
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset p:has(input[type="password"]),
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset p:has(input[type="password"]),
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset p:has(input[type="password"]) {
  display: block !important;
  width: 100% !important;
  margin-bottom: 15px !important;
}

/* Fallback for browsers that don't support :has() */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset p,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset p,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset p,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset p {
  display: block !important;
  width: 100% !important;
}

/* Fix all password toggle buttons/eye icons - only within password fieldset */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .show-password-input,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .show-password-input,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .show-password-input,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .show-password-input,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset button[type="button"].password-toggle,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset button[type="button"].password-toggle,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset button[type="button"].password-toggle,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset button[type="button"].password-toggle,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .woocommerce-password-toggle,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .woocommerce-password-toggle,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .woocommerce-password-toggle,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .woocommerce-password-toggle,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset button[aria-label*="password" i],
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset button[aria-label*="password" i],
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset button[aria-label*="password" i],
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset button[aria-label*="password" i] {
  position: absolute !important;
  right: 8px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  padding: 4px 6px !important;
  cursor: pointer !important;
  color: #666 !important;
  font-size: 18px !important;
  width: auto !important;
  max-width: none !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

/* Hover styles for password toggle buttons - only within password fieldset */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .show-password-input:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .show-password-input:hover,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .show-password-input:hover,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .show-password-input:hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset button[type="button"].password-toggle:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset button[type="button"].password-toggle:hover,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset button[type="button"].password-toggle:hover,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset button[type="button"].password-toggle:hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .woocommerce-password-toggle:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .woocommerce-password-toggle:hover,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .woocommerce-password-toggle:hover,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .woocommerce-password-toggle:hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset button[aria-label*="password" i]:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset button[aria-label*="password" i]:hover,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset button[aria-label*="password" i]:hover,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset button[aria-label*="password" i]:hover {
  background: transparent !important;
  color: #8d1836 !important;
  transform: translateY(-50%) !important;
  box-shadow: none !important;
}

/* Fix password strength indicator and hint positioning - only within password fieldset */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset #password_strength,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset #password_strength,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset #password_strength,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset #password_strength,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .password_strength,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .password_strength,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .password_strength,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .password_strength {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  left: 0 !important;
  right: auto !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .woocommerce-password-hint,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .woocommerce-password-hint,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .woocommerce-password-hint,
body.woocommerce-account .woocommerce-MyAccount-content form.edit-account fieldset .woocommerce-password-hint {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  margin-top: 5px !important;
  margin-bottom: 0 !important;
  left: 0 !important;
  right: auto !important;
}

/* Gift Card Variation Fields Styling - Apply everywhere gift card information appears */
dl.variation dt,
.variation dt,
dl.variation dt.variation-RecipientName,
dl.variation dt.variation-RecipientEmail,
dl.variation dt.variation-SenderName,
dl.variation dt.variation-SenderMessage {
  font-weight: 700 !important;
}

/* Ensure line breaks are preserved in gift card variation fields */
dl.variation {
  display: block;
}

dl.variation dt,
dl.variation dd {
  display: block;
  margin-bottom: 8px;
}

dl.variation dt {
  font-weight: 700 !important;
  margin-bottom: 4px;
}

dl.variation dd {
  margin-left: 0;
  margin-bottom: 12px;
}

/* Gift Card Item Meta Labels - Only for gift card products */
/* Target wc-item-meta-label when it's within a product that links to gift-card */
.product-name:has(a[href*="gift-card"]) .wc-item-meta-label,
.product-name:has(a[href*="gift-card"]) strong.wc-item-meta-label,
.woocommerce-table__product-name:has(a[href*="gift-card"]) .wc-item-meta-label,
.woocommerce-table__product-name:has(a[href*="gift-card"]) strong.wc-item-meta-label {
  font-weight: 700 !important;
}

/* Fallback for browsers that don't support :has() - target wc-item-meta-label in order/product tables */
/* Only gift cards use these specific meta fields (Recipient Name, Email, Sender Name, Message) */
/* Scoped to order tables and product name cells to avoid affecting other product displays */
.woocommerce-table__order-details .product-name .wc-item-meta .wc-item-meta-label,
.woocommerce-table__order-details .woocommerce-table__product-name .wc-item-meta .wc-item-meta-label,
.woocommerce-table__product-name .wc-item-meta .wc-item-meta-label,
table.woocommerce-table__order-details .wc-item-meta .wc-item-meta-label {
  font-weight: 700 !important;
}

/* =========================================================
   CHECKOUT ONLY - Order review heading
   ========================================================= */
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout h3#order_review_heading,
body.woocommerce-checkout .brxe-woocommerce-checkout-order-review #order_review_heading,
body.woocommerce-checkout .chekout-order_review #order_review_heading {
  color: #0f172a !important;
  font-family: Poppins, sans-serif !important;
  font-size: 22px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: normal !important;
}

/* =========================================================
   CHECKOUT ONLY - Checkbox and Radio Button Styling
   Scope: body.woocommerce-checkout only
   Only changes color, keeps original sizing and positioning
   ========================================================= */

/* Use accent-color for modern browsers - only changes color, not size.
   Exclude PayPal save-card checkbox — it should keep the gateway's native look. */
body.woocommerce-checkout input[type="checkbox"]:not([name="ppcp_card_save_payment"]),
body.woocommerce-checkout input[type="radio"],
body.woocommerce-checkout .woocommerce-form__input-checkbox:not([name="ppcp_card_save_payment"]),
body.woocommerce-checkout .input-checkbox:not([name="ppcp_card_save_payment"]),
body.woocommerce-checkout #terms,
body.woocommerce-checkout #ship-to-different-address-checkbox,
body.woocommerce-checkout #wt_gc_use_store_credit_balance,
body.woocommerce-checkout input[name="wt_gc_use_store_credit_balance"],
body.woocommerce-checkout .wt_gc_checkout_store_credit_balance input[type="checkbox"] {
  accent-color: #8e1837 !important;
}

/* Override any black background color for checked checkboxes on checkout */
body.woocommerce-checkout input[type="checkbox"]:checked:not([name="ppcp_card_save_payment"]),
body.woocommerce-checkout .woocommerce-form__input-checkbox:checked:not([name="ppcp_card_save_payment"]),
body.woocommerce-checkout .input-checkbox:checked:not([name="ppcp_card_save_payment"]),
body.woocommerce-checkout #terms:checked,
body.woocommerce-checkout #ship-to-different-address-checkbox:checked,
body.woocommerce-checkout #wt_gc_use_store_credit_balance:checked,
body.woocommerce-checkout input[name="wt_gc_use_store_credit_balance"]:checked,
body.woocommerce-checkout .wt_gc_checkout_store_credit_balance input[type="checkbox"]:checked,
body.woocommerce-checkout .bu-checkbox-buttons input[type="checkbox"]:checked:not([name="ppcp_card_save_payment"]),
body.woocommerce-checkout .place-order input[type="checkbox"]:checked:not([name="ppcp_card_save_payment"]) {
  background-color: #8e1837 !important;
  accent-color: #8e1837 !important;
}

/* PayPal "save payment method" — do not force brand-red checked styling */
body.woocommerce-checkout input[type="checkbox"][name="ppcp_card_save_payment"],
body.woocommerce-checkout input[type="checkbox"][name="ppcp_card_save_payment"]:checked {
  background-color: revert !important;
  accent-color: auto !important;
}

/* Credit/Debit Card brand strip next to payment method title */
body.woocommerce-checkout label[for="payment_method_ppcp_card"] img.dd-ppcp-card-icons,
body.woocommerce-checkout .payment_method_ppcp_card label img.dd-ppcp-card-icons {
  display: inline-block;
  vertical-align: middle;
  height: 24px;
  width: auto;
  max-width: 207px;
  margin-left: 8px;
}

/* Ensure store credit checkbox matches size of other checkboxes (like terms checkbox) */
body.woocommerce-checkout #wt_gc_use_store_credit_balance,
body.woocommerce-checkout input[name="wt_gc_use_store_credit_balance"],
body.woocommerce-checkout .wt_gc_checkout_store_credit_balance input[type="checkbox"] {
  width: auto;
  height: auto;
  vertical-align: middle;
  margin: 0;
}

body.woocommerce-checkout .wt_gc_checkout_store_credit_balance {
  padding: 15px;
  border: 1px solid #8e1837;
  box-sizing: border-box;
  margin-bottom: 0 !important;
}

body.woocommerce-checkout #brxe-bbb48d,
body.woocommerce-checkout #brxe-562308 {
  border-radius: 10px;
  overflow: hidden;
}

body.woocommerce-checkout form.checkout .form-row input.input-text,
body.woocommerce-checkout form.checkout .form-row input[type="text"],
body.woocommerce-checkout form.checkout .form-row input[type="email"],
body.woocommerce-checkout form.checkout .form-row input[type="tel"],
body.woocommerce-checkout form.checkout .form-row input[type="number"],
body.woocommerce-checkout form.checkout .form-row input[type="password"],
body.woocommerce-checkout form.checkout .form-row select,
body.woocommerce-checkout form.checkout .form-row textarea,
body.woocommerce-checkout #order_review .gtc-checkout-gift-card-code,
body.woocommerce-checkout #order_review .gtc-checkout-wallet-usage-amount,
body.woocommerce-checkout #order_review .gtc-number-field {
  border-radius: 10px !important;
  padding: 12px 16px !important;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
}

body.woocommerce-checkout form.checkout .form-row textarea {
  min-height: 96px;
  resize: vertical;
}

body.woocommerce-checkout form.checkout .form-row .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

body.woocommerce-checkout form.checkout .select2-container {
  width: 100% !important;
}

body.woocommerce-checkout form.checkout .select2-container--default .select2-selection--single {
  border-radius: 10px !important;
  min-height: 48px;
  height: auto;
  padding: 10px 40px 10px 16px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

body.woocommerce-checkout form.checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.4;
}

body.woocommerce-checkout form.checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  top: 0;
  right: 12px;
}

/* Guest checkout: GTC usage UI is in #order_review (relocated or shortcode); hide duplicate top block */
body.dd-gtc-guest-checkout-order-review .before-checkout .gtc-checkout-gift-card-usage-wrapper {
  display: none !important;
}

/*
 * Logged-in checkout: hide Gift Cards Pro usage + wallet boxes.
 * Theme redeem (.dd-checkout-redeem-gift-card) and store-credit checkbox stay visible.
 * Do not remove_action plugin hooks here — that broke checkout redeem previously.
 */
body.logged-in.woocommerce-checkout .gtc-checkout-gift-card-usage-wrapper.gtc-form-wrapper,
body.logged-in.woocommerce-checkout .gtc-checkout-wallet-usage-wrapper.gtc-form-wrapper {
  display: none !important;
}

body.woocommerce-checkout .gtc-form-wrapper {
  padding: 0 !important;
  margin-bottom: 0 !important;
}

/* Override gift card plugin summary styles - remove float: left */
.gtc-gift-card-summary,
.gtc-product-gift-card-summary {
  display: block;
  float: unset !important;
  width: 100%;
}

/* Password toggle :after pseudo-element hover */
.woocommerce-account form .show-password-input:hover:after {
  background-color: transparent !important;
}

/* Remove underline from $0.00 prices in composite products */
/* Override browser default underline for ins elements in composite product prices */
.product-type-composite .price ins,
.product-type-composite .woocommerce-Price-amount ins,
.product-type-composite .amount ins,
.product-type-composite .dd-product-price ins,
.product-type-composite .price,
.product-type-composite .woocommerce-Price-amount,
.product-type-composite .amount,
.product-type-composite .price *,
.product-type-composite .woocommerce-Price-amount *,
.product-type-composite .amount *,
.composite_summary .price ins,
.composite_summary .woocommerce-Price-amount ins,
.composite_summary .amount ins,
.composite_summary .dd-product-price ins,
.composite_summary .price,
.composite_summary .woocommerce-Price-amount,
.composite_summary .amount,
.composite_summary .price *,
.composite_summary .woocommerce-Price-amount *,
.composite_summary .amount *,
.component_option_price .price ins,
.component_option_price .woocommerce-Price-amount ins,
.component_option_price .amount ins,
.component_option_price .dd-product-price ins,
.component_option_price .price,
.component_option_price .woocommerce-Price-amount,
.component_option_price .amount,
.component_option_price .price *,
.component_option_price .woocommerce-Price-amount *,
.component_option_price .amount *,
.composite_product .price ins,
.composite_product .woocommerce-Price-amount ins,
.composite_product .amount ins,
.composite_product .dd-product-price ins,
.composite_product .price,
.composite_product .woocommerce-Price-amount,
.composite_product .amount,
.composite_product .price *,
.composite_product .woocommerce-Price-amount *,
.composite_product .amount *,
.dd-product-price ins {
  text-decoration: none !important;
}

.dd-product-price .dd-composite-from-price,
.dd-suggestion-price .dd-composite-from-price {
  display: inline-block;
  vertical-align: baseline;
}

/* Order details product name link color (thank-you + view order) */
.woocommerce-order-details .shop_table.order_details .product-name a {
  color: #8d1836 !important;
}

/* =========================================================
   COMPOSITE PRODUCT SINGLE PAGE – Quantity button styling
   Match shop page quantity (live-cart-update-wrapper) look:
   maroon bar, rounded, minus | input | plus, same height/colors
   Only style VISIBLE quantity blocks; keep .quantity_hidden hidden.
   ========================================================= */

/* Keep hidden quantity blocks and their wrapper hidden (do not show +/- or input) */
.single-product .product-type-composite .quantity_hidden,
.single-product .product-type-composite .quantity_button:has(.quantity_hidden) {
  display: none !important;
}

/* Only style VISIBLE quantity (no .quantity_hidden): component and main product */
.single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden),
.single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden),
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) {
  display: grid !important;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: 300px;
  height: 44px !important;
  background: #8d1836;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 10px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden) .action.minus,
.single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden) .action.plus,
.single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden) .action.minus,
.single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden) .action.plus,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .action.minus,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .action.plus,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .minus,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .plus {
  grid-row: 1;
  width: 100%;
  height: 100%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  color: #fff !important;
  border: 0 !important;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.05s ease;
}

.single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden) .action.minus,
.single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden) .action.minus,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .action.minus,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .minus {
  grid-column: 1;
}

.single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden) .action.plus,
.single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden) .action.plus,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .action.plus,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .plus {
  grid-column: 3;
}

.single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden) .action.minus:active,
.single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden) .action.plus:active,
.single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden) .action.minus:active,
.single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden) .action.plus:active,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .action.minus:active,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .action.plus:active,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .minus:active,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .plus:active {
  transform: translateY(1px);
}

/* Keep label in center cell so grid order stays minus | input | plus */
.single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden) label.screen-reader-text,
.single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden) label.screen-reader-text,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) label.screen-reader-text {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden) input.qty,
.single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden) input[type="number"],
.single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden) input.qty,
.single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden) input[type="number"],
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) input.qty,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) input[type="number"] {
  grid-column: 2;
  width: 100%;
  height: 100%;
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  outline: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  -moz-appearance: textfield;
}

.single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden) input.qty::-webkit-outer-spin-button,
.single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden) input.qty::-webkit-inner-spin-button,
.single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden) input.qty::-webkit-outer-spin-button,
.single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden) input.qty::-webkit-inner-spin-button,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) input.qty::-webkit-outer-spin-button,
.single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (max-width: 420px) {
  .single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden),
  .single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden),
  .single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) {
    height: 40px;
    grid-template-columns: 56px 1fr 56px;
  }
  .single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden) .action.minus,
  .single-product .product-type-composite .component_wrap .quantity_button .quantity:not(.quantity_hidden) .action.plus,
  .single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden) .action.minus,
  .single-product .product-type-composite .component_wrap .quantity:not(.quantity_hidden) .action.plus,
  .single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .action.minus,
  .single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .action.plus,
  .single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .minus,
  .single-product .product-type-composite .composite_form .quantity:not(.quantity_hidden) .plus {
    font-size: 20px;
  }
}

/* Single product – related/slider product cards: full-width quantity & CTA (not composite form) */
.single-product .dd-product-card-wrap .dd-product-actions,
.single-product .dd-product-card-wrap .dd-qty-wrap,
.single-product .dd-product-card-wrap .live-cart-update-wrapper,
.single-product .dd-product-card-wrap .live-cart-update-wrapper .quantity,
.single-product .dd-product-card-wrap .dd-create-dish-btn {
  width: 100%;
  max-width: 100%;
}

/* =========================================================
   COMPOSITE – Hide component summary for thumbnail add-ons
   (Available Add-Ons: product details, image, description,
   quantity controls, product tabs when an option is selected)
   ========================================================= */
.product-type-composite .options-style-thumbnails .component_content {
  display: none !important;
}

/* =========================================================
   COMPOSITE – Grouped thumbnail add-ons grid
   Wrapper and grid styles for dd-composite-thumbnails-grid.js
   Uses display:contents so thumbnails stay in place (plugin works normally)
   while appearing in one unified grid.
   ========================================================= */
.dd-thumbnail-addons-grid-wrapper {
  display: block;
  margin-top: 1rem;
  background: whitesmoke;
  max-width: 993px;
  width: 100%;
  margin-top: 30px;
  padding: 20px;
}
.dd-thumbnail-addons-grid-wrapper .dd-thumbnail-addons-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.dd-thumbnail-addons-grid-wrapper .dd-thumbnail-addons-grid-heading {
  font-weight: 600;
  margin: 0;
}
.dd-thumbnail-addons-grid-wrapper .dd-clear-thumbnail-addons {
  font-size: 0.9em;
  color: #8d1836;
}
.dd-thumbnail-addons-grid-wrapper .dd-clear-thumbnail-addons:hover {
  text-decoration: underline;
}

/* Unified grid – thumbnails from all components flow into one grid */
.dd-addons-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}
.dd-addons-grid .composite_component {
  display: contents;
}
.dd-addons-grid .component_content,
.dd-addons-grid .component_title_wrapper,
.dd-addons-grid .component_description_wrapper,
.dd-addons-grid .component_title,
.dd-addons-grid .component_section_title {
  display: none !important;
}

.dd-thumbnail-addons-grid-wrapper .component_option_thumbnail_container {
  width: 100% !important;
}
.dd-thumbnail-addons-grid-wrapper .thumbnail_buttons .component_option_thumbnail_select {
  width: 100%;
}
.dd-addons-grid .component_inner,
.dd-addons-grid .component_selections,
.dd-addons-grid .component_options,
.dd-addons-grid .component_options_inner,
.dd-addons-grid .component_option_thumbnails {
  display: contents;
}
/* Hide pseudo-elements that take grid space – scoped to add-ons block only */
.dd-thumbnail-addons-grid-wrapper .composite_component::before,
.dd-thumbnail-addons-grid-wrapper .composite_component::after,
.dd-thumbnail-addons-grid-wrapper .component::before,
.dd-thumbnail-addons-grid-wrapper .component::after,
.dd-thumbnail-addons-grid-wrapper .component_inner::before,
.dd-thumbnail-addons-grid-wrapper .component_inner::after,
.dd-thumbnail-addons-grid-wrapper .cp_clearfix::after {
  display: none !important;
  content: none !important;
}
.dd-addons-grid .component_option_thumbnails > li {
  margin: 0;
  list-style: none;
}

/* Add-on grid: only the Select button (not the card). !important wins over .woocommerce .button. */
.product-type-composite .dd-thumbnail-addons-grid-wrapper .thumbnail_buttons button.button.component_option_thumbnail_select,
.product-type-composite .dd-thumbnail-addons-grid-wrapper .thumbnail_buttons .component_option_thumbnail_select.button,
.product-type-composite .dd-thumbnail-addons-grid-wrapper .component_option_thumbnail_select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  font-family: Poppins, sans-serif !important;
  font-size: 18px !important;
  font-style: normal;
  font-weight: 600 !important;
  line-height: normal !important;
  text-align: center;
  text-shadow: none !important;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  box-shadow: none !important;
  background-image: none !important;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  border: 1px solid #8e1837 !important;
  background: #8e1837 !important;
  color: #fff !important;
}

.product-type-composite .dd-thumbnail-addons-grid-wrapper .component_option_thumbnail.selected .component_option_thumbnail_select,
.product-type-composite .dd-thumbnail-addons-grid-wrapper .component_option_thumbnail.selected button.button.component_option_thumbnail_select {
  background: rgba(10, 109, 0, 0.1) !important;
  border: 1px solid #0a6d00 !important;
  color: #0a6d00 !important;
}

.product-type-composite .dd-thumbnail-addons-grid-wrapper .component_option_thumbnail_select:hover,
.product-type-composite .dd-thumbnail-addons-grid-wrapper .component_option_thumbnail_select:focus {
  opacity: 0.95;
}

/* Price + "each" on one centered row in the add-on cards */
.product-type-composite .dd-thumbnail-addons-grid-wrapper .thumbnail_price.price,
.product-type-composite .dd-thumbnail-addons-grid-wrapper .thumbnail_description .thumbnail_price {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  text-align: center;
  width: 100%;
}

.product-type-composite .dd-thumbnail-addons-grid-wrapper .thumbnail_price .component_option_each {
  white-space: nowrap;
}

/* Optional: remove duplicate check overlay on image (text is "Selected ✓" on the button). */
.product-type-composite .dd-thumbnail-addons-grid-wrapper .component_option_thumbnail.selected .thumbnail_image::before,
.product-type-composite .dd-thumbnail-addons-grid-wrapper .component_option_thumbnail.selected .thumbnail_image::after,
.product-type-composite .dd-thumbnail-addons-grid-wrapper .component_option_thumbnail.selected .image::before,
.product-type-composite .dd-thumbnail-addons-grid-wrapper .component_option_thumbnail.selected .image::after {
  content: none !important;
  display: none !important;
}

/* GTC redeem gift card form (Store Credit page) */
.gtc-form-wrapper {
  background: #ffffff !important;
  border: 1px solid #e9ecef !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
}
.gtc-redeem-gift-card-form-title,
.gtc-gift-card-available-balance-form-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #212529 !important;
  margin: 0 0 20px 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #f1f3f5 !important;
}
.gtc-redeem-gift-card-code,
.gtc-gift-card-available-balance-code {
  padding: 12px 16px !important;
  border: 1px solid #ced4da !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  width: 100% !important;
  max-width: 400px !important;
  transition: all 0.2s ease !important;
  margin-right: 12px !important;
  margin-bottom: 12px !important;
}
.gtc-redeem-gift-card-code:focus,
.gtc-gift-card-available-balance-code:focus {
  outline: none !important;
  border-color: #8b1d3a !important;
  box-shadow: 0 0 0 3px rgba(139, 29, 58, 0.1) !important;
}
.brxe-woocommerce-account-page .woocommerce .woocommerce-MyAccount-content input.gtc-form-btn,
.brxe-woocommerce-account-page .woocommerce .woocommerce-MyAccount-content input.gtc-redeem-gift-card-form-btn,
.brxe-woocommerce-account-page .woocommerce .woocommerce-MyAccount-content input.gtc-gift-card-available-balance-form-btn,
.woocommerce-MyAccount-content input.gtc-form-btn,
.woocommerce-MyAccount-content input.gtc-redeem-gift-card-form-btn,
.woocommerce-MyAccount-content input.gtc-gift-card-available-balance-form-btn,
.gtc-form-wrapper input.gtc-form-btn,
.gtc-form-wrapper input.gtc-redeem-gift-card-form-btn,
.gtc-form-wrapper input.gtc-gift-card-available-balance-form-btn,
.gtc-form-wrapper .gtc-form-btn,
.gtc-form-wrapper .gtc-redeem-gift-card-form-btn,
.gtc-form-wrapper .gtc-gift-card-available-balance-form-btn,
.woocommerce-MyAccount-content .gtc-form-btn,
.woocommerce-MyAccount-content .gtc-redeem-gift-card-form-btn,
.woocommerce-MyAccount-content .gtc-gift-card-available-balance-form-btn,
.gtc-form-btn,
.gtc-redeem-gift-card-form-btn,
.gtc-gift-card-available-balance-form-btn {
  padding: 0.6em 1.2em !important;
  background: #8b1d3a !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
}
.brxe-woocommerce-account-page .woocommerce .woocommerce-MyAccount-content input.gtc-form-btn:hover,
.brxe-woocommerce-account-page .woocommerce .woocommerce-MyAccount-content input.gtc-redeem-gift-card-form-btn:hover,
.brxe-woocommerce-account-page .woocommerce .woocommerce-MyAccount-content input.gtc-gift-card-available-balance-form-btn:hover,
.woocommerce-MyAccount-content input.gtc-form-btn:hover,
.woocommerce-MyAccount-content input.gtc-redeem-gift-card-form-btn:hover,
.woocommerce-MyAccount-content input.gtc-gift-card-available-balance-form-btn:hover,
.gtc-form-wrapper input.gtc-form-btn:hover,
.gtc-form-wrapper input.gtc-redeem-gift-card-form-btn:hover,
.gtc-form-wrapper input.gtc-gift-card-available-balance-form-btn:hover,
.woocommerce-MyAccount-content .gtc-form-btn:hover,
.woocommerce-MyAccount-content .gtc-redeem-gift-card-form-btn:hover,
.woocommerce-MyAccount-content .gtc-gift-card-available-balance-form-btn:hover,
.gtc-form-wrapper .gtc-form-btn:hover,
.gtc-form-wrapper .gtc-redeem-gift-card-form-btn:hover,
.gtc-form-wrapper .gtc-gift-card-available-balance-form-btn:hover,
.gtc-form-btn:hover,
.gtc-redeem-gift-card-form-btn:hover,
.gtc-gift-card-available-balance-form-btn:hover {
  background: #a11d41 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(139, 29, 58, 0.2) !important;
}
.gtc-redeem-gift-card-content,
.gtc-gift-card-available-balance-content {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: flex-start !important;
}
@media (max-width: 768px) {
  .gtc-redeem-gift-card-code,
  .gtc-gift-card-available-balance-code {
    max-width: 100% !important;
    margin-right: 0 !important;
  }
  .gtc-form-btn,
  .gtc-redeem-gift-card-form-btn,
  .gtc-gift-card-available-balance-form-btn {
    width: 100% !important;
  }
  .gtc-redeem-gift-card-content,
  .gtc-gift-card-available-balance-content {
    flex-direction: column !important;
  }
}

/* Checkout: redeem gift card (matches the layout of the standard coupon form) */
.dd-checkout-redeem-gift-card {
  margin-bottom: 1em;
}
/* Keep "Have a gift card?" + yellow link as one inline sentence (Woo/Bricks often float the link right). */
.dd-checkout-redeem-gift-card > .woocommerce-info {
  display: block !important;
  text-align: left !important;
  white-space: normal !important;
}
.dd-checkout-redeem-gift-card > .woocommerce-info::before,
.dd-checkout-redeem-gift-card > .woocommerce-info::after {
  display: none !important;
}
.dd-checkout-redeem-gift-card > .woocommerce-info a.dd-show-gtc-redeem {
  float: none !important;
  display: inline !important;
  margin: 0 0 0 0.35em !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  position: static !important;
  white-space: normal !important;
}
.dd-checkout-redeem-gift-card .dd-gtc-redeem-form {
  margin-top: 0.5em;
}
.dd-checkout-redeem-gift-card .dd-gtc-redeem-form .form-row-first {
  width: 50%;
  float: left;
  padding-right: 0.5em;
  box-sizing: border-box;
}
.dd-checkout-redeem-gift-card .dd-gtc-redeem-form .form-row-last {
  width: 50%;
  float: left;
  padding-left: 0.5em;
  box-sizing: border-box;
}
.dd-checkout-redeem-gift-card .dd-gtc-redeem-code {
  width: 100%;
}
.dd-checkout-redeem-gift-card .dd-gtc-redeem-btn {
  width: 100%;
  background-color: #8e1837 !important;
  border-color: #8e1837 !important;
  color: #fff !important;
}
.dd-checkout-redeem-gift-card .dd-gtc-redeem-btn:hover {
  background-color: #6e1229 !important;
  border-color: #6e1229 !important;
}
@media (max-width: 600px) {
  .dd-checkout-redeem-gift-card .dd-gtc-redeem-form .form-row-first,
  .dd-checkout-redeem-gift-card .dd-gtc-redeem-form .form-row-last {
    width: 100%;
    float: none;
    padding: 0;
  }
  .dd-checkout-redeem-gift-card .dd-gtc-redeem-btn {
    margin-top: 0.5em;
  }
}

/* Coupon must not live inside form.checkout (nested <form> is invalid; Apply submits the whole checkout). */
body.woocommerce-checkout form.checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout form.checkout_coupon {
  display: none !important;
}

/* Coupon area: default Woo position is woocommerce_before_checkout_form (outside main checkout form) */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon {
  margin-bottom: 1rem;
}
body.woocommerce-checkout form.checkout_coupon {
  position: relative;
}

/* Product page: hide Bricks Woo notice holder (promo applied / stacked success flashes). */
body.single-product .woo-notice-holder,
body.single-product #brxe-lysiai {
  display: none !important;
}

/* Hide default notices strip on checkout (not order-received). */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-notices-wrapper {
  display: none !important;
}

/* Hide AJAX update-order-review notices (scraped into typed .dd-checkout-notice boxes). */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-NoticeGroup-updateOrderReview {
  display: none !important;
}

/*
 * Checkout notices: only custom typed boxes are shown (.dd-checkout-notice--error/success/info).
 * Hide Woo's NoticeGroup entirely (errors may be nested under [role="alert"], not direct children).
 * The group stays in the DOM so JS can still scrape messages into the custom boxes.
 * Also hide the standalone billing tip (folded into the error box when errors show).
 */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-NoticeGroup-checkout,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout > .woocommerce-error,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout > .woocommerce-message,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout > .woocommerce-info,
body.woocommerce-checkout:not(.woocommerce-order-received) .dd-checkout-billing-card-tip {
  display: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .dd-checkout-notices,
body.woocommerce-checkout:not(.woocommerce-order-received) .dd-checkout-notice,
body.woocommerce-checkout:not(.woocommerce-order-received) .dd-checkout-validation-summary {
  display: block !important;
}

body.woocommerce-checkout .wt_coupon_wrapper,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .checkout_coupon,
body.woocommerce-checkout .wt_sc_pagination {
  display: none !important;
}

/* componsite products */
.product-type-composite #brxe-kwutsu {
  flex-direction: column;
  align-items: center;
}

.product-type-composite #brxe-mlojov > #brxe-mvbfyp {
  display: flex;
  justify-content: center;
}

.product-type-composite #brxe-mvbfyp > #brxe-livpjp {
  margin: auto;
}

.product-type-composite #brxe-gklxha {
  text-align: center;
}

.product-type-composite #brxe-adrguv {
  display: none;
}

.product-type-composite #brxe-dznwzv.brxe-text-link.secondary-cta {
  display: none !important;
}

.product-type-composite #brxe-fkgaah p {
  text-align: center;
}

.product-type-composite .composite_component,
.product-type-composite .dd-thumbnail-addons-grid-wrapper {
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
}

.product-type-composite .component_title_text.step_title_text,
.product-type-composite .dd-thumbnail-addons-grid-wrapper .dd-thumbnail-addons-grid-heading {
  color: #8E1837;
  font-family: Poppins;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.ps-tab-wrapper.dd-ps-product-tabs .ps-tab-content {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  font-size: 16px;
  line-height: 1.5;
}

.ps-tab-wrapper.dd-ps-product-tabs .ps-accordion-panel.ps-tab-content p,
.ps-tab-wrapper.dd-ps-product-tabs .ps-accordion-panel.ps-tab-content li,
.ps-tab-wrapper.dd-ps-product-tabs .ps-accordion-panel.ps-tab-content .ps-pdf-file-link {
  font-size: 16px;
  width: auto;
  align-self: flex-start;
}

.ps-tab-wrapper.dd-ps-product-tabs .dd-pdp-additional-tax .dd-tax-strip-group__title {
  font-size: 16px;
  line-height: 1.4;
}

.ps-tab-wrapper.dd-ps-product-tabs .dd-pdp-additional-tax .dd-tax-chip-label {
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 1050px) {
  .ps-tab-wrapper.dd-ps-product-tabs > .ps-accordion-panel.ps-tab-content {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-radius: 0;
  }
}

@media (min-width: 1051px) {
  .ps-tab-wrapper.dd-ps-product-tabs > .ps-accordion-header:first-of-type {
    border-top-left-radius: 20px;
  }

  .ps-tab-wrapper.dd-ps-product-tabs > .ps-accordion-header:last-of-type {
    border-top-right-radius: 20px;
  }
}

.product-type-composite .selected_option_label {
  color: rgba(0, 0, 0, 0.70);
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.product-type-composite .dd-thumbnail-addons-grid-wrapper .component_option_thumbnails_container,
.product-type-composite .dd-thumbnail-addons-grid-wrapper .component_option_thumbnails_container li {
  display: flex;
  align-items: stretch;
  margin: 0;
}
.product-type-composite .dd-thumbnail-addons-grid-wrapper .component_option_thumbnails_container li > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-type-composite #brxe-agxcdc {
  margin: auto;
}

.product-type-composite .composite_data {
  justify-content: center;
  margin-top: 30px;
}
.product-type-composite .composite_data .price {
  text-align: center;
  margin-bottom: 0;
  color: #8E1837;
  font-family: Poppins;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.product-type-composite .composite_data .composite_button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-type-composite .composite_data .composite_button .quantity {
  margin: 0;
  margin-right: 0!important;
  margin-left: 0;
}

.product-type-composite .radio_button_description {
  display: flex!important;
  gap: 15px;
}

.product-type-composite .radio_button_description .woocommerce-Price-amount.amount {
  color: #8E1837;
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.product-type-composite .composited_product_details_wrapper .woocommerce-Price-amount.amount {
  color: #8E1837;
  font-family: Poppins;
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* Checkout cart errors - friendly styled notice */
.dd-cart-errors-friendly {
  background: #f9f5f3;
  border: 1px solid #e8ddd7;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.dd-cart-errors-friendly .dd-cart-errors-message {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

.dd-cart-errors-friendly .dd-cart-errors-actions {
  margin: 1rem 0 0 0;
}

.dd-cart-errors-friendly .button.wc-backward {
  background: #8E1837;
  color: #fff;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.dd-cart-errors-friendly .button.wc-backward:hover {
  background: #72142c;
  color: #fff;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details .product-quantity del{
  color: red;
  font-weight: bold;
  font-size: 16px;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details .product-quantity ins{
  font-weight: bold;
  font-size: 16px;
}

/* Order confirmation (thank you): Poppins + order details table layout */
body.woocommerce-order-received .woocommerce-order,
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-thankyou-order-details,
body.woocommerce-order-received .woocommerce-order-details .shop_table.order_details {
  font-family: Poppins, sans-serif;
}

body.woocommerce-order-received ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
  border-radius: 10px;
  overflow: hidden;
}

body.woocommerce-order-received h2.woocommerce-order-details__title {
  margin-top: 30px;
}

body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details thead th,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details thead th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details thead th.product-name,
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details thead th.product-total,
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details thead th.woocommerce-table__product-name,
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details thead th.woocommerce-table__product-total {
  border: none !important;
  border-bottom: none !important;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details thead,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details thead,
body.woocommerce-order-received .brxe-woocommerce-checkout-thankyou .woocommerce-order-details table.shop_table.order_details thead,
body.woocommerce-order-received .brxe-woocommerce-checkout-thankyou .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details thead {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details thead > tr,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details thead > tr {
  box-shadow: none !important;
}

/* Product total column only (thead + line items — not tfoot labels) */
.woocommerce-order-received .woocommerce-table.woocommerce-table--order-details.shop_table.order_details thead th:last-of-type {
  width: 10%;
}

.woocommerce-order-received .woocommerce-table__line-item td:last-of-type {
  width: 10%;
}

.woocommerce-order-received .woocommerce-table__line-item td:last-of-type span {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tbody {
  border-bottom: none !important;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tbody > tr.woocommerce-table__line-item.order_item,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tbody > tr.woocommerce-table__line-item.order_item,
body.woocommerce-order-received .brxe-woocommerce-checkout-thankyou .woocommerce-order-details table.shop_table.order_details tbody > tr.woocommerce-table__line-item.order_item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
  box-shadow: none !important;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tbody tr.woocommerce-table__line-item.order_item td,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tbody tr.woocommerce-table__line-item.order_item td,
body.woocommerce-order-received .brxe-woocommerce-checkout-thankyou .woocommerce-order-details table.shop_table.order_details tbody tr.woocommerce-table__line-item.order_item td {
  border-top: none !important;
  border-bottom: none !important;
}

/* Totals footer: full-width rows with label left, value right */
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot {
  display: block;
  width: 100%;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr:not(.dd-order-print-actions-row):not(:has(.order-actions-button)),
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:not(.dd-order-print-actions-row):not(:has(.order-actions-button)) {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr:not(.dd-order-print-actions-row):not(:has(.order-actions-button)) th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr:not(.dd-order-print-actions-row):not(:has(.order-actions-button)) td,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:not(.dd-order-print-actions-row):not(:has(.order-actions-button)) th,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:not(.dd-order-print-actions-row):not(:has(.order-actions-button)) td {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  float: none !important;
  flex: 0 1 auto;
  vertical-align: top;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr th {
  padding-left: 0 !important;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr:not(.dd-order-print-actions-row):not(:has(.order-actions-button)) th,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:not(.dd-order-print-actions-row):not(:has(.order-actions-button)) th {
  flex: 1 1 auto;
  text-align: left !important;
  padding: 10px 16px 10px 0 !important;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  font-weight: 500;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr:not(.dd-order-print-actions-row):not(:has(.order-actions-button)):not(.customer_note):not(.dd-order-note-row) td,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:not(.dd-order-print-actions-row):not(:has(.order-actions-button)):not(.customer_note):not(.dd-order-note-row) td {
  flex: 0 0 auto;
  text-align: right !important;
  padding: 10px 16px !important;
  white-space: nowrap;
}

/*
 * Customer order note (Woo tr.customer_note): stack label + text full width.
 * Side-by-side flex + nowrap on value cells was forcing the note off-screen.
 */
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr.customer_note,
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr.dd-order-note-row,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr.customer_note,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr.dd-order-note-row,
body.woocommerce-order-received .brxe-woocommerce-checkout-thankyou .woocommerce-order-details table.shop_table.order_details tfoot tr.customer_note,
body.woocommerce-order-received .brxe-woocommerce-checkout-thankyou .woocommerce-order-details table.shop_table.order_details tfoot tr.dd-order-note-row {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 2px;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr.customer_note th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr.dd-order-note-row th,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr.customer_note th,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr.dd-order-note-row th,
body.woocommerce-order-received .brxe-woocommerce-checkout-thankyou .woocommerce-order-details table.shop_table.order_details tfoot tr.customer_note th,
body.woocommerce-order-received .brxe-woocommerce-checkout-thankyou .woocommerce-order-details table.shop_table.order_details tfoot tr.dd-order-note-row th {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  text-align: left !important;
  padding: 10px 16px 0 0 !important;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr.customer_note td,
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr.dd-order-note-row td,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr.customer_note td,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr.dd-order-note-row td,
body.woocommerce-order-received .brxe-woocommerce-checkout-thankyou .woocommerce-order-details table.shop_table.order_details tfoot tr.customer_note td,
body.woocommerce-order-received .brxe-woocommerce-checkout-thankyou .woocommerce-order-details table.shop_table.order_details tfoot tr.dd-order-note-row td {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  text-align: left !important;
  padding: 4px 16px 10px 0 !important;
}

body.woocommerce-order-received .woocommerce-order-details .dd-order-note-text,
body.woocommerce-account .woocommerce-order-details .dd-order-note-text {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot tr.customer_note td,
body.woocommerce-account .woocommerce-order-details table.shop_table.order_details tfoot tr.dd-order-note-row td,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr.customer_note td,
body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details tfoot tr.dd-order-note-row td,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot tr.customer_note td,
body.woocommerce-account .woocommerce-order-details table.dd-order-details-table tfoot tr.dd-order-note-row td {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  width: auto !important;
  max-width: none !important;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr.dd-order-date-row {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr.dd-order-date-row th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr.dd-order-date-row td {
  border-top: none;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr.dd-order-print-actions-row td,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr.dd-order-print-actions-row td,
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot tr:has(.order-actions-button) td,
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:has(.order-actions-button) td {
  display: flex !important;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: left !important;
  padding: 16px 16px 16px 0 !important;
}

body.woocommerce-order-received .order-print a[href*="print-order-type=receipt"] {
  display: none !important;
}

body.woocommerce-order-received .order-print {
  margin-top: var(--space-l, 24px);
  text-align: right;
}

body.woocommerce-order-received .order-print a.dd-print-invoice-button,
body.woocommerce-order-received .order-print a[href*="print-order-type=invoice"],
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot .order-actions-button,
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot .dd-print-invoice-button {
  background-color: var(--action, #8d1836) !important;
  padding: 10px 20px !important;
  color: var(--white, #fff) !important;
  text-transform: none !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  transition: all 0.3s ease-in-out !important;
  border-radius: 10px !important;
  border: none !important;
  text-decoration: none !important;
  display: inline-block !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

body.woocommerce-order-received .brxe-woocommerce-checkout-thankyou ~ a.brxe-text-link {
  text-transform: none !important;
}

body.woocommerce-order-received .order-print a.dd-print-invoice-button:hover,
body.woocommerce-order-received .order-print a[href*="print-order-type=invoice"]:hover,
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot .order-actions-button:hover,
body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot .dd-print-invoice-button:hover {
  background-color: var(--action-hover, #a11d41) !important;
  color: var(--white, #fff) !important;
}

body.woocommerce-order-received .woocommerce-order-details table.shop_table.order_details tfoot:has(.order-actions-button) td .order-actions-button {
  margin: 0 !important;
}

body.woocommerce-order-received .order-print a.dd-print-invoice-button,
body.woocommerce-order-received .order-print a[href*="print-order-type=invoice"] {
  margin-top: var(--space-l, 24px) !important;
}

body.woocommerce-order-received section.woocommerce-customer-details {
  padding: 35px !important;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  box-sizing: border-box;
}

/* Address columns: full-width flex layout matching My Account → view-order */
body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
  width: 100% !important;
  box-sizing: border-box;
  float: none !important;
  overflow: visible;
}

body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses .col-1,
body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses .col-2 {
  flex: 1 1 0 !important;
  width: auto !important;
  float: none !important;
  padding: 20px;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-sizing: border-box;
  min-width: 0;
}

/* Heading colour to match My Account view-order style */
body.woocommerce-order-received .woocommerce-customer-details h2.woocommerce-column__title {
  color: #8d1836;
  font-weight: 600;
  margin-top: 0;
}

#billing_postcode_field,
#shipping_postcode_field {
  display: none!important;
}
.delivery-address-list {
  height: 400px;
  overflow: scroll;
}

/* Xoo side cart: method + date (see dd_wsc_render_delivery_brief) */
.xoo-wsc-container .dd-wsc-delivery-brief {
  padding: 10px 14px 8px;
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #2c3338;
}
.xoo-wsc-container .dd-wsc-delivery-brief__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
}
.xoo-wsc-container .dd-wsc-delivery-brief__method {
  font-weight: 600;
  white-space: nowrap;
}
.xoo-wsc-container .dd-wsc-delivery-brief__sep {
  opacity: 0.45;
  user-select: none;
}
.xoo-wsc-container .dd-wsc-delivery-brief__date {
  flex: 1 1 140px;
  min-width: 0;
}
/* Match header date; shortcode may still set #8e1837 */
.xoo-wsc-container .dd-wsc-delivery-brief__date .dd-wsc-delivery-brief__date-inner > div {
  text-align: left !important;
}

/* Xoo side cart: per-unit price (subtotal shown in .xoo-wsc-smr-ptotal) */
.xoo-wsc-container .xoo-wsc-pprice {
  display: none;
}

/* Xoo side cart: hide Product Bundles container row when it is a composite component (parent line only) */
.xoo-wsc-products .xoo-wsc-product.dd-wsc-hide-bundle-in-composite {
  display: none !important;
}

/* Store pickup: "Delivery Fee" row is omitted in templates/side-cart-woocommerce/global/footer/totals.php
   (session chosen rate local_pickup:*). Do not use body{…} display:none for this — body class is stale
   after AJAX shipping changes. */

/* Empty cart: dim + non-interactive checkout (header Bricks link + Xoo side cart) */
#brxe-5891fa.dd-checkout-disabled,
a.xoo-wsc-ft-btn-checkout.dd-checkout-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

/* Side cart checkout: keep filled brand button on hover (do not clear background).
   High specificity beats Bricks custom CSS that sets background transparent on :hover. */
html body .xoo-wsc-container a.xoo-wsc-ft-btn-checkout,
html body .xoo-wsc-container a.xoo-wsc-ft-btn-checkout:hover,
html body .xoo-wsc-container a.xoo-wsc-ft-btn-checkout:focus,
html body .xoo-wsc-container a.xoo-wsc-ft-btn-checkout:active,
html body .xoo-wsc-container a.xoo-wsc-ft-btn.xoo-wsc-ft-btn-checkout,
html body .xoo-wsc-container a.xoo-wsc-ft-btn.xoo-wsc-ft-btn-checkout:hover,
html body .xoo-wsc-container a.xoo-wsc-ft-btn.xoo-wsc-ft-btn-checkout:focus,
html body .xoo-wsc-container a.xoo-wsc-ft-btn.xoo-wsc-ft-btn-checkout:active {
  background: #8e1837 !important;
  background-color: #8e1837 !important;
  background-image: none !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  padding: 16px 24px !important;
  font-size: 12px !important;
  border-radius: 4px !important;
  border: 1px solid #666666 !important;
  opacity: 1 !important;
}

/* Bricks text link: keep brand color on hover; no --action-hover fill or scale (overrides Bricks global) */
.secondary-cta.brxe-text-link:hover {
  color: #8e1837 !important;
  background-color: transparent !important;
  transform: none !important;
}

/* [ps_pdf_files] — ACF repeater file links (Bricks) */
.ps-pdf-files-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.ps-pdf-file-link {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background: #fff;
  border: 1px solid #8e1837;
  color: #8e1837;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-weight: 500;
}

.ps-pdf-file-link:hover,
.ps-pdf-file-link:focus {
  color: #8e1837;
  background: #fdf2f4;
  border-color: #8e1837;
  text-decoration: none;
}

.ps-tab-wrapper.dd-ps-product-tabs .ps-pdf-files-list {
  margin-top: 1rem;
}

/* VPD: pre-order / delayed delivery date change modal (wins over inline + Woo .button) */
#modalOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10050; /* above in-grid UI; below quick view when open */
}

#modalOverlay #popup,
#modalOverlay .dd-vpd-popup {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: #fff !important;
  padding: 20px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  box-sizing: border-box !important;
  width: min(calc(100vw - 32px), 500px) !important;
  max-width: 500px !important;
  min-width: 0 !important;
}

@media (max-width: 480px) {
  #modalOverlay #popup,
  #modalOverlay .dd-vpd-popup {
    width: calc(100vw - 24px) !important;
    max-width: 100% !important;
    padding: 16px !important;
  }
}

#modalOverlay #popup-header {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
}

#modalOverlay #popup-header img {
  height: 25px;
  width: auto;
}

#modalOverlay .dd-vpd-modal-actions,
#modalOverlay #popup-buttons,
#modalOverlay #popup > div:has(> #yesBtn) {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 12px 0 0 !important;
  text-align: initial !important;
  padding: 0 !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}

#modalOverlay .dd-vpd-btn,
#modalOverlay #yesBtn,
#modalOverlay #noBtn,
#modalOverlay button#yesBtn,
#modalOverlay button#noBtn,
#modalOverlay button.button#yesBtn,
#modalOverlay button.button#noBtn {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border-radius: 10px !important;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  padding: 0.65rem 0.75rem !important;
  cursor: pointer !important;
  text-align: center !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  background-image: none !important;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (max-width: 480px) {
  #modalOverlay .dd-vpd-btn,
  #modalOverlay #yesBtn,
  #modalOverlay #noBtn {
    font-size: 0.9rem !important;
    padding: 0.55rem 0.4rem !important;
  }
}

#modalOverlay #yesBtn,
#modalOverlay .dd-vpd-btn--primary {
  background: #8e1837 !important;
  color: #fff !important;
  border: 1px solid #8e1837 !important;
}

#modalOverlay #yesBtn:hover,
#modalOverlay .dd-vpd-btn--primary:hover {
  opacity: 0.95 !important;
}

#modalOverlay #noBtn,
#modalOverlay .dd-vpd-btn--secondary {
  background: #fff !important;
  color: #8e1837 !important;
  border: 1px solid #8e1837 !important;
}

#modalOverlay #noBtn:hover,
#modalOverlay .dd-vpd-btn--secondary:hover {
  background: #fff5f6 !important;
}

/* Checkout: shipping address change modal — same card + 50/50 buttons as VPD (#modalOverlay) */
#dd-checkout-shipping-dest-modal.dd-checkout-shipping-dest-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10060;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

#dd-checkout-shipping-dest-modal .dd-ship-dest-popup.dd-vpd-popup {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  background: #fff !important;
  padding: 20px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  box-sizing: border-box !important;
  width: min(calc(100vw - 32px), 500px) !important;
  max-width: 500px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

@media (max-width: 480px) {
  #dd-checkout-shipping-dest-modal .dd-ship-dest-popup.dd-vpd-popup {
    width: calc(100vw - 24px) !important;
    max-width: 100% !important;
    padding: 16px !important;
  }
}

#dd-checkout-shipping-dest-modal .dd-ship-dest-popup-header {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
}

#dd-checkout-shipping-dest-modal .dd-ship-dest-warning-icon {
  height: 25px;
  width: auto;
  flex-shrink: 0;
}

#dd-checkout-shipping-dest-modal .dd-vpd-modal-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 12px 0 0 !important;
  text-align: initial !important;
  padding: 0 !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}

#dd-checkout-shipping-dest-modal .dd-vpd-btn {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border-radius: 10px !important;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  padding: 0.65rem 0.75rem !important;
  cursor: pointer !important;
  text-align: center !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  background-image: none !important;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (max-width: 480px) {
  #dd-checkout-shipping-dest-modal .dd-vpd-btn {
    font-size: 0.9rem !important;
    padding: 0.55rem 0.4rem !important;
  }
}

#dd-checkout-shipping-dest-modal .dd-vpd-btn--primary {
  background: #8e1837 !important;
  color: #fff !important;
  border: 1px solid #8e1837 !important;
}

#dd-checkout-shipping-dest-modal .dd-vpd-btn--primary:hover {
  opacity: 0.95 !important;
}

#dd-checkout-shipping-dest-modal .dd-vpd-btn--secondary {
  background: #fff !important;
  color: #8e1837 !important;
  border: 1px solid #8e1837 !important;
}

#dd-checkout-shipping-dest-modal .dd-vpd-btn--secondary:hover {
  background: #fff5f6 !important;
}

/* Checkout: order cutoff / date-updated modal — same card + brand buttons as VPD (#modalOverlay), stacked actions */
#dd-checkout-date-guard-modal.dd-checkout-date-guard-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10060;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

#dd-checkout-date-guard-modal.dd-cdg-open {
  display: flex;
}

#dd-checkout-date-guard-modal .dd-cdg-card.dd-vpd-popup {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  background: #fff !important;
  padding: 22px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  box-sizing: border-box !important;
  width: min(calc(100vw - 32px), 460px) !important;
  max-width: 460px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

@media (max-width: 480px) {
  #dd-checkout-date-guard-modal .dd-cdg-card.dd-vpd-popup {
    width: calc(100vw - 24px) !important;
    max-width: 100% !important;
    padding: 16px !important;
  }
}

#dd-checkout-date-guard-modal .dd-cdg-title {
  margin: 0 0 12px !important;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
}

#dd-checkout-date-guard-modal .dd-cdg-body {
  margin: 0;
}

#dd-checkout-date-guard-modal .dd-cdg-body .dd-cdg-line {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #4b5563;
}

#dd-checkout-date-guard-modal .dd-cdg-body .dd-cdg-line:last-child {
  margin-bottom: 0;
}

#dd-checkout-date-guard-modal .dd-cdg-body .dd-cdg-highlight {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: #8e1837;
}

#dd-checkout-date-guard-modal .dd-cdg-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 18px 0 0 !important;
}

#dd-checkout-date-guard-modal .dd-vpd-btn {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border-radius: 10px !important;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  padding: 0.65rem 0.9rem !important;
  cursor: pointer !important;
  text-align: center !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  background-image: none !important;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#dd-checkout-date-guard-modal .dd-vpd-btn:disabled {
  opacity: 0.6 !important;
  cursor: default !important;
}

@media (max-width: 480px) {
  #dd-checkout-date-guard-modal .dd-vpd-btn {
    font-size: 0.9rem !important;
    padding: 0.55rem 0.7rem !important;
  }
}

#dd-checkout-date-guard-modal .dd-vpd-btn--primary {
  background: #8e1837 !important;
  color: #fff !important;
  border: 1px solid #8e1837 !important;
}

#dd-checkout-date-guard-modal .dd-vpd-btn--primary:hover {
  opacity: 0.95 !important;
}

#dd-checkout-date-guard-modal .dd-vpd-btn--secondary {
  background: #fff !important;
  color: #8e1837 !important;
  border: 1px solid #8e1837 !important;
}

#dd-checkout-date-guard-modal .dd-vpd-btn--secondary:hover {
  background: #fff5f6 !important;
}

/* PDP / tabs / shortcodes / quick view: taxonomy chips (native horizontal strip) */
.dd-pdp-additional-tax,
.dd-product-card-tax-match {
  margin-top: 0.25rem;
}

.dd-pdp-additional-tax .dd-tax-strip-group + .dd-tax-strip-group {
  margin-top: 0.75rem;
}

.dd-pdp-additional-tax .dd-tax-strip-group__title {
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.35rem;
  color: inherit;
}

.dd-pdp-additional-tax .dd-tax-strip-group .dd-tax-strip--native {
  margin-top: 0;
}

/* Product grid composite CTA — shorter label on phone layout (matches 767px card breakpoint) */
.dd-create-dish-btn__label--short {
  display: none;
}

@media (max-width: 767px) {
  .dd-archive-grid .dd-create-dish-btn,
  .dd-products-grid .dd-create-dish-btn,
  #dd-products-grid .dd-create-dish-btn,
  .dd-category-splide .dd-create-dish-btn,
  .dd-tax-splide .dd-create-dish-btn {
    font-size: 16px !important;
  }

  .dd-create-dish-btn__label--full {
    display: none;
  }

  .dd-create-dish-btn__label--short {
    display: inline;
  }
}

/* Quick view modal */
.dd-qv-additional-info .dd-pdp-additional-tax {
  margin-top: 0.5rem;
}

.dd-qv-modal .dd-qv-body .dd-qv-description,
.dd-qv-modal .dd-qv-body .dd-qv-description p,
.dd-qv-modal .dd-qv-body .dd-qv-nutritional-content,
.dd-qv-modal .dd-qv-body .dd-qv-nutritional-content p,
.dd-qv-modal .dd-qv-body .dd-qv-additional-info .dd-qv-additional-item-label,
.dd-qv-modal .dd-qv-body .dd-qv-additional-info .dd-qv-additional-item-value {
  font-size: 16px !important;
  line-height: 1.6;
}

.dd-qv-modal .dd-qv-body .dd-qv-title,
.dd-qv-modal .dd-qv-body .dd-qv-nutritional h3,
.dd-qv-modal .dd-qv-body .dd-qv-additional-info h3,
.dd-qv-modal .dd-qv-body .dd-tax-strip-group__title {
  font-size: 16px !important;
  line-height: 1.4;
}

.dd-qv-modal .dd-qv-body .dd-qv-description strong,
.dd-qv-modal .dd-qv-body .dd-qv-nutritional-content strong {
  font-size: inherit;
}

.dd-tax-strip--native.dd-tax-strip,
.dd-tax-strip.dd-tax-strip--native {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.dd-tax-strip--native .dd-tax-strip__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dd-tax-strip--native .dd-tax-strip__item {
  flex-shrink: 0;
}

.dd-tax-strip--native .dd-tax-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.dd-tax-strip--native .dd-tax-chip:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.dd-tax-strip--native .dd-tax-chip-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.dd-tax-strip--native img.dd-tax-chip-icon {
  object-fit: contain;
  filter: invert(16%) sepia(82%) saturate(2451%) hue-rotate(334deg) brightness(95%) contrast(92%);
}

.dd-tax-strip--native .dd-tax-chip-icon--placeholder {
  min-width: 16px;
}

.dd-tax-strip--native .dd-tax-chip-label {
  color: #000;
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  text-transform: uppercase;
}

/* Product cards: align multi-line title blocks */
.dd-product-title {
  min-height: 50px;
  box-sizing: border-box;
}

@media (min-width: 1025px) and (max-width: 1160px) {
  .dd-product-title {
    min-height: 72.3px;
  }
}

.dd-product-excerpt {
  margin: 4px 0;
  box-sizing: border-box;
}

@media (min-width: 1025px) and (max-width: 1101px) {
  .dd-product-excerpt {
    min-height: 125px;
  }
}

@media (min-width: 1102px) and (max-width: 1230px) {
  .dd-product-excerpt {
    min-height: 110px;
  }
}

/* Fix: background-attachment:fixed is broken on tablet/mobile (iOS/Android).
   Override to scroll so the hero image renders correctly. */
@media (max-width: 1024px) {
  .hero-section.brxe-section {
    background-attachment: scroll;
  }
}

.postid-1937 .woocommerce-tabs.wc-tabs-wrapper {
  display: none;
}

/* ── Back-in-stock guest email modal ──────────────────────────────────────── */
#dd-bis-guest-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999999;
  align-items: center;
  justify-content: center;
}
#dd-bis-guest-modal.is-open {
  display: flex;
}
.dd-bis-card {
  background: #fff;
  max-width: 420px;
  width: 90%;
  padding: 28px 28px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}
.dd-bis-title {
  margin: 0 0 10px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  line-height: 1.3 !important;
}
.dd-bis-body {
  margin: 0 0 16px !important;
  font-size: 15px !important;
  color: #555 !important;
  line-height: 1.5 !important;
}
.dd-bis-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.2s;
}
.dd-bis-input:focus {
  border-color: #8e1837;
}
.dd-bis-error {
  display: none;
  color: #c00;
  font-size: 13px;
  margin: 0 0 10px;
}
.dd-bis-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}
.dd-bis-btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 15px !important;
  font-family: inherit;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #8e1837 !important;
  line-height: 1.4;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.dd-bis-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.dd-bis-btn--primary {
  background: #8e1837 !important;
  color: #fff !important;
}
.dd-bis-btn--primary:hover:not(:disabled) {
  opacity: 0.9 !important;
}
.dd-bis-btn--secondary {
  background: #fff !important;
  color: #8e1837 !important;
}
.dd-bis-btn--secondary:hover:not(:disabled) {
  background: #fff5f6 !important;
}
@media (max-width: 480px) {
  .dd-bis-card {
    padding: 20px 18px;
  }
  .dd-bis-title {
    font-size: 16px !important;
  }
  .dd-bis-body {
    font-size: 14px !important;
  }
  .dd-bis-btn {
    font-size: 14px !important;
    padding: 9px 16px;
  }
}
