/* MEY COLOR UX V1 | V12 storefront + V3 dealer portal
   Additive visual layer, no product, price, or payment backend changes. */
:root {
  --mey-ui-orange: #ee6a18;
  --mey-ui-orange-dark: #a83b07;
  --mey-ui-orange-cta: #c24a0a;
  --mey-ui-ink: #18253b;
  --mey-ui-tint: #fff3e9;
  --mey-ui-outline: #ffcfaa;
  --mey-ui-success: #127c4b;
  --mey-ui-blue: #2250ab;
}
/* Global keyboard / hover affordance */
.v12-storefront button, .checkout-modal button, .cart-drawer button { transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.v12-storefront button:focus-visible, .checkout-modal button:focus-visible,
.cart-drawer button:focus-visible, .dealer-header-button:focus-visible {
  outline: 3px solid rgba(238,106,24,.42); outline-offset: 3px;
}
/* Top navigation, search and category discovery */
.v12-header { border-bottom: 2px solid rgba(238,106,24,.16); }
.v12-search:focus-within { border-color: var(--mey-ui-orange) !important; box-shadow: 0 0 0 3px rgba(238,106,24,.13) !important; }
.v12-search > span { color: var(--mey-ui-orange-dark) !important; }
.v12-nav-inner a:hover, .v12-nav-all:hover { color: var(--mey-ui-orange-dark) !important; }
.v12-nav-inner .v12-nav-all[aria-expanded="true"] { color: var(--mey-ui-orange-dark) !important; }
.v12-menu-all-products { background: #fff2e7 !important; border-color: var(--mey-ui-outline) !important; color: #a7430d !important; }
.v12-menu-category-button:hover { background: #fff3e8 !important; color: #a7430d !important; }
/* Product cards: eliminate the "inactive looking" white add-to-cart CTA. */
.v12-products-section .card-cart-button:not(:disabled),
.v12-product-row .card-cart-button:not(:disabled),
.retail-products-section .card-cart-button:not(:disabled),
.product-card .card-cart-button:not(:disabled) {
  background: var(--mey-ui-orange-cta) !important; border-color: var(--mey-ui-orange-cta) !important;
  color: #fff !important; font-weight: 800 !important;
  box-shadow: 0 3px 10px rgba(238,106,24,.17) !important;
}
.product-card .card-cart-button:hover:not(:disabled) {
  background: var(--mey-ui-orange-dark) !important; border-color: var(--mey-ui-orange-dark) !important;
  color: #fff !important; transform: translateY(-1px);
}
.product-card .card-cart-button:disabled { background:#eef0f3 !important; border-color:#dee3e9 !important; color:#647084 !important; box-shadow:none !important; }
.product-price strong, .product-modal .modal-price strong { color:var(--mey-ui-ink); }
.product-card .sale-badge, .v12-storefront .sale-badge { background:#fff1e4 !important; color:#ad450b !important; border:1px solid #ffd8b5; }
.product-modal .modal-buy-actions .primary-button:not(:disabled),
.modal-buy-actions .primary-button:not(:disabled) { background:var(--mey-ui-orange) !important; color:#fff !important; }
.product-modal .modal-buy-actions .primary-button:hover:not(:disabled) { background:var(--mey-ui-orange-dark) !important; }
.secondary-buy-button:not(:disabled),.card-buy-button:not(:disabled) { color:var(--mey-ui-orange-dark); border-color:var(--mey-ui-orange); }
/* Cart drawer: this button was always gray in the base CSS despite being clickable. */
.cart-drawer .drawer-head { background:linear-gradient(100deg,#fff,#fff2e8); border-bottom-color:#ffdec3; }
.cart-drawer .drawer-head > span, .cart-drawer .drawer-head span { color:var(--mey-ui-ink); }
.cart-drawer .qty-row button { color:#af480e; border:1px solid #f5c39b; background:#fff6ee; font-weight:800; }
.cart-drawer .qty-row button:hover { color:#fff; background:var(--mey-ui-orange); border-color:var(--mey-ui-orange); }
.cart-drawer .total-row strong { color:var(--mey-ui-ink); }
.cart-drawer .checkout-button:not(:disabled) {
  background:linear-gradient(110deg,#c64d0b,#ad3907) !important; border:1px solid #d8530f !important;
  color:#fff !important; cursor:pointer !important; opacity:1 !important;
  box-shadow:0 7px 18px rgba(218,78,11,.24) !important; font-size:14px;
}
.cart-drawer .checkout-button:not(:disabled):hover { background:linear-gradient(110deg,#b94307,#932f06) !important; transform:translateY(-1px); box-shadow:0 10px 24px rgba(218,78,11,.32) !important; }
.cart-drawer .checkout-button:disabled { background:#e5e7eb !important; color:#64748b !important; border:1px solid #cfd4dc; opacity:1 !important; cursor:not-allowed; }
.cart-drawer .cart-footer { border-top-color:#ffd5b4; background:linear-gradient(180deg,#fff,#fffcf9); }
/* Checkout: color hierarchy / step statuses */
.checkout-modal { background:#f8f9fb; }
.checkout-cart-icon { background:#ffeddc; color:#b4490d; }
.checkout-brand-title h2 { color:var(--mey-ui-ink); }
.checkout-step { border-color:#e0e5ed; }
.checkout-step.done { background:#ecfbf4 !important; border-color:#a6e4c2 !important; }
.checkout-step.done > b { background:var(--mey-ui-success) !important; color:#fff; }
.checkout-step.active { background:#fff4e9 !important; border-color:#faad73 !important; box-shadow:0 0 0 2px rgba(238,106,24,.07); }
.checkout-step.active > b { background:var(--mey-ui-orange) !important; color:#fff; }
.checkout-step.ready { background:#effaf3 !important; border-color:#97d8b4 !important; }
.checkout-step.ready > b { background:var(--mey-ui-success) !important; }
.checkout-card { border-color:#e7ebf1; }
.checkout-address-card { border-top:4px solid #ee6a18; }
.checkout-choice-card { border-top:4px solid #2353a5; }
.checkout-docs-note { border-top:4px solid #13a071; }
.checkout-card-head > div > span { color:var(--mey-ui-orange-dark) !important; }
.checkout-card-head h3 { color:var(--mey-ui-ink); }
.checkout-pro-layout input:focus, .checkout-pro-layout textarea:focus,
.shipping-input-wrap input:focus { border-color:var(--mey-ui-orange) !important; box-shadow:0 0 0 3px rgba(238,106,24,.12) !important; }
.checkout-pro-layout input:invalid:not(:placeholder-shown):not(:focus) { border-color:#e7b6a1; }
.required-pill { background:#fff0e6; color:#b3400a !important; border-color:#ffcfab; }
.marketplace-card:not(.locked) { border-color:#dde5ef; }
.marketplace-card:hover:not(:disabled) { border-color:#f29352; background:#fffaf6; }
.marketplace-card.selected { background:#fff3e8 !important; border-color:var(--mey-ui-orange) !important; box-shadow:0 0 0 2px rgba(238,106,24,.1) !important; }
.marketplace-check { background:var(--mey-ui-orange) !important; }
.marketplace-status { border-color:#ffcfab; background:#fff6ed; color:#a43e0d; }
.marketplace-status.ok { border-color:#a8e1c0; background:#f0fbf5; color:#08784b; }
.integration-hub { background:#f3f7ff; border-color:#acc4f6; }
.shipping-source-card { border-color:#dce8f5; background:#fbfdff; }
.shipping-source-head span { color:#b54a11; }
.source-product-count { background:#fff0e2; color:#a84916; }
.carrier-card:hover:not(:disabled) { border-color:#f2a16d; background:#fffaf6; }
.carrier-card.selected { border-color:var(--mey-ui-orange) !important; box-shadow:0 0 0 2px rgba(238,106,24,.09) !important; background:#fff4ea; }
.carrier-check { background:var(--mey-ui-orange); }
.shipping-mode-button.active { background:#fff3e9; border-color:var(--mey-ui-orange); color:#a64612; }
.pdf-upload-card:hover { background:#fff7ef; border-color:#ee975a; }
.pdf-icon { background:#fff0df; color:var(--mey-ui-orange-dark); }
/* Right checkout summary and clear action status */
.checkout-side-card { border-top:4px solid var(--mey-ui-orange); }
.checkout-summary-row.total { border-top-color:#ffcca5; }
.checkout-summary-row.total strong { color:var(--mey-ui-orange-dark) !important; }
.checkout-pro-side .checkout-pay-button:not(:disabled) {
  background:linear-gradient(115deg,#c64d0b,#ad3907) !important; color:#fff !important;
  opacity:1 !important; cursor:pointer; box-shadow:0 8px 22px rgba(218,78,11,.22) !important;
}
.checkout-pro-side .checkout-pay-button:not(:disabled):hover { transform:translateY(-1px); box-shadow:0 12px 27px rgba(218,78,11,.31) !important; }
/* Visually distinguish disabled from enabled but avoid an uninviting empty gray block. */
.checkout-pro-side .checkout-pay-button:disabled {
  opacity:1 !important; background:#ffe8d5 !important; border:1px solid #f5bb8d !important;
  color:#954016 !important; box-shadow:none !important; cursor:not-allowed !important;
}
.mey-checkout-hint { margin:-6px 2px 3px; padding:10px 12px; border-radius:12px; font-weight:650; font-size:11px; line-height:1.5; color:#924411; background:#fff4e8; border:1px solid #ffdbbb; }
.mey-checkout-hint.ready { color:#08784b; background:#effaf3; border-color:#b9e6ca; }
.checkout-lock-note { background:#fff5e9; color:#9b4515; border-color:#fbd4ac; }
.checkout-lock-note.ready { background:#edfbf3; color:#08784b; border-color:#afe2c6; }
.checkout-trust-card { border-color:#bfd9f5; background:#f1f7ff; }
.trust-shield { color:#1e4faa; }
.paytr-panel { background:linear-gradient(135deg,#f0f6ff,#fff8f0); border-color:#bdd9fc; }
.paytr-start-button:not(:disabled) { background:linear-gradient(105deg,#1b4fa5,#123a86) !important; box-shadow:0 6px 17px rgba(27,79,165,.17); }
.paytr-start-button:disabled { background:#e2e8f0 !important; color:#64748b !important; cursor:not-allowed; }
/* CTA usability for small screens */
@media(max-width:700px) {
  .cart-drawer .checkout-button, .checkout-pro-side .checkout-pay-button { min-height:56px; font-size:14px; }
  .checkout-card { border-radius:15px; }
  .checkout-side-card { border-radius:16px; }
}
@media(prefers-reduced-motion:reduce) {
  .v12-storefront button, .checkout-modal button, .cart-drawer button { transition:none !important; transform:none !important; }
}
