/** Shopify CDN: Minification failed

Line 2360:0 Expected "}" to go with "{"

**/
/**
 * ================================================================
 * CARBUSONIC - TRADE ACCOUNT & B2B PRICING SYSTEM
 * Stylesheet compatible with Shopify Horizon Theme Design System
 * ================================================================
 */

:root {
  --trade-primary: #e11414;
  --trade-primary-hover: #b80d0d;
  --trade-dark: #111111;
  --trade-surface: #ffffff;
  --trade-surface-offset: #f8fafc;
  --trade-border: #e2e8f0;
  --trade-text: #1e293b;
  --trade-text-muted: #64748b;
  --trade-success: #16a34a;
  --trade-success-bg: #f0fdf4;
  --trade-success-border: #bbf7d0;
  --trade-warning: #d97706;
  --trade-warning-bg: #fffbeb;
  --trade-warning-border: #fde68a;
  --trade-error: #dc2626;
  --trade-error-bg: #fef2f2;
  --trade-error-border: #fecaca;
  --trade-radius: 8px;
  --trade-radius-pill: 9999px;
  --trade-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --trade-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --trade-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --trade-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ================================================================
   1. TRADE PRICING & BADGES (PDP & PRODUCT DETAILS)
   ================================================================ */
.trade-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 6px 0 12px 0;
}

.trade-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.trade-price-rrp {
  font-size: 15px;
  color: var(--trade-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.trade-price-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trade-price-was {
  text-decoration: line-through;
  color: #94a3b8;
}

.trade-price-current {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  color: var(--trade-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.trade-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background-color: #fef2f2;
  color: var(--trade-primary);
  border: 1px solid #fecaca;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--trade-radius-pill);
}

.cg-price .trade-badge,
.bs-price .trade-badge {
  font-size: 10px;
  padding: 2px 7px;
  margin-left: 4px;
  vertical-align: middle;
  background-color: #fef2f2;
  color: var(--trade-primary, #e11414);
  border: 1px solid #fecaca;
}

.trade-tier-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background-color: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--trade-radius-pill);
  border: 1px solid #cbd5e1;
}

.trade-saving-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background-color: var(--trade-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 4px;
  line-height: 1;
}

.trade-tax-note {
  font-size: 12.5px;
  color: var(--trade-text-muted);
}

/* ================================================================
   2. COLLECTION & PRODUCT CARD TRADE PRICING
   ================================================================ */
.card-trade-price {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
}

.card-trade-price__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.card-trade-price__was {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.card-trade-price__now {
  font-size: 16px;
  font-weight: 700;
  color: var(--trade-primary);
}

.card-trade-price__tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--trade-primary);
  background: #fef2f2;
  border: 1px solid #fee2e2;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.card-trade-price__varies {
  font-size: 11.5px;
  color: var(--trade-text-muted);
}

.card-regular-price {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.card-regular-price__was {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.card-regular-price__now {
  font-size: 15px;
  font-weight: 600;
  color: var(--trade-text);
}

/* ================================================================
   3. CART TRADE PRICING & NOTICE
   ================================================================ */
.trade-cart-notice {
  background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
  border: 1.5px solid #fecaca;
  border-radius: var(--trade-radius);
  padding: 12px 16px;
  margin: 12px 0 16px;
}

.trade-cart-notice__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trade-cart-notice__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--trade-primary);
  background: #fee2e2;
  padding: 4px 10px;
  border-radius: var(--trade-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trade-cart-notice__text {
  font-size: 13.5px;
  color: var(--trade-text);
}

.trade-cart-notice__text strong {
  color: var(--trade-primary);
  margin-left: 4px;
}

/* ================================================================
   4. CUSTOMER ACCOUNT PAGE TRADE WIDGET
   ================================================================ */
.trade-account-card {
  background: var(--trade-surface);
  border: 1px solid var(--trade-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: var(--trade-shadow-sm);
  font-family: var(--trade-font-sans);
}

.trade-account-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--trade-border);
  flex-wrap: wrap;
  gap: 12px;
}

.trade-account-card__title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trade-account-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fef2f2;
  color: var(--trade-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trade-account-card__heading {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--trade-text);
}

.trade-account-card__subheading {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--trade-text-muted);
}

.trade-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--trade-radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.trade-status-badge--approved {
  background: var(--trade-success-bg);
  color: var(--trade-success);
  border: 1px solid var(--trade-success-border);
}

.trade-status-badge--pending {
  background: var(--trade-warning-bg);
  color: var(--trade-warning);
  border: 1px solid var(--trade-warning-border);
}

.trade-status-badge--retail {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

.trade-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.trade-account-card__body {
  padding-top: 20px;
}

.trade-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.trade-account-item {
  background: var(--trade-surface-offset);
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trade-account-item__label {
  font-size: 12px;
  color: var(--trade-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.trade-account-item__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--trade-text);
}

.trade-account-item__value.trade-highlight {
  color: var(--trade-primary);
}

.trade-account-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.trade-account-message--success {
  background: var(--trade-success-bg);
  border: 1px solid var(--trade-success-border);
  color: #14532d;
}

.trade-account-message--success svg {
  color: var(--trade-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.trade-account-message--warning {
  background: var(--trade-warning-bg);
  border: 1px solid var(--trade-warning-border);
  color: #78350f;
}

.trade-account-message--warning svg {
  color: var(--trade-warning);
  flex-shrink: 0;
  margin-top: 2px;
}

.trade-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trade-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--trade-radius);
  transition: all 0.2s ease;
  cursor: pointer;
}

.trade-btn--primary {
  background: var(--trade-primary);
  color: #ffffff;
  border: 1.5px solid var(--trade-primary);
}

.trade-btn--primary:hover {
  background: var(--trade-primary-hover);
  border-color: var(--trade-primary-hover);
  color: #ffffff;
}

.trade-btn--secondary {
  background: transparent;
  color: var(--trade-dark);
  border: 1.5px solid var(--trade-dark);
}

.trade-btn--secondary:hover {
  background: var(--trade-dark);
  color: #ffffff;
}

.trade-btn--logout {
  background: #f8fafc;
  color: #64748b;
  border: 1.5px solid #cbd5e1;
}

.trade-btn--logout:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fca5a5;
}

.trade-account-cta__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--trade-text);
  margin: 0 0 16px;
}

.trade-account-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.trade-perk-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
}

.trade-perk-item svg {
  color: var(--trade-success);
}

/* ================================================================
   5. HEADER / NAVIGATION "TRADE ACCOUNT" BUTTON (PILL DESIGN)
   ================================================================ */
.trade-nav-item,
.trade-header-btn-wrap {
  /* display: inline-flex !important; */
  align-items: center !important;
  margin-right: 14px !important;
  vertical-align: middle !important;
  display:none;
}

.trade-nav-link,
.trade-header-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 35px !important;
  padding: 0 18px !important;
  background: #e11414 !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(225, 20, 20, 0.25) !important;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
  cursor: pointer !important;
}

.trade-nav-link:hover,
.trade-header-btn:hover {
  background: #b80d0d !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(225, 20, 20, 0.4) !important;
}

.trade-nav-link:active,
.trade-header-btn:active {
  transform: translateY(0) !important;
}

/* Suitcase Icon: black stroke matching design mockup */
.trade-nav-icon,
.trade-header-btn__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #000000 !important;
  line-height: 1 !important;
}

.trade-nav-icon svg,
.trade-header-btn__icon svg {
  width: 14px !important;
  height: 14px !important;
  stroke: #000000 !important;
  color: #000000 !important;
  stroke-width: 2.2 !important;
  vertical-align: middle !important;
}

/* Button text: bold white uppercase */
.trade-nav-text,
.trade-header-btn__text {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

/* Approved Trade Customer Pill (When Logged In) */
.trade-nav-link--approved,
.trade-header-btn--approved {
  background: rgba(22, 163, 74, 0.15) !important;
  border: 1.5px solid #16a34a !important;
  color: #4ade80 !important;
  box-shadow: none !important;
}

.trade-nav-link--approved:hover,
.trade-header-btn--approved:hover {
  background: #16a34a !important;
  color: #ffffff !important;
}

.trade-nav-link--approved .trade-nav-text,
.trade-header-btn--approved .trade-header-btn__text {
  color: inherit !important;
}

/* Pending Trade Customer Pill (Under Review) */
.trade-nav-link--pending,
.trade-header-btn--pending {
  background: rgba(217, 119, 6, 0.15) !important;
  border: 1.5px solid #d97706 !important;
  color: #fbbf24 !important;
  box-shadow: none !important;
}

.trade-nav-link--pending:hover,
.trade-header-btn--pending:hover {
  background: #d97706 !important;
  color: #ffffff !important;
}

.trade-nav-link--pending .trade-nav-text,
.trade-header-btn--pending .trade-header-btn__text {
  color: inherit !important;
}

.trade-header-btn__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  flex-shrink: 0;
}

.trade-header-btn__dot--amber {
  background: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

@media (max-width: 768px) {
  .trade-nav-item,
  .trade-header-btn-wrap {
    margin-right: 8px !important;
  }
  .trade-nav-link,
  .trade-header-btn {
    height: 30px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
    gap: 6px !important;
  }
  .trade-nav-icon svg,
  .trade-header-btn__icon svg {
    width: 12px !important;
    height: 12px !important;
  }
  .trade-nav-text,
  .trade-header-btn__text {
    font-size: 11px !important;
  }
}


/* ================================================================
   6. TRADE APPLICATION FORM & WHOLESALE QUOTE FORM
   ================================================================ */
.trade-form-section {
  padding: 40px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--trade-font-sans);
}

.trade-form-header {
  text-align: center;
  margin-bottom: 36px;
}

.trade-form-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: var(--trade-primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--trade-radius-pill);
  margin-bottom: 12px;
}

.trade-form-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--trade-primary);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.trade-form-subtitle {
  font-size: 16px;
  color: var(--trade-surface);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.trade-form-card {
  background: var(--trade-surface);
  border: 1px solid var(--trade-border);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 40px);
  box-shadow: var(--trade-shadow-md);
}

.trade-form-group-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--trade-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #f1f5f9;
  margin: 28px 0 18px;
}

.trade-form-group-title:first-of-type {
  margin-top: 0;
}

.trade-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.trade-form-grid--1col {
  grid-template-columns: 1fr;
}

.trade-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trade-field--full {
  grid-column: 1 / -1;
}

.trade-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
}

.trade-required {
  color: var(--trade-primary);
  font-weight: 800;
}

.trade-input,
.trade-select,
.trade-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--trade-dark);
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--trade-radius);
  transition: all 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.trade-input:focus,
.trade-select:focus,
.trade-textarea:focus {
  outline: none;
  border-color: var(--trade-primary);
  box-shadow: 0 0 0 3px rgba(225, 20, 20, 0.15);
}

.trade-input.is-invalid,
.trade-select.is-invalid,
.trade-textarea.is-invalid {
  border-color: var(--trade-error);
  background-color: #fffbfa;
}

.trade-field-error {
  font-size: 12px;
  color: var(--trade-error);
  font-weight: 600;
  display: none;
  margin-top: 2px;
}

.trade-input.is-invalid + .trade-field-error,
.trade-field.has-error .trade-field-error {
  display: block;
}

.trade-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 6px;
  cursor: pointer;
}

.trade-checkbox-input {
  width: 18px;
  height: 18px;
  accent-color: var(--trade-primary);
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.trade-checkbox-label {
  font-size: 13.5px;
  line-height: 1.5;
  color: #475569;
}

.trade-checkbox-label a {
  color: var(--trade-primary);
  text-decoration: underline;
}

.trade-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.trade-cat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.trade-cat-pill:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.trade-cat-pill input[type="checkbox"] {
  accent-color: var(--trade-primary);
  width: 16px;
  height: 16px;
}

.trade-cat-pill input[type="checkbox"]:checked + span {
  font-weight: 700;
  color: var(--trade-primary);
}

.trade-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: var(--trade-primary);
  border: 1.5px solid var(--trade-primary);
  border-radius: var(--trade-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 24px;
}

.trade-submit-btn:hover {
  background: var(--trade-primary-hover);
  border-color: var(--trade-primary-hover);
}

.trade-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.trade-submit-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: trade-spin 0.8s linear infinite;
}

@keyframes trade-spin {
  to { transform: rotate(360deg); }
}

.trade-submit-btn.is-loading .trade-submit-spinner {
  display: inline-block;
}

/* Success & Error Banners */
.trade-form-alert {
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
}

.trade-form-alert--success {
  background: var(--trade-success-bg);
  border: 1.5px solid var(--trade-success-border);
  color: #14532d;
  text-align: center;
}

.trade-form-alert--success h4 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--trade-success);
}

.trade-form-alert--error {
  background: var(--trade-error-bg);
  border: 1.5px solid var(--trade-error-border);
  color: #7f1d1d;
}

/* ================================================================
   7. TRADE B2B LANDING PAGE
   ================================================================ */
.trade-landing {
  font-family: var(--trade-font-sans);
  color: var(--trade-dark);
}

.trade-hero {
  background: linear-gradient(135deg, #0d1117 0%, #1a2332 100%);
  color: #ffffff;
  padding: clamp(60px, 8vw, 100px) 20px;
  text-align: center;
}

.trade-hero__container {
  max-width: 840px;
  margin: 0 auto;
}

.trade-hero__tag {
  display: inline-block;
  background: rgba(225, 20, 20, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(225, 20, 20, 0.4);
  padding: 6px 14px;
  border-radius: var(--trade-radius-pill);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.trade-hero__title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #ffffff;
}

.trade-hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 auto 36px;
  max-width: 680px;
}

.trade-hero__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.trade-hero__btn-primary {
  background: var(--trade-primary);
  color: #ffffff;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--trade-radius);
  text-decoration: none;
  transition: all 0.2s ease;
}

.trade-hero__btn-primary:hover {
  background: var(--trade-primary-hover);
}

.trade-hero__btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--trade-radius);
  text-decoration: none;
  transition: all 0.2s ease;
}

.trade-hero__btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Features Grid */
.trade-features {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.trade-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.trade-section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.trade-section-desc {
  font-size: 16px;
  color: var(--trade-text-muted);
  line-height: 1.6;
  margin: 0;
}

.trade-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.trade-feature-card {
  background: var(--trade-surface);
  border: 1px solid var(--trade-border);
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: var(--trade-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trade-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--trade-shadow-md);
}

.trade-feature-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #fef2f2;
  color: var(--trade-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.trade-feature-card__title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--trade-dark);
}

.trade-feature-card__desc {
  font-size: 14.5px;
  color: var(--trade-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Steps Section */
.trade-steps-section {
  background: var(--trade-surface-offset);
  padding: 80px 20px;
}

.trade-steps-container {
  max-width: 1000px;
  margin: 0 auto;
}

.trade-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.trade-step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--trade-border);
  border-radius: 12px;
  padding: 30px 24px;
}

.trade-step-number {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 34px;
  height: 34px;
  background: var(--trade-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.trade-step-title {
  font-size: 18px;
  font-weight: 800;
  margin: 10px 0 10px;
}

.trade-step-desc {
  font-size: 14px;
  color: var(--trade-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* FAQ Accordion */
.trade-faq-section {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.trade-faq-item {
  border: 1px solid var(--trade-border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #ffffff;
}

.trade-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--trade-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.trade-faq-question svg {
  transition: transform 0.2s ease;
}

.trade-faq-item.is-open .trade-faq-question svg {
  transform: rotate(180deg);
}

.trade-faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: var(--trade-text-muted);
  line-height: 1.6;
}

.trade-faq-item.is-open .trade-faq-answer {
  display: block;
}

/* ================================================================
   8. RESPONSIVE BREAKPOINTS
   ================================================================ */
@media (max-width: 768px) {
  .trade-form-grid {
    grid-template-columns: 1fr;
  }

  .trade-form-card {
    padding: 20px;
  }

  .trade-hero__buttons {
    flex-direction: column;
    width: 100%;
  }

  .trade-hero__btn-primary,
  .trade-hero__btn-secondary {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .trade-account-card__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ================================================================
   TRADE CART STYLES
   ================================================================ */
.trade-cart-alert {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 12px 0 16px;
  color: #166534;
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trade-cart-alert code {
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  color: #15803d;
}

.trade-cart-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.trade-cart-was {
  color: #94a3b8;
  font-size: 0.9em;
  text-decoration: line-through;
}

.trade-cart-now {
  color: var(--trade-primary, #e11414);
  font-weight: 700;
  font-size: 1.05em;
}

.trade-cart-tag {
  font-size: 10px;
  background: #fee2e2;
  color: #991b1b;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Ensure empty cart bubble is completely hidden with no black patch */
.cart-bubble.visually-hidden,
.cart-bubble.is-empty,
.cart-bubble[data-empty="true"],
.cart-bubble.visually-hidden *,
.cart-bubble.is-empty *,
.cart-bubble[data-empty="true"] *,
.cart-bubble.visually-hidden .cart-bubble__background,
.cart-bubble.is-empty .cart-bubble__background {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Ensure empty cart drawer header cleans badge and visually-hidden */
.cart-drawer--empty .theme-drawer__badge,
.cart-drawer__inner.cart-drawer--empty .theme-drawer__badge,
.cart-drawer--empty .theme-drawer__header .visually-hidden,
.cart-drawer__inner.cart-drawer--empty .theme-drawer__header .visually-hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* ================================================================
   TRADE BULK ENQUIRY FLOATING BUTTON & MODAL
   ================================================================ */
.trade-bulk-floating-wrap {
  position: fixed;
  right: 0;
  top: 85px;
  top: calc(var(--header-group-height, var(--header-height, 65px)) + 12px);
  z-index: 9998;
  pointer-events: none;
}

.trade-bulk-floating-btn {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #e11414 0%, #b80d0d 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px 0 0 8px;
  padding: 14px 9px 12px 9px;
  font-family: var(--trade-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: -4px 6px 20px rgba(0, 0, 0, 0.25), 0 0 14px rgba(225, 20, 20, 0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.trade-bulk-floating-btn:hover {
  transform: translateX(-4px);
  background: linear-gradient(180deg, #f01a1a 0%, #c40e0e 100%);
  box-shadow: -6px 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(225, 20, 20, 0.65);
}

.trade-bulk-floating-btn:active {
  transform: translateX(-2px) scale(0.98);
}

.trade-bulk-floating-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.trade-bulk-floating-btn__text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.1em;
}

.trade-bulk-floating-btn__badge {
  font-size: 9px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 2px 4px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  line-height: 1;
  display: inline-block;
}

/* Modal Overlay & Backdrop */
.trade-bulk-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  font-family: var(--trade-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.trade-bulk-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.trade-bulk-modal[hidden] {
  display: none !important;
}

.trade-bulk-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.trade-bulk-modal__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.trade-bulk-modal.is-open .trade-bulk-modal__dialog {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.trade-bulk-modal__header {
  background: linear-gradient(135deg, #090d16 0%, #161f30 100%);
  color: #ffffff;
  padding: 20px 24px;
  border-radius: 15px 15px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.trade-bulk-modal__title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trade-bulk-modal__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(225, 20, 20, 0.18);
  color: #ff6b6b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(225, 20, 20, 0.35);
}

.trade-bulk-modal__title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}

.trade-bulk-modal__subtitle {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.35;
}

.trade-bulk-modal__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.trade-bulk-tier-badge {
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trade-bulk-modal__close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.trade-bulk-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: scale(1.05);
}

/* Modal Body & Form */
.trade-bulk-modal__body {
  padding: 24px;
  color: #1e293b;
}

.trade-bulk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.trade-bulk-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.trade-bulk-field--full {
  grid-column: 1 / -1;
}

.trade-bulk-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
}

.trade-bulk-req {
  color: #e11414;
  font-weight: 800;
}

.trade-bulk-opt {
  color: #94a3b8;
  font-weight: 400;
  font-size: 11.5px;
}

.trade-bulk-input,
.trade-bulk-select,
.trade-bulk-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trade-bulk-input:focus,
.trade-bulk-select:focus,
.trade-bulk-textarea:focus {
  outline: none;
  border-color: #e11414;
  box-shadow: 0 0 0 3px rgba(225, 20, 20, 0.15);
}

.trade-bulk-input.is-invalid,
.trade-bulk-select.is-invalid,
.trade-bulk-textarea.is-invalid {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.trade-bulk-error {
  display: none;
  font-size: 11.5px;
  color: #dc2626;
  font-weight: 600;
}

.trade-bulk-field.has-error .trade-bulk-error {
  display: block;
}

.trade-bulk-error-banner {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: 8px;
  padding: 12px 16px;
  color: #991b1b;
  font-size: 13px;
  margin-bottom: 20px;
}

.trade-bulk-error-banner ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* Submit Button */
.trade-bulk-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: #e11414;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 12px rgba(225, 20, 20, 0.28);
}

.trade-bulk-submit-btn:hover:not([disabled]) {
  background: #b80d0d;
  transform: translateY(-1px);
}

.trade-bulk-submit-btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.trade-bulk-submit-btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: tradeBulkSpin 0.7s linear infinite;
}

.trade-bulk-submit-btn.is-loading .trade-bulk-submit-btn__spinner {
  display: inline-block;
}

.trade-bulk-submit-btn.is-loading svg {
  display: none;
}

@keyframes tradeBulkSpin {
  to { transform: rotate(360deg); }
}

/* Success Confirmation State */
.trade-bulk-success {
  text-align: center;
  padding: 36px 20px 28px;
}

.trade-bulk-success__icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #f0fdf4;
  border: 2px solid #86efac;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.18);
  animation: tradePopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tradePopIn {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.trade-bulk-success__title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.trade-bulk-success__desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 22px;
}

.trade-bulk-refresh-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.trade-bulk-refresh-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #cbd5e1;
  border-top-color: #e11414;
  border-radius: 50%;
  display: inline-block;
  animation: tradeBulkSpin 0.7s linear infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .trade-bulk-floating-wrap {
    top: 70px;
    top: calc(var(--header-group-height, var(--header-height, 55px)) + 10px);
    right: 0;
    bottom: auto;
    transform: none;
  }

  .trade-bulk-floating-btn {
    border-radius: 6px 0 0 6px;
    padding: 10px 6px 10px 6px;
    gap: 8px;
  }

  .trade-bulk-floating-btn:hover {
    transform: translateX(-3px);
  }

  .trade-bulk-floating-btn__icon svg {
    width: 16px;
    height: 16px;
  }

  .trade-bulk-floating-btn__text {
    font-size: 10.5px;
    letter-spacing: 0.08em;
  }

  .trade-bulk-floating-btn__badge {
    font-size: 8px;
    padding: 1px 3px;
  }

  .trade-bulk-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trade-bulk-modal__dialog {
    max-height: 94vh;
  }

  .trade-bulk-modal__header {
    padding: 16px 18px;
  }

  .trade-bulk-modal__body {
    padding: 18px 16px;
  }
}

/* ================================================================
   20. HEADER NAVIGATION "MORE" SIMPLE DROPDOWN (MATCHES LEATHER MMDD)
   ================================================================ */
#header-component .menu-list__list-item[slot="more"],
.header-menu .menu-list__list-item[slot="more"],
.menu-list__list-item--mmdd-more {
  position: relative !important;
}

/* Red accent indicator bar under "More" on hover / focus / open */
#header-component .menu-list__list-item[slot="more"]::after,
.header-menu .menu-list__list-item[slot="more"]::after,
.menu-list__list-item--mmdd-more::after {
/* ================================================================
   20. HEADER NAVIGATION "MORE" SIMPLE DROPDOWN (MATCHES LEATHER MMDD)
   ================================================================ */

/* Completely hide Horizon's native full-width submenu panel and underlay for "More" */
#header-component:has([slot="more"]:hover) .header__underlay,
#header-component:has([slot="more"]:focus-within) .header__underlay,
#header-component:has(.menu-list__list-item--mmdd-more:hover) .header__underlay,
#header-component:has(.menu-list__list-item--mmdd-more.is-open) .header__underlay,
#header-component:has([data-testid="header-menu-more-button"]:hover) .header__underlay,
header-menu[data-overflow-expanded="true"] .header__underlay {
  display: none !important;
  opacity: 0 !important;
  height: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

header-menu[data-overflow-expanded="true"] {
  --submenu-height: 0px !important;
}

/* Hide Horizon's native slotted overflow items outside our dropdown */
#header-component [slot="overflow"]:not(.mmdd-more-dropdown *) {
  display: none !important;
}

#header-component overflow-list::part(overflow),
#header-component [part="overflow"] {
  display: none !important;
}

/* Position "More" item as relative anchor */
#header-component .menu-list__list-item[slot="more"],
.header-menu .menu-list__list-item[slot="more"],
.menu-list__list-item--mmdd-more {
  position: relative !important;
}

/* Red accent indicator bar under "More" on hover / focus / open */
#header-component .menu-list__list-item[slot="more"]::after,
.header-menu .menu-list__list-item[slot="more"]::after,
.menu-list__list-item--mmdd-more::after {
  content: '';
  position: absolute;
  z-index: 2;
  left: 6px;
  right: 6px;
  bottom: 0px;
  height: 3px;
  background: #e11414;
  opacity: 0;
  transition: opacity 0.16s ease;
  pointer-events: none;
}

#header-component .menu-list__list-item[slot="more"]:hover::after,
#header-component .menu-list__list-item[slot="more"]:focus-within::after,
#header-component .menu-list__list-item[slot="more"].is-open::after,
.header-menu .menu-list__list-item[slot="more"]:hover::after,
.header-menu .menu-list__list-item[slot="more"]:focus-within::after,
.header-menu .menu-list__list-item[slot="more"].is-open::after,
.menu-list__list-item--mmdd-more:hover::after,
.menu-list__list-item--mmdd-more:focus-within::after,
.menu-list__list-item--mmdd-more.is-open::after {
  opacity: 1 !important;
}

/* Red text color on hover */
#header-component .menu-list__list-item[slot="more"]:hover button.menu-list__link,
#header-component .menu-list__list-item[slot="more"]:hover .menu-list__link-title,
#header-component .menu-list__list-item[slot="more"].is-open button.menu-list__link,
#header-component .menu-list__list-item[slot="more"].is-open .menu-list__link-title,
.header-menu .menu-list__list-item[slot="more"]:hover button.menu-list__link,
.header-menu .menu-list__list-item[slot="more"]:hover .menu-list__link-title,
.header-menu .menu-list__list-item[slot="more"].is-open button.menu-list__link,
.header-menu .menu-list__list-item[slot="more"].is-open .menu-list__link-title,
.menu-list__list-item--mmdd-more:hover button.menu-list__link,
.menu-list__list-item--mmdd-more:hover .menu-list__link-title {
  color: #e11414 !important;
}

/* Simple Dropdown Container opening JUST BELOW the "More" link (NOT FULL WIDTH) */
.mmdd-more-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: auto !important;
  min-width: 200px !important;
  width: max-content !important;
  max-width: 280px !important;
  background: #f2f2f2 !important;
  border-radius: 0px !important;
  padding: 12px 0 !important;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  z-index: 999999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(6px) !important;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease !important;
}

/* On viewports where More is close to the right edge, align dropdown to the right edge of More */
@media (max-width: 1200px) {
  .mmdd-more-dropdown {
    left: auto !important;
    right: 0 !important;
  }
}

/* Seamless mouseover bridge between button and dropdown */
.mmdd-more-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Reveal on hover, focus-within, or when is-open class active */
#header-component .menu-list__list-item[slot="more"]:hover .mmdd-more-dropdown,
#header-component .menu-list__list-item[slot="more"]:focus-within .mmdd-more-dropdown,
#header-component .menu-list__list-item[slot="more"].is-open .mmdd-more-dropdown,
.header-menu .menu-list__list-item[slot="more"]:hover .mmdd-more-dropdown,
.header-menu .menu-list__list-item[slot="more"]:focus-within .mmdd-more-dropdown,
.header-menu .menu-list__list-item[slot="more"].is-open .mmdd-more-dropdown,
.menu-list__list-item--mmdd-more:hover .mmdd-more-dropdown,
.menu-list__list-item--mmdd-more:focus-within .mmdd-more-dropdown,
.menu-list__list-item--mmdd-more.is-open .mmdd-more-dropdown,
.mmdd-more-dropdown.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* Dropdown list styling matching Leather mmdd */
.mmdd-more-dropdown .mmdd__list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.mmdd-more-dropdown .mmdd__list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  white-space: normal !important;
  display: block !important;
  height: auto !important;
  border: none !important;
}

.mmdd-more-dropdown .mmdd__list li::before,
.mmdd-more-dropdown .mmdd__list li::after {
  display: none !important;
}

.mmdd-more-dropdown .mmdd__list a.mmdd__link {
  display: block !important;
  text-decoration: none !important;
  padding: 12px 22px !important;
  font-size: 14.5px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: #000000 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  background: transparent !important;
  transition: color 0.15s ease, background 0.15s ease !important;
  white-space: nowrap !important;
}

.mmdd-more-dropdown .mmdd__list a.mmdd__link:hover,
.mmdd-more-dropdown .mmdd__list a.mmdd__link:focus {
  background: #e11414 !important;
  color: #ffffff !important;
}

/* ================================================================
   CART DRAWER & CHECKOUT CTA LAYOUT REINFORCEMENT (HORIZON THEME)
   Ensures cart drawer summary, totals, discount, and checkout CTAs
   are 100% styled on initial drawer open without requiring a reload.
   ================================================================ */

/* 1. Drawer Container & Summary Layout */
.cart-drawer__summary {
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: var(--gap-xl, 20px) !important;
  padding: var(--cart-drawer-summary-padding, 20px) !important;
  margin-top: auto !important;
  background-color: var(--color-background, #ffffff) !important;
}

/* Ensure every summary child element stretches to 100% full width */
.cart-drawer__summary > *,
.cart-drawer__summary form,
.cart-drawer__summary .cart__summary-totals,
.cart-drawer__summary .cart-totals,
.cart-drawer__summary .cart__ctas,
.cart-drawer__summary .cart-actions,
.cart-drawer__summary accordion-custom,
.cart-drawer__summary details {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 2. Discount Accordion / Details / Summary (Image 2 style) */
.cart-actions,
.cart-drawer__summary details,
.cart-drawer__summary accordion-custom {
  width: 100% !important;
  display: block !important;
}

.cart-actions summary,
.cart-drawer__summary details summary,
.cart-drawer__summary accordion-custom summary,
.cart-discount__summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  list-style: none !important;
  padding-block: var(--padding-sm, 12px) !important;
  padding-inline: 0 !important;
  border-top: 1px solid rgb(var(--color-foreground-rgb, 0 0 0) / var(--opacity-10-25, 0.15)) !important;
  border-bottom: 1px solid rgb(var(--color-foreground-rgb, 0 0 0) / var(--opacity-10-25, 0.15)) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  min-height: var(--minimum-touch-target, 44px) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.cart-actions summary::-webkit-details-marker,
.cart-drawer__summary summary::-webkit-details-marker {
  display: none !important;
}

.cart-actions summary .svg-wrapper,
.cart-drawer__summary summary .svg-wrapper {
  margin-inline-start: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: var(--icon-size-xs, 16px) !important;
  height: var(--icon-size-xs, 16px) !important;
  transition: transform var(--animation-speed, 0.2s) ease !important;
}

details[open] > summary .icon-plus .horizontal,
details[open] > summary .icon-animated > svg {
  transform: rotate(90deg) !important;
}
details[open] > summary .icon-plus .vertical {
  transform: rotate(90deg) !important;
  opacity: 0 !important;
}

/* 3. Totals & Estimated Total (Matching Image 2) */
.cart__summary-totals,
.cart-totals {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--gap-xl, 16px) !important;
  width: 100% !important;
  border-block-start: none !important;
}

.cart-drawer__summary .cart__summary-totals:not(:has(.cart__subtotal-container:empty)) {
  border-block-start: var(--style-border-width, 1px) solid rgb(var(--color-foreground-rgb, 0 0 0) / var(--opacity-10-25, 0.15)) !important;
  padding-block-start: var(--padding-2xl, 20px) !important;
}

.cart__subtotal-container,
.cart__total-container,
.cart-totals__container {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  row-gap: var(--gap-2xs, 4px) !important;
}

.cart__total,
.cart-totals__total,
.cart-totals__item {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  width: 100% !important;
  font-weight: var(--font-weight-bold, 700) !important;
}

.cart__total-label,
.cart-totals__total-label {
  font-size: var(--font-size--sm, 15px) !important;
  font-weight: var(--font-weight-bold, 700) !important;
  color: var(--color-foreground, #000000) !important;
}

.cart__total-value,
.cart-totals__total-value {
  font-size: var(--font-size--xl, 18px) !important;
  font-weight: var(--font-weight-bold, 800) !important;
  color: var(--color-foreground, #000000) !important;
  margin-inline-start: auto !important;
  text-align: right !important;
}

.tax-note,
.cart-totals__tax-note {
  font-size: min(0.85em, var(--font-paragraph--size, 13px)) !important;
  font-weight: var(--font-paragraph--weight, 400) !important;
  color: rgb(var(--color-foreground-rgb, 0 0 0) / var(--opacity-subdued-text, 0.65)) !important;
  margin-top: 4px !important;
  line-height: 1.4 !important;
}

/* 4. Checkout Buttons & CTAs (Full Width Matching Image 2) */
.cart__ctas {
  width: 100% !important;
  display: grid !important;
  gap: var(--checkout-button-gap, 10px) !important;
  grid-auto-flow: row !important;
  grid-template-columns: 1fr !important;
  margin-top: 8px !important;
}

.cart__ctas .button,
.cart__ctas .cart__checkout-button,
.cart__ctas button,
.cart__checkout-button {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: var(--height-buy-buttons, 48px) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: var(--style-border-radius-buttons-primary, 4px) !important;
  background: #000000 !important;
  color: #ffffff !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
  border: none !important;
  padding: 12px 20px !important;
  transition: opacity 0.2s ease, background-color 0.2s ease !important;
}

.cart__ctas .cart__checkout-button:hover,
.cart__checkout-button:hover {
  background: #222222 !important;
  color: #ffffff !important;
}

.cart__additional-checkout-buttons {
  width: 100% !important;
  margin-top: 8px !important;
}

shopify-accelerated-checkout-cart {
  width: 100% !important;
  display: block !important;
  --shopify-accelerated-checkout-inline-alignment: center;
  --shopify-accelerated-checkout-button-border-radius: var(--style-border-radius-buttons-primary, 4px);
  --shopify-accelerated-checkout-button-block-size: var(--height-buy-buttons, 44px);
  --shopify-accelerated-checkout-row-gap: var(--checkout-button-gap, 8px);
}

/* ================================================================
   CART DRAWER OVERLAY MODE - PREVENT PAGE PUSH / SQUEEZE
   ================================================================ */

/* 1. Prevent .page-wrapper from shifting or squeezing on desktop */
.page-wrapper.page-wrapper--drawer-open,
.page-wrapper--drawer-open,
.page-wrapper {
  margin-right: 0 !important;
  transition: none !important;
}

@media (min-width: 990px) {
  html:has(.page-wrapper),
  html:has(.page-wrapper) body {
    height: auto !important;
    overflow: visible !important;
  }
  .page-wrapper {
    height: auto !important;
    overflow: visible !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .page-wrapper--drawer-open shopify-account::part(dialog) {
    translate: 0 !important;
  }
}

/* 2. Scroll lock when drawer is active */
html.cart-drawer-open,
html.cart-drawer-open body,
html[scroll-lock],
html[scroll-lock] body {
  overflow: hidden !important;
}

/* 3. Elevate the drawer dialog to sit on top with realistic depth shadow */
#cart-drawer dialog.theme-drawer__dialog,
theme-drawer#cart-drawer dialog,
.theme-drawer__dialog {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  z-index: 99999 !important;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.45) !important;
}

/* 4. Cart Drawer Overlay Backdrop */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), visibility 0.3s;
}

.cart-drawer-overlay.is-active,
html.cart-drawer-open .cart-drawer-overlay,
body:has(#cart-drawer[open]) .cart-drawer-overlay {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Fallback CSS pseudo backdrop on open drawer */
#cart-drawer[open]::before {
  content: '';
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 99998;
  pointer-events: auto;
  cursor: pointer;
  animation: cartDrawerFadeIn 0.3s ease forwards;
}

@keyframes cartDrawerFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Suppress any rogue scrollbars in header columns */
#header-component .header__column,
#header-component header-menu,
#header-component overflow-list,
#header-component [part="list"] {
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
#header-component [part="list"]::-webkit-scrollbar,
#header-component overflow-list::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
/* Prevent logo container from being crushed */
#header-component .header__column--left,
#header-component .header-logo {
  flex-shrink: 0 !important;
  min-width: max-content !important;
}

/* Compact spacing for intermediate viewports (1024px - 1280px) */
@media screen and (min-width: 990px) and (max-width: 1280px) {
  #header-component .header__columns {
    column-gap: 12px !important;
  }
  #header-component .menu-list__link {
    padding-inline: 8px !important;
    font-size: 13px !important;
  }
  .trade-header-btn {
    padding: 7px 12px !important;
    font-size: 12px !important;
  }
}
@media screen and (max-width: 768px){
.header__underlay{
  display:none;
}
 .trade-nav-text, .trade-header-btn__text {
    font-size: 8px !important;
  }
}






