/* ══════════════════════════════════════════════════════════════
   ACCOUNT / CART / CHECKOUT / WISHLIST / REVIEWS
   Scoped additions for macplustech_template — reuses the theme's
   existing CSS custom properties (see css/style.css :root).
   ══════════════════════════════════════════════════════════════ */

/* ── Shared form controls ── */
.az-form-group { margin-bottom: 1.1rem; }
.az-form-label {
  display: block; font-size: 0.78rem; font-weight: 700;
  color: var(--text); margin-bottom: 0.4rem;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.az-form-label .req { color: var(--accent); }
.az-input, .az-select, textarea.az-input {
  width: 100%; height: 46px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); padding: 0 1rem; font-size: 0.9rem;
  background: var(--gray-50); color: var(--text);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
textarea.az-input { height: auto; padding: 0.75rem 1rem; resize: vertical; min-height: 100px; }
.az-input:focus, .az-select:focus, textarea.az-input:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px var(--blue-soft);
}
.az-check { display: flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; color: var(--text-muted); }
.az-check input { width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0; }
.az-form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.az-form-row > .az-form-group { flex: 1 1 200px; }

.az-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: none; border-radius: 999px; font-weight: 700; font-size: 0.88rem;
  padding: 0.75rem 1.8rem; cursor: pointer; text-decoration: none;
  transition: all var(--transition);
}
.az-btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255,90,31,0.25); }
.az-btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.az-btn-primary:disabled { background: var(--gray-300); box-shadow: none; cursor: not-allowed; transform: none; }
.az-btn-dark { background: var(--ink); color: #fff; }
.az-btn-dark:hover { background: var(--accent); color: #fff; }
.az-btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--gray-200); }
.az-btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.az-btn-danger-text { background: transparent; color: var(--danger); border: none; font-weight: 600; padding: 0.4rem 0.6rem; }
.az-btn-danger-text:hover { text-decoration: underline; }
.az-btn-outline.az-btn-danger { color: var(--danger); border-color: rgba(220,38,38,0.35); }
.az-btn-outline.az-btn-danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.az-btn-block { width: 100%; }
.az-btn-sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }
.az-cancel-order-form { display: inline-block; }

/* ── Auth card (login / register / forgot-password) ── */
.az-auth-wrap { background: var(--gray-50); padding: 3rem 0 4rem; min-height: 60vh; }
.az-auth-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm); padding: 2.25rem; max-width: 460px; margin: 0 auto;
}
.az-auth-card h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--ink); margin-bottom: 0.35rem; }
.az-auth-card .az-auth-desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1.6rem; }
.az-auth-foot { text-align: center; margin-top: 1.4rem; font-size: 0.86rem; color: var(--text-muted); }
.az-auth-foot a { color: var(--accent); font-weight: 700; text-decoration: none; }
.az-auth-foot a:hover { text-decoration: underline; }
.az-auth-links { display: flex; justify-content: space-between; align-items: center; margin: -0.4rem 0 1.2rem; font-size: 0.82rem; }
.az-auth-links a { color: var(--text-muted); text-decoration: none; }
.az-auth-links a:hover { color: var(--accent); }

/* ── Alerts (flash messages) ── */
.az-alert { border-radius: var(--radius); padding: 0.85rem 1.1rem; font-size: 0.86rem; margin-bottom: 1.25rem; display: flex; align-items: flex-start; gap: 0.6rem; }
.az-alert i { font-size: 1.05rem; margin-top: 0.05rem; }
.az-alert-success { background: rgba(22,163,74,0.08); color: #116631; border: 1px solid rgba(22,163,74,0.25); }
.az-alert-error { background: rgba(220,38,38,0.07); color: #a3222d; border: 1px solid rgba(220,38,38,0.22); }
.az-alert ul { margin: 0.2rem 0 0; padding-left: 1.1rem; }

/* ── Account layout: sidebar + content ── */
.az-account-wrap { background: var(--gray-50); padding: 2.25rem 0 4rem; min-height: 60vh; }
.az-account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 767.98px) { .az-account-grid { grid-template-columns: 1fr; } }
.az-account-nav { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
/* macplus.css loads after this file and sets a global blue link color.
   These prefixed selectors keep the account menu in the theme's own palette. */
.mp-body .az-account-nav a {
  display: flex; align-items: center; gap: 0.65rem; padding: 0.85rem 1.1rem;
  color: var(--text); text-decoration: none; font-size: 0.88rem; font-weight: 600;
  border-bottom: 1px solid var(--gray-100); transition: all 0.15s;
}
.mp-body .az-account-nav a:last-child { border-bottom: none; }
.mp-body .az-account-nav a i { color: var(--gray-400); font-size: 1.05rem; width: 20px; text-align: center; }
.mp-body .az-account-nav a:hover { background: var(--gray-50); color: var(--accent); }
.mp-body .az-account-nav a:hover i { color: var(--accent); }
.mp-body .az-account-nav a.active { background: var(--ink); color: #fff; }
.mp-body .az-account-nav a.active i { color: var(--accent); }
.mp-body .az-account-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.az-account-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.az-account-panel h1, .az-account-panel h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--ink); margin-bottom: 1.25rem; }
.az-welcome-banner { background: linear-gradient(135deg, var(--ink) 0%, #2a2d38 100%); border-radius: var(--radius-lg); color: #fff; padding: 1.75rem 2rem; margin-bottom: 1.5rem; }
.az-welcome-banner h1 { color: #fff; font-size: 1.4rem; margin-bottom: 0.3rem; }
.az-welcome-banner p { opacity: 0.75; margin: 0; font-size: 0.88rem; }

.az-quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 575.98px) { .az-quick-links { grid-template-columns: 1fr; } }
.az-quick-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem;
  text-decoration: none; color: var(--text); transition: all var(--transition); display: block;
}
.az-quick-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--text); }
.az-quick-card i { font-size: 1.6rem; color: var(--accent); margin-bottom: 0.6rem; display: block; }
.az-quick-card h6 { font-weight: 700; margin-bottom: 0.25rem; font-size: 0.92rem; }
.az-quick-card p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }

/* ── Empty state (reuse .empty-section look but scoped) ── */
.az-empty { text-align: center; padding: 3rem 1rem; }
.az-empty i { font-size: 3.2rem; color: var(--gray-300); margin-bottom: 0.75rem; display: block; }
.az-empty h5 { font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.az-empty p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; }

/* ── Orders table ── */
.az-table-wrap { overflow-x: auto; }
.az-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.az-table th { text-align: left; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); padding: 0.6rem 0.75rem; border-bottom: 2px solid var(--border); white-space: nowrap; }
.az-table td { padding: 0.85rem 0.75rem; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.az-table tr:last-child td { border-bottom: none; }
.az-status-pill { display: inline-block; padding: 0.22rem 0.65rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: capitalize; background: var(--gray-100); color: var(--text-muted); }
.az-status-pill.pending { background: rgba(245,158,11,0.12); color: #92610a; }
.az-status-pill.processing { background: rgba(47,111,237,0.1); color: var(--blue); }
.az-status-pill.completed, .az-status-pill.delivered, .az-status-pill.paid { background: rgba(22,163,74,0.1); color: #116631; }
.az-status-pill.cancelled, .az-status-pill.failed, .az-status-pill.refunded { background: rgba(220,38,38,0.1); color: #a3222d; }
.az-status-pill.shipped { background: rgba(47,111,237,0.1); color: var(--blue); }
.az-status-pill.return_requested, .az-status-pill.rejected { background: rgba(220,38,38,0.1); color: #a3222d; }
.az-status-pill.returned, .az-status-pill.approved { background: var(--gray-100); color: var(--text-muted); }

/* ── Address cards ── */
.az-address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.az-address-card { border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.1rem; position: relative; }
.az-address-card.is-default { border-color: var(--accent); background: var(--accent-soft); }
.az-address-card .az-badge-default { position: absolute; top: 0.85rem; right: 0.85rem; background: var(--accent); color: #fff; font-size: 0.63rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 999px; text-transform: uppercase; }
.az-address-card h6 { font-weight: 700; margin-bottom: 0.3rem; font-size: 0.9rem; }
.az-address-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0 0 0.9rem; line-height: 1.6; }
.az-address-card .az-address-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.az-address-form-wrap { display: none; border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; background: var(--gray-50); }
.az-address-form-wrap.open { display: block; }

/* ── Cart page ── */
.az-cart-wrap { background: var(--gray-50); padding: 2.25rem 0 4rem; min-height: 60vh; }
.az-cart-grid { display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; align-items: start; }
@media (max-width: 991.98px) { .az-cart-grid { grid-template-columns: 1fr; } }
.az-cart-list { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.az-cart-row { display: flex; align-items: center; gap: 1rem; padding: 1.1rem; border-bottom: 1px solid var(--gray-100); }
.az-cart-row:last-child { border-bottom: none; }
.az-cart-row .img { width: 76px; height: 76px; flex-shrink: 0; border-radius: var(--radius); background: var(--gray-50); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.az-cart-row .img img { max-width: 90%; max-height: 90%; object-fit: contain; }
.az-cart-row .info { flex: 1; min-width: 0; }
.az-cart-row .info .name { font-weight: 700; font-size: 0.9rem; color: var(--text); text-decoration: none; display: block; margin-bottom: 0.2rem; }
.az-cart-row .info .name:hover { color: var(--accent); }
.az-cart-row .info .unit-price { font-size: 0.8rem; color: var(--text-muted); }
.az-cart-row .qty-col { flex-shrink: 0; }
.az-cart-row .line-total { flex-shrink: 0; font-weight: 800; font-size: 1rem; color: var(--ink); min-width: 90px; text-align: right; }
.az-cart-row .remove-btn { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: none; background: transparent; color: var(--gray-400); font-size: 1.1rem; transition: all var(--transition); cursor: pointer; }
.az-cart-row .remove-btn:hover { background: rgba(220,38,38,0.08); color: var(--danger); }
@media (max-width: 575.98px) {
  .az-cart-row { flex-wrap: wrap; }
  .az-cart-row .line-total { margin-left: auto; }
}

.az-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.az-qty button { width: 32px; height: 36px; border: none; background: var(--gray-50); font-size: 1rem; color: var(--text); cursor: pointer; }
.az-qty button:hover { background: var(--gray-100); }
.az-qty input { width: 42px; height: 36px; border: none; border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); text-align: center; font-weight: 700; font-size: 0.85rem; }

.az-summary-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; position: sticky; top: 90px; }
.az-summary-card h5 { font-weight: 800; font-size: 1.05rem; margin-bottom: 1.1rem; }
.az-summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; color: var(--text-muted); padding: 0.5rem 0; }
.az-summary-row.total { border-top: 1px solid var(--border); margin-top: 0.5rem; padding-top: 0.85rem; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.az-summary-card .az-btn { margin-top: 1rem; }

/* ── Checkout ── */
.az-checkout-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.25rem; }
.az-checkout-section h2 { font-size: 1rem; font-weight: 800; margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.az-checkout-section h2 i { color: var(--accent); }
.az-saved-address-option { display: flex; gap: 0.7rem; align-items: flex-start; border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 0.85rem 1rem; margin-bottom: 0.6rem; cursor: pointer; transition: all 0.15s; }
.az-saved-address-option:hover { border-color: var(--accent); }
.az-saved-address-option input { margin-top: 0.2rem; accent-color: var(--accent); }
.az-saved-address-option strong { font-size: 0.86rem; }
.az-saved-address-option p { margin: 0.15rem 0 0; font-size: 0.8rem; color: var(--text-muted); }
.az-payment-option { display: flex; align-items: center; gap: 0.7rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 0.85rem 1rem; margin-bottom: 0.6rem; cursor: pointer; transition: all 0.15s; }
.az-payment-option:hover { border-color: var(--accent); }
.az-payment-option input { accent-color: var(--accent); }
.az-payment-option span { font-size: 0.88rem; font-weight: 600; }
.az-mini-item { display: flex; gap: 0.7rem; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid var(--gray-100); }
.az-mini-item:last-child { border-bottom: none; }
.az-mini-item .img { width: 44px; height: 44px; border-radius: 6px; background: var(--gray-50); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.az-mini-item .img img { max-width: 85%; max-height: 85%; object-fit: contain; }
.az-mini-item .info { flex: 1; min-width: 0; font-size: 0.8rem; }
.az-mini-item .info .n { font-weight: 600; color: var(--text); display: block; }
.az-mini-item .info .q { color: var(--text-muted); font-size: 0.76rem; }
.az-mini-item .p { font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }

/* ── Order confirmation ── */
.az-order-hero { text-align: center; padding: 1rem 0 2rem; }
.az-order-hero i { font-size: 3.5rem; color: var(--success); margin-bottom: 0.75rem; display: block; }
.az-order-hero h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.4rem; }
.az-order-hero p { color: var(--text-muted); margin: 0; }
.az-order-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.25rem; background: var(--gray-50); border-radius: var(--radius-lg); margin-bottom: 1.5rem; }
.az-order-meta .item span { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); margin-bottom: 0.2rem; }
.az-order-meta .item strong { font-size: 0.95rem; }
.az-fulfillment-tracking { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 1.5rem; }

/* ── Fulfillment progress stepper ── */
.az-fulfillment-progress { display: flex; align-items: flex-start; margin: 0 0 1.75rem; }
.az-fulfillment-progress .step { flex: 1; text-align: center; position: relative; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); }
.az-fulfillment-progress .step .dot { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.5rem; color: var(--gray-400); font-size: 0.8rem; position: relative; z-index: 1; }
.az-fulfillment-progress .step:not(:last-child)::after { content: ''; position: absolute; top: 13px; left: 50%; width: 100%; height: 2px; background: var(--border); z-index: 0; }
.az-fulfillment-progress .step.done .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.az-fulfillment-progress .step.done:not(:last-child)::after { background: var(--accent); }
.az-fulfillment-progress .step.current .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.az-fulfillment-progress .step.current { color: var(--ink); }
.az-fulfillment-progress .step.cancelled .dot { background: rgba(220,38,38,0.1); border-color: #a3222d; color: #a3222d; }

/* ── Return request ── */
.az-return-form { border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-top: 0.5rem; background: var(--gray-50); }
.az-return-notice { font-size: 0.85rem; color: var(--text-muted); background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem 1.1rem; }

/* ── Wishlist grid reuses .product-card via product_card.php ── */
.az-wishlist-remove { position: absolute; top: 0.6rem; right: 0.6rem; z-index: 3; }

/* ── Header cart mini-dropdown ── */
.az-cart-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; width: 340px; max-width: 90vw;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  border: 1px solid var(--border); padding: 1rem; z-index: 1060;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.18s ease;
}
.az-cart-dropdown.open,
#headerCartWrap:hover .az-cart-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.az-cart-dropdown .az-mini-item .info .n { -webkit-line-clamp: 1; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; }
.az-cart-dropdown-empty { text-align: center; padding: 1.5rem 0.5rem; color: var(--text-muted); font-size: 0.85rem; }
.az-cart-dropdown-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); margin-top: 0.5rem; padding-top: 0.85rem; }
.action-btn.has-cart-dropdown { position: relative; }

/* ── Star rating ── */
.az-stars { color: var(--warning); font-size: 0.85rem; letter-spacing: 1px; white-space: nowrap; }
.az-stars .empty { color: var(--gray-300); }
.az-star-input { display: inline-flex; flex-direction: row-reverse; gap: 0.2rem; font-size: 1.6rem; }
.az-star-input input { display: none; }
.az-star-input label { color: var(--gray-300); cursor: pointer; transition: color 0.15s; }
.az-star-input input:checked ~ label,
.az-star-input label:hover,
.az-star-input label:hover ~ label { color: var(--warning); }

/* ── Reviews ── */
.az-reviews-summary { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem; background: var(--gray-50); border-radius: var(--radius-lg); margin-bottom: 1.5rem; flex-wrap: wrap; }
.az-reviews-summary .avg { font-size: 2.2rem; font-weight: 800; color: var(--ink); line-height: 1; }
.az-review-item { border-bottom: 1px solid var(--gray-100); padding: 1.1rem 0; }
.az-review-item:last-child { border-bottom: none; }
.az-review-item .head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.35rem; }
.az-review-item .author { font-weight: 700; font-size: 0.86rem; }
.az-review-item .date { font-size: 0.76rem; color: var(--text-muted); }
.az-review-item .title { font-weight: 700; margin: 0.3rem 0 0.2rem; font-size: 0.92rem; }
.az-review-item .body { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }
.az-review-form { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-top: 1.5rem; background: var(--gray-50); }
.az-review-login-prompt { text-align: center; padding: 1.5rem; border: 1px dashed var(--border); border-radius: var(--radius-lg); color: var(--text-muted); font-size: 0.88rem; margin-top: 1.5rem; }
.az-review-login-prompt a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* ── PDP add-to-cart extras (product detail page, any theme) ── */
.az-pdp-actions-row { display: flex; gap: 0.75rem; align-items: center; margin: 1.25rem 0; flex-wrap: wrap; }

/* ── PDP variant/option price selector ── */
.az-pdp-selected-price { font-size: 1.6rem; font-weight: 800; color: var(--ink); margin-bottom: 0.5rem; }
.az-price-option-list { display: flex; flex-direction: column; }
.az-price-option { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; border-radius: 8px; padding: 0.15rem 0.4rem; margin: 0 -0.4rem; transition: background 0.15s ease; }
.az-price-option:hover:not(.disabled) { background: rgba(0,0,0,0.03); }
.az-price-option.selected { background: rgba(var(--accent-rgb, 0,0,0), 0.06); }
.az-price-option.selected > span { font-weight: 700; }
.az-price-option.disabled { opacity: 0.5; cursor: not-allowed; }
.az-price-option input[type="radio"] { flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--accent); }
.az-price-option-static { cursor: default; }
.az-price-option-static:hover { background: none; }
.az-stock-badge { font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 999px; white-space: nowrap; }
.az-stock-badge.az-stock-in { background: rgba(25,135,84,0.12); color: #198754; }
.az-stock-badge.az-stock-low { background: rgba(255,193,7,0.18); color: #a3760a; }
.az-stock-badge.az-stock-out { background: rgba(220,53,69,0.12); color: #dc3545; }

/* ── Checkout discount code ── */
.az-discount-code-row { display: flex; gap: 0.5rem; margin: 0.75rem 0; }
.az-discount-code-row .az-input { flex: 1; }

/* ── Toast notifications ── */
.az-toast-stack { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-end; }
.az-toast {
  background: var(--ink); color: #fff; padding: 0.75rem 1.1rem; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 600; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.55rem; opacity: 0; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease; max-width: 320px;
}
.az-toast.show { opacity: 1; transform: translateY(0); }
.az-toast i { color: var(--success); font-size: 1.05rem; flex-shrink: 0; }
.az-toast.az-toast-error i { color: var(--danger); }
@media (max-width: 575.98px) {
  .az-toast-stack { left: 1rem; right: 1rem; align-items: stretch; }
  .az-toast { max-width: none; }
}
