/* ─────────────────────────────────────────────
   Wholesale Quick Order Form — Modern Styles
───────────────────────────────────────────── */
.wqof-wrap {
  margin-bottom: 80px;
}

/* Base table reset */
.wqof-table {
  width: 100%;
  border: none;
  border-collapse: separate;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header cells */
.wqof-table thead th {
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 16px 12px;
  color: #333;
  background: transparent;
}

/* Body cells */
.wqof-table th,
.wqof-table td {
  padding: 16px 12px;
  font-size: 14px;
  color: #333;
  background: transparent;
  border: none;
}

/* Remove any zebra striping */
.wqof-table tbody tr:nth-child(odd) td,
.wqof-table tbody tr:nth-child(even) td {
  background: transparent !important;
}

/* Ultra-faint separator between rows */
.wqof-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Subtle hover highlight */
.wqof-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

/* Column widths and alignment */
.wqof-col-thumb   { width: 20%; }
.wqof-col-details { width: 40%; text-align: left; }
.wqof-col-qty     { width: 20%; text-align: left; }
.wqof-col-price   { width: 20%; text-align: right; }

/* Thumbnail styling */
.wqof-thumb-cell img {
  max-width: 400px;   /* adjust as needed */
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* Learn More button */
.wqof-learn-more-btn {
  background: #ffdada !important;      /* pastel pink */
  color: #a10000 !important;           /* contrast red */
  border: none;
  border-radius: 24px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
  transition: background 0.2s ease;
}
.wqof-learn-more-btn:hover {
  background: #ffe5e5;
}

/* Details cell: title, price, attributes, description */
.wqof-details-cell {
  font-size: 16px;
  color: #333;
}
.wqof-short-desc {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

/* Quantity picker: inline-flex for side-by-side */
.wqof-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.wqof-qty button {
  background: #f0f0f0;
  color: #333;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.wqof-qty button:hover {
  background: #e0e0e0;
}
.wqof-qty input {
  width: 72px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  margin: 0;
  -moz-appearance: textfield;
}
.wqof-qty input::-webkit-outer-spin-button,
.wqof-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Price styling */
.wqof-price-cell {
  font-size: 14px;
  color: #555;
}

/* Fixed footer bar */
.wqof-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 24px;
  background: #ffffff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 10000;
}

/* Add, View, and Learn More button styles */
.wqof-add-btn,
#wqof-view-cart,
.wqof-learn-more-btn {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wqof-add-btn:hover,
#wqof-view-cart:hover,
.wqof-learn-more-btn:hover {
  background: #222;
}

/* Out-of-stock label */
.wqof-out-of-stock {
  color: #c00;
  font-weight: bold;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .wqof-table,
  .wqof-table thead,
  .wqof-table tbody,
  .wqof-table th,
  .wqof-table td,
  .wqof-table tr {
    display: block;
  }
  .wqof-table thead { display: none; }
  .wqof-table tr {
    margin-bottom: 16px;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 12px;
    background: #fff;
    border-radius: 6px;
  }
  .wqof-thumb-cell,
  .wqof-details-cell,
  .wqof-qty-cell,
  .wqof-price-cell {
    display: flex;
    align-items: center;
    padding: 4px 0;
  }
  .wqof-thumb-cell img {
    max-width: 50px;
    margin-right: 12px;
  }
  .wqof-details-cell { font-size: 14px; flex: 1; }
  .wqof-qty-cell { margin-top: 8px; }
  .wqof-price-cell {
    justify-content: flex-end;
    font-size: 14px;
    color: #333;
    margin-top: 8px;
  }
  .wqof-footer {
    padding: 12px;
    gap: 8px;
  }
}
.wqof-brand-label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
