/* =========================================================
   Humber Salt — Frontend Styles
   ========================================================= */

:root {
  --hs-primary: #3d9be9;
  --hs-primary-d: #3d9be9;
  --hs-secondary: #2e7d9a;
  --hs-accent: #f0a500;
  --hs-accent-d: #c98500;
  --hs-success: #16a34a;
  --hs-warning: #d97706;
  --hs-danger: #dc2626;
  --hs-bg: #f4f6f9;
  --hs-card-bg: #ffffff;
  --hs-border: #e2e8f0;
  --hs-text: #1e293b;
  --hs-text-muted: #64748b;
  --hs-radius: 10px;
  --hs-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ── Delivery location widget (right-side vertical tab) ─────────── */

#hs-delivery-widget {
  display: none; /* shown by JS */
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px 17px;
  border-radius: 10px 0 0 10px;
  cursor: pointer;
  background: linear-gradient(180deg, #6bc5f8 0%, #3d9be9 55%, #2076c4 100%);
  color: #fff;
  border: none;
  box-shadow:
    -4px 0 20px rgba(61, 155, 233, 0.55),
    -1px 0 5px rgba(33, 118, 196, 0.3);
  transition: all 0.2s ease;
  user-select: none;
}
#hs-delivery-widget:hover {
  background: linear-gradient(180deg, #80ccfa 0%, #4fabf0 55%, #2a84d4 100%);
  box-shadow:
    -6px 0 26px rgba(61, 155, 233, 0.7),
    -2px 0 7px rgba(33, 118, 196, 0.4);
  transform: translateY(-50%) translateX(-5px);
}
#hs-delivery-widget:active {
  transform: translateY(-50%) translateX(0);
  box-shadow: -2px 0 12px rgba(61, 155, 233, 0.5);
}

.hs-dw-pin {
  flex-shrink: 0;
  color: #fff;
  opacity: 0.9;
}
.hs-dw-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.hs-dw-label {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.hs-dw-location {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.hs-dw-caret {
  flex-shrink: 0;
  opacity: 0.6;
  margin-top: 2px;
  transform: rotate(90deg);
}

/* On mobile the full-height tab at top:50% drifts over whatever section
   is mid-viewport while scrolling. Pin it as a compact icon button in the
   bottom-right corner instead so it never overlaps page content. */
@media (max-width: 767px) {
  #hs-delivery-widget {
    top: auto;
    bottom: 16px;
    right: 16px;
    transform: none;
    flex-direction: row;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    box-shadow:
      0 4px 16px rgba(61, 155, 233, 0.55),
      0 1px 5px rgba(33, 118, 196, 0.3);
  }
  #hs-delivery-widget:hover {
    transform: none;
  }
  #hs-delivery-widget:active {
    transform: scale(0.94);
  }
  .hs-dw-info,
  .hs-dw-caret {
    display: none;
  }
}

/* ── Location modal overlay ─────────────────────────────── */

#hs-location-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 100000;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 24px;
}
#hs-location-overlay.hs-loc-open {
  display: flex;
}

#hs-location-modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 460px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  animation: hs-modal-drop 0.2s ease;
}
@keyframes hs-modal-drop {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hs-location-modal-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--hs-border);
}
.hs-location-modal-hdr h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hs-text);
}
#hs-location-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--hs-text-muted);
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.12s;
}
#hs-location-close:hover {
  background: var(--hs-bg);
  color: var(--hs-text);
}

#hs-location-body {
  padding: 20px 24px 24px;
}

/* Address list inside modal */
.hs-loc-addr-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.hs-loc-addr-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid var(--hs-border);
  border-radius: 10px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.hs-loc-addr-item:hover {
  border-color: var(--hs-primary);
  background: #f0f7ff;
}
.hs-loc-addr-item.hs-loc-selected {
  border-color: var(--hs-primary);
  background: #eef2ff;
}
.hs-loc-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--hs-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hs-primary);
  margin-top: 1px;
}
.hs-loc-addr-item.hs-loc-selected .hs-loc-check {
  border-color: var(--hs-primary);
  background: var(--hs-primary);
  color: #fff;
}
.hs-loc-addr-info {
  flex: 1;
}
.hs-loc-addr-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--hs-text);
  margin-bottom: 2px;
}
.hs-loc-addr-line {
  font-size: 0.82rem;
  color: var(--hs-text-muted);
}
.hs-loc-addr-fee {
  font-size: 0.8rem;
  color: var(--hs-success);
  font-weight: 600;
  margin-top: 3px;
}
.hs-loc-manage-link {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--hs-secondary);
  font-weight: 600;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  border: 1.5px solid var(--hs-border);
  transition: background 0.12s;
}
.hs-loc-manage-link:hover {
  background: var(--hs-bg);
}

/* Guest / postal code section */
.hs-loc-guest {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hs-loc-note {
  font-size: 0.88rem;
  color: var(--hs-text-muted);
  margin: 0;
}
.hs-loc-postal-row {
  display: flex;
  gap: 8px;
}
.hs-loc-postal-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--hs-border);
  border-radius: 8px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hs-loc-postal-input:focus {
  outline: none;
  border-color: var(--hs-secondary);
}
.hs-loc-zone-result {
  padding: 8px 12px;
  background: #dcfce7;
  color: #166534;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hs-loc-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hs-text-muted);
  font-size: 0.82rem;
}
.hs-loc-divider::before,
.hs-loc-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hs-border);
}
.hs-loc-guest-note {
  font-size: 0.8rem;
  color: var(--hs-text-muted);
  margin: 0;
  text-align: center;
}
.hs-loc-empty {
  text-align: center;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--hs-text-muted);
  font-size: 0.9rem;
}

/* Prevent body scroll when modal open */
body.hs-no-scroll {
  overflow: hidden;
}

/* ── Base ───────────────────────────────────────────────── */

.hs-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

.hs-card {
  background: var(--hs-card-bg);
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius);
  padding: 28px;
  box-shadow: var(--hs-shadow);
}

.hs-brand {
  color: var(--hs-primary);
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* ── Buttons ────────────────────────────────────────────── */

.hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  line-height: 1;
  letter-spacing: 0.01em;
}
.hs-btn-primary {
  background: linear-gradient(135deg, #6bc5f8 0%, #3d9be9 50%, #2076c4 100%);
  color: #fff;
  border-color: transparent;
  box-shadow:
    0 4px 18px rgba(61, 155, 233, 0.45),
    0 1px 4px rgba(33, 118, 196, 0.25) !important;
  text-decoration: none !important;
  padding: 12px 24px !important;
}
.hs-btn-primary:hover {
  background: linear-gradient(135deg, #80ccfa 0%, #4fabf0 50%, #2a84d4 100%);
  border-color: transparent;
  color: #fff;
  box-shadow:
    0 6px 24px rgba(61, 155, 233, 0.6),
    0 2px 6px rgba(33, 118, 196, 0.35);
  transform: translateY(-1px);
}
.hs-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(61, 155, 233, 0.4);
}
.hs-btn-outline {
  background: transparent;
  color: var(--hs-primary);
  border-color: var(--hs-primary);
}
.hs-btn-outline:hover {
  background: linear-gradient(135deg, #6bc5f8 0%, #3d9be9 50%, #2076c4 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 18px rgba(61, 155, 233, 0.4);
  transform: translateY(-1px);
}
.hs-btn-outline:active {
  transform: translateY(0);
}
.hs-btn-full {
  width: 100%;
}
.hs-btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}
.hs-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Out-of-stock disabled button states ──────────────────── */
.hs-pd-btn-out-of-stock,
.hs-pd-btn-out-of-stock:hover,
.hs-pd-btn-out-of-stock:focus {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(40%);
  transform: none !important;
  box-shadow: none !important;
}
.hs-arc-btn-disabled,
.hs-arc-btn-disabled:hover,
.hs-arc-btn-disabled:focus {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(40%);
  transform: none !important;
  box-shadow: none !important;
}
.hs-pl-buy-btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(40%);
}
.hs-pl-badge-out-of-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e53e3e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}

/* ── Forms ──────────────────────────────────────────────── */

.hs-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hs-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hs-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hs-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hs-field--full {
  grid-column: 1 / -1;
}

.hs-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hs-text);
}
.hs-required {
  color: #e53e3e;
  margin-left: 2px;
}

.hs-field input,
.hs-field select,
.hs-field textarea,
#hs-notes,
#hs-delivery-date,
#hs-delivery-time,
#hs-qty {
/*   padding: 10px 14px; */
  border: 1.5px solid var(--hs-border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--hs-text);
  background: #fff;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.hs-field input:focus,
.hs-field select:focus,
.hs-field textarea:focus {
  outline: none;
  border-color: var(--hs-secondary);
}

.hs-field-hint {
  font-size: 0.78rem;
  color: var(--hs-text-muted);
}

.hs-input-wrap {
  position: relative;
}
.hs-input-wrap input {
  padding-right: 44px;
}
.hs-toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.5;
}
.hs-toggle-pass:hover {
  opacity: 1;
}

.hs-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hs-radio-group label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.hs-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.88rem;
}

/* ── Messages ───────────────────────────────────────────── */

.hs-msg {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.hs-msg-success {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.hs-msg-error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.hs-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
}
.hs-alert-warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* ── Auth pages ─────────────────────────────────────────── */

.hs-auth-wrap {
  max-width: 460px;
}
.hs-auth-card {
  padding: 36px;
}
.hs-auth-card--wide {
  max-width: 700px;
}
.hs-auth-logo {
  text-align: center;
  margin-bottom: 20px;
}
.hs-auth-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hs-primary);
  margin: 0 0 6px;
}
.hs-auth-subtitle {
  text-align: center;
  color: var(--hs-text-muted);
  font-size: 0.9rem;
  margin: 0 0 24px;
}
.hs-auth-alt {
  text-align: center;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--hs-text-muted);
}
.hs-auth-alt a {
  color: var(--hs-secondary);
  text-decoration: none;
  font-weight: 600;
}
.hs-auth-alt a:hover {
  text-decoration: underline;
}

.hs-user-type-info {
  margin-top: 24px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid var(--hs-border);
}
.hs-user-type-info h4 {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--hs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hs-user-type-info ul {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 0.85rem;
}
.hs-user-type-info li {
  margin-bottom: 6px;
}
.hs-user-type-info a {
  color: var(--hs-secondary);
  font-weight: 600;
}

/* ── User type selector (register) ─────────────────────── */

.hs-type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.hs-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 16px 12px;
  border: 2px solid var(--hs-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s;
  background: #fff;
}
.hs-type-card input[type="radio"] {
  display: none;
}
.hs-type-card:has(input:checked),
.hs-type-card.selected {
  border-color: var(--hs-primary);
  background: #eef2ff;
}
.hs-type-card--a:has(input:checked) {
  border-color: #2563eb;
  background: #dbeafe;
}
.hs-type-card--b:has(input:checked) {
  border-color: #16a34a;
  background: #dcfce7;
}
.hs-type-card--d:has(input:checked) {
  border-color: #d97706;
  background: #fef3c7;
}
.hs-type-icon {
  font-size: 2rem;
}
.hs-type-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--hs-primary);
}
.hs-type-desc {
  font-size: 0.75rem;
  color: var(--hs-text-muted);
  line-height: 1.4;
}

/* ── Banners ────────────────────────────────────────────── */

.hs-user-banner,
.hs-guest-banner,
.hs-promo-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: var(--hs-radius);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.hs-user-banner {
  background: linear-gradient(135deg, var(--hs-primary), var(--hs-secondary));
  color: #fff;
}
.hs-user-banner.hs-banner-b {
  background: linear-gradient(135deg, #166534, #16a34a);
}
.hs-banner-greeting {
  flex: 1;
}
.hs-banner-type {
  font-size: 0.85rem;
  opacity: 0.85;
}
.hs-banner-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
.hs-guest-banner {
  background: #f8fafc;
  border: 1px solid var(--hs-border);
  color: var(--hs-text);
  font-size: 0.9rem;
}
.hs-guest-banner a {
  color: var(--hs-secondary);
  font-weight: 600;
}
.hs-promo-banner {
  background: #fef9c3;
  border: 1px solid #fde68a;
  color: #713f12;
  font-size: 0.9rem;
}
.hs-promo-banner a {
  color: var(--hs-accent-d);
  font-weight: 700;
}

/* ── Order layout ───────────────────────────────────────── */

.hs-order-wrap {
  max-width: 1100px;
}
.hs-order-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.hs-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hs-primary);
  margin: 0 0 20px;
}

/* Steps */
.hs-step {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hs-border);
}
.hs-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.hs-step-hidden {
  display: none;
}
.hs-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.hs-step-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--hs-primary);
}
.hs-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hs-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Tabs */
.hs-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--hs-border);
  margin-bottom: 16px;
}
.hs-tab-btn {
  padding: 8px 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hs-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.hs-tab-btn.hs-tab-active {
  color: var(--hs-primary);
  border-bottom-color: var(--hs-primary);
}

/* Material grid */
.hs-material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.hs-material-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 0 0 12px;
  border: 2px solid var(--hs-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
  overflow: hidden;
}
.hs-material-card input[type="radio"] {
  display: none;
}
.hs-material-card:has(input:checked),
.hs-material-card.selected {
  border-color: var(--hs-primary);
  background: #eef2ff;
}
.hs-material-img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px 10px 0 0;
  margin-bottom: 6px;
}
.hs-material-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--hs-text);
  padding: 0 8px;
}
.hs-material-unit {
  font-size: 0.75rem;
  color: var(--hs-text-muted);
  padding: 0 8px;
}

/* Variant grid */
.hs-variant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hs-variant-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  padding: 18px 10px 14px;
  border: 2px solid #d9edf9;
  border-radius: 20px;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
  background: #fff;
  color: #54b0f1;
  user-select: none;
}
.hs-variant-card:hover {
  border-color: #54b0f1;
  box-shadow: 0 4px 14px rgba(84, 176, 241, 0.18);
}
.hs-variant-card.selected {
  background: #54b0f1;
  border-color: #54b0f1;
  color: #fff;
  box-shadow: 0 4px 18px rgba(84, 176, 241, 0.35);
}
.hs-variant-card.selected .hs-variant-name,
.hs-variant-card.selected .hs-variant-cap,
.hs-variant-card.selected .hs-variant-price {
  color: #ffffff !important;
}
.hs-variant-truck-icon {
  width: 58px;
  height: 32px;
  flex-shrink: 0;
  margin-bottom: 3px;
}
.hs-variant-name {
  font-weight: 700;
  font-size: 0.93rem;
  color: inherit;
  white-space: nowrap;
}
.hs-variant-cap {
  font-size: 0.75rem;
  font-weight: 400;
  color: inherit;
  opacity: 0.85;
  white-space: nowrap;
}
.hs-variant-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: inherit;
  white-space: nowrap;
  margin-top: 3px;
}

/* Quantity */
.hs-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hs-qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--hs-primary);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition:
    background 0.15s,
    filter 0.15s;
}
.hs-qty-btn:hover {
  filter: brightness(0.88);
}
#hs-qty {
  width: 70px;
  text-align: center;
}
.hs-qty-unit {
  font-size: 0.88rem;
  color: var(--hs-text-muted);
}

/* Saved addresses list */
.hs-address-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hs-address-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 2px solid var(--hs-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s;
  background: #fff;
}
.hs-address-option.selected {
  border-color: var(--hs-primary);
  background: #eef2ff;
}
.hs-address-option-text {
  flex: 1;
}
.hs-address-option-label {
  font-weight: 700;
  font-size: 0.9rem;
}
.hs-address-option-addr {
  font-size: 0.82rem;
  color: var(--hs-text-muted);
}
.hs-address-option-fee {
  font-size: 0.82rem;
  color: var(--hs-success);
  font-weight: 600;
}
.hs-addr-opt-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-self: center;
}
.hs-addr-opt-form {
  background: #f8fafc;
  border: 1px solid var(--hs-border);
  border-radius: 10px;
  padding: 16px;
  margin-top: 4px;
  margin-bottom: 4px;
}
.hs-addr-form-btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.hs-loading {
  color: var(--hs-text-muted);
  font-size: 0.88rem;
  padding: 8px 0;
}

/* ── Summary card ───────────────────────────────────────── */

.hs-summary-card {
  position: sticky;
  top: 100px;
}
.hs-summary-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hs-primary);
  margin: 0 0 16px;
}
.hs-summary-empty {
  color: var(--hs-text-muted);
  font-size: 0.88rem;
  text-align: center;
  padding: 20px 0;
}
.hs-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #f1f5f9;
}
.hs-summary-row:last-child {
  border-bottom: none;
}
.hs-summary-shipping {
  color: var(--hs-text-muted);
}
.hs-summary-divider {
  border-top: 2px solid var(--hs-border);
  margin: 8px 0;
}
.hs-summary-total {
  font-size: 1rem;
}
.hs-summary-total strong {
  font-size: 1.2rem;
  color: var(--hs-primary);
}

.hs-personalized-badge {
  margin-top: 8px;
  padding: 6px 12px;
  background: #dcfce7;
  border-radius: 6px;
  color: #166534;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

/* ── Cart line items in the order summary ─────────────────────────────────── */

#hs-sum-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.hs-sum-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  background: #f8fafc;
  border: 1px solid var(--hs-border);
  border-radius: 8px;
  font-size: 0.84rem;
}
.hs-sum-item-preview {
  border-color: var(--hs-primary);
  background: #eef6ff;
}
.hs-sum-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.hs-sum-item-name {
  font-weight: 700;
  color: var(--hs-text);
}
.hs-sum-item-meta {
  color: var(--hs-text-muted);
  font-size: 0.78rem;
}
.hs-sum-item-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.hs-sum-item-price {
  font-weight: 700;
  color: var(--hs-text);
  white-space: nowrap;
}
.hs-sum-item-remove {
  background: none;
  border: none;
  color: var(--hs-text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  border-radius: 4px;
  transition:
    color 0.12s,
    background 0.12s;
}
.hs-sum-item-remove:hover {
  color: var(--hs-danger);
  background: #fee2e2;
}

/* ── Order action buttons (Add Another / Place Order) ─────────────────────── */

#hs-order-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

/* Payment */
.hs-payment-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hs-text);
  margin: 16px 0 10px;
}
.hs-payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.hs-payment-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 2px solid var(--hs-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s;
  background: #fff;
}
.hs-payment-card input {
  display: none;
}
.hs-payment-card.hs-payment-selected {
  border-color: var(--hs-primary);
  background: #eef2ff;
}
.hs-pay-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.hs-payment-card strong {
  display: block;
  font-size: 0.88rem;
}
.hs-payment-card small {
  font-size: 0.78rem;
  color: var(--hs-text-muted);
}

.hs-zone-card {
  margin-top: 16px;
  padding: 16px 20px;
}
.hs-zone-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--hs-text-muted);
}
.hs-zone-card select {
  width: 100%;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1.5px solid var(--hs-border);
  font-size: 0.88rem;
}

/* ── Confirmation ───────────────────────────────────────── */

.hs-confirm-card {
  max-width: 640px;
  margin: 40px auto;
  text-align: center;
}
.hs-confirm-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hs-confirm-title {
  font-size: 1.8rem;
  color: var(--hs-primary);
  margin: 0 0 8px;
}
.hs-confirm-subtitle {
  color: var(--hs-text-muted);
  margin: 0 0 24px;
}
.hs-confirm-number {
  font-size: 1.1rem;
  background: var(--hs-bg);
  border-radius: 8px;
  padding: 12px 20px;
  display: inline-block;
  margin-bottom: 24px;
}

.hs-confirm-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.hs-confirm-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--hs-border);
}
.hs-confirm-shipping-row td {
  color: var(--hs-text-muted);
}
.hs-confirm-total-row td {
  font-size: 1rem;
  padding-top: 12px;
}

.hs-confirm-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
  margin: 20px 0;
}
.hs-confirm-meta-item {
  padding: 12px;
  background: var(--hs-bg);
  border-radius: 8px;
}
.hs-meta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.hs-meta-value {
  font-size: 0.92rem;
  color: var(--hs-text);
}
.hs-confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ── Account page ───────────────────────────────────────── */

.hs-account-wrap {
  max-width: 960px;
}
.hs-account-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.hs-account-header h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  color: var(--hs-primary);
}
.hs-account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hs-card--wide {
  grid-column: 1 / -1;
}

.hs-dl {
  margin: 0;
}
.hs-dl dt {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 10px;
}
.hs-dl dd {
  margin: 2px 0 0;
  font-size: 0.92rem;
}

.hs-address-list-static {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hs-address-item {
  padding: 12px;
  background: var(--hs-bg);
  border-radius: 8px;
  font-size: 0.88rem;
  border: 1px solid var(--hs-border);
}
.hs-address-default {
  border-color: var(--hs-primary);
}
.hs-default-badge {
  font-size: 0.7rem;
  background: var(--hs-primary);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ── Address manager (account page) ──────────────────────── */

.hs-addr-manager-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.hs-addr-manager-header h3 {
  margin: 0;
}

#hs-addr-form-wrap {
  background: #f8fafc;
  border: 1px solid var(--hs-border);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 16px;
}

.hs-addr-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

#hs-account-addr-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hs-addr-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--hs-border);
  border-radius: 8px;
  background: var(--hs-bg);
  transition: border-color 0.15s;
}
.hs-addr-card--default {
  border-color: var(--hs-primary);
  background: #eef2ff;
}

.hs-addr-card-body {
  flex: 1;
}
.hs-addr-card-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--hs-text);
  margin-bottom: 4px;
}
.hs-addr-card-addr {
  font-size: 0.85rem;
  color: var(--hs-text-muted);
  margin-bottom: 4px;
}
.hs-addr-card-zone {
  font-size: 0.8rem;
  color: var(--hs-success);
  font-weight: 600;
}
.hs-addr-card-zone.hs-text-muted {
  color: var(--hs-text-muted);
  font-weight: 400;
}

.hs-addr-card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

/* Extra-small button variant */
.hs-btn-xs {
  padding: 5px 10px;
  font-size: 0.78rem;
  border-radius: 6px;
}

/* Danger button */
.hs-btn-danger {
  background: transparent;
  color: var(--hs-danger);
  border: 1.5px solid var(--hs-danger);
}
.hs-btn-danger:hover {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 55%, #b91c1c 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
  transform: translateY(-1px);
}

.hs-sub-user-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hs-sub-user-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  background: var(--hs-bg);
  border-radius: 8px;
  font-size: 0.88rem;
}

.hs-table-wrap {
  overflow-x: auto;
}
.hs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.hs-table th {
  padding: 10px 12px;
  background: var(--hs-bg);
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hs-text-muted);
  border-bottom: 2px solid var(--hs-border);
}
.hs-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--hs-border);
  vertical-align: top;
}

/* ── Badges & Status ────────────────────────────────────── */

.hs-badge {
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}
.hs-type-a {
  background: #dbeafe;
  color: #1e40af;
}
.hs-type-b {
  background: #dcfce7;
  color: #166534;
}
.hs-type-c {
  background: #f3f4f6;
  color: #374151;
}
.hs-type-d {
  background: #fef9c3;
  color: #854d0e;
}

.hs-status {
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}
.hs-status-pending {
  background: #fef3c7;
  color: #92400e;
}
.hs-status-confirmed {
  background: #d1fae5;
  color: #065f46;
}
.hs-status-processing {
  background: #dbeafe;
  color: #1e40af;
}
.hs-status-delivered {
  background: #e0e7ff;
  color: #3730a3;
}
.hs-status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

/* ── Spinner ────────────────────────────────────────────── */

.hs-btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hs-spin 0.7s linear infinite;
}
@keyframes hs-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Material category filter chips ────────────────────── */

.hs-material-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.hs-material-chip {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--hs-border);
  background: #fff;
  color: var(--hs-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
}
.hs-material-chip:hover {
  border-color: var(--hs-primary);
  color: var(--hs-primary);
}
.hs-material-chip-active {
  border-color: var(--hs-primary);
  background: #eef6ff;
  color: var(--hs-primary);
}

/* WooCommerce gateway icon sizing */
.hs-pay-wc-icon img {
  max-height: 24px;
  width: auto;
  vertical-align: middle;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 768px) {
  .hs-order-layout {
    grid-template-columns: 1fr;
  }
  .hs-summary-card {
    position: static;
  }
  .hs-type-selector {
    grid-template-columns: 1fr;
  }
  .hs-form-grid,
  .hs-form-row {
    grid-template-columns: 1fr;
  }
  .hs-account-grid {
    grid-template-columns: 1fr;
  }
  .hs-confirm-meta {
    grid-template-columns: 1fr;
  }
  .hs-variant-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   Astra Theme — Header & Footer Gradient Overrides
   ========================================================= */

/* ── Primary navigation bar ─────────────────────────────── */

.main-header-bar,
.main-header-bar-wrap,
.ast-hfb-header .main-header-bar {
  background: linear-gradient(
    135deg,
    #5bbaf5 0%,
    #3d9be9 45%,
    #1e72c0 100%
  ) !important;
  box-shadow: 0 2px 16px rgba(30, 114, 192, 0.35) !important;
}

/* ── Main footer content area ───────────────────────────── */

.site-primary-footer-wrap,
.site-above-footer-wrap {
  background: linear-gradient(
    135deg,
    #5bbaf5 0%,
    #3d9be9 45%,
    #1e72c0 100%
  ) !important;
}

/* ── Footer copyright / bottom bar ─────────────────────── */

.site-below-footer-wrap {
  background: linear-gradient(
    135deg,
    #3a91de 0%,
    #2878c2 50%,
    #1a5fa0 100%
  ) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Ensure footer text links stay readable */
.site-footer a,
.site-primary-footer-wrap a,
.site-below-footer-wrap a {
  color: rgba(255, 255, 255, 0.85);
}
.site-footer a:hover,
.site-primary-footer-wrap a:hover,
.site-below-footer-wrap a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ── Hide page title on hs plugin pages ─────────────────────────────────── */
.hs-account-page .entry-title,
.hs-account-page .entry-header,
.hs-account-page .ast-page-title-wrap,
.hs-account-page .page-title-bar,
.hs-shop-page .entry-title,
.hs-shop-page .entry-header,
.hs-shop-page .ast-page-title-wrap,
.hs-shop-page .page-title-bar,
.hs-order-page .entry-title,
.hs-order-page .entry-header,
.hs-order-page .ast-page-title-wrap,
.hs-order-page .page-title-bar,
.hs-quote-page .entry-title,
.hs-quote-page .entry-header,
.hs-quote-page .ast-page-title-wrap,
.hs-quote-page .page-title-bar {
  display: none !important;
}

/* ── Quote page ─────────────────────────────────────────────────────────── */

.hs-quote-page .entry-content {
  padding: 0 !important;
  max-width: 100% !important;
}

.hs-quote-page #primary,
.hs-quote-page .site-main,
.hs-quote-page .ast-container,
.hs-quote-page #content .ast-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ── Shop page ──────────────────────────────────────────────────────────── */

.hs-shop-wrap {
  max-width: 1140px;
}

.hs-shop-hero {
  text-align: center;
  padding: 32px 0 40px;
}
.hs-shop-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--hs-text);
  margin: 0 0 10px;
}
.hs-shop-sub {
  color: var(--hs-text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.hs-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  padding-bottom: 48px;
}

.hs-cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--hs-primary);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.hs-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(61, 155, 233, 0.18);
  border-color: var(--hs-primary);
  text-decoration: none;
  color: inherit;
}

.hs-cat-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  background: linear-gradient(135deg, #e8f4fd 0%, #dbeeff 100%);
  overflow: hidden;
}
.hs-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hs-cat-icon {
  width: 72px;
  height: 72px;
  color: var(--hs-primary);
}
.hs-cat-icon svg {
  width: 100%;
  height: 100%;
}

.hs-cat-body {
  flex: 1;
  padding: 18px 20px 12px;
}
.hs-cat-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hs-text);
  margin: 0 0 6px;
}
.hs-cat-desc {
  font-size: 0.85rem;
  color: var(--hs-text-muted);
  margin: 0;
  line-height: 1.5;
}

.hs-cat-footer {
  padding: 12px 20px 18px;
}
.hs-cat-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hs-primary);
  transition: gap 0.15s ease;
}
.hs-cat-card:hover .hs-cat-cta {
  gap: 10px;
}

/* ── Order form breadcrumb ──────────────────────────────────────────────── */

.hs-order-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.hs-breadcrumb-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--hs-primary);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}
.hs-breadcrumb-back:hover {
  opacity: 0.75;
  text-decoration: none;
}
.hs-breadcrumb-sep {
  color: var(--hs-text-muted);
}
.hs-breadcrumb-current {
  color: var(--hs-text);
  font-weight: 600;
}
.smart-menu-button a {
  background: linear-gradient(135deg, #6bc5f8 0%, #3d9be9 50%, #2076c4 100%);
}

/* ── EAEL Product Grid — pure CSS hover-reveal Buy Now button ───────────────── */

/* Clip the sliding button at the card boundary */
.eael-product-grid .woocommerce ul.products .product .eael-product-wrap {
  position: relative !important;
  overflow: hidden !important;
}

/* Button hidden below the card by default */
.eael-product-grid
  .woocommerce
  ul.products
  .product
  .eael-product-wrap
  > a.button,
.eael-product-grid
  .woocommerce
  ul.products
  .product
  .eael-product-wrap
  > a.add_to_cart_button {
  display: block;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  border-radius: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  z-index: 10 !important;
  transform: translateY(101%) !important;
  transition: transform 0.28s ease !important;
  pointer-events: none !important;
}

/* On hover: slide the button up into view */
.eael-product-grid
  .woocommerce
  ul.products
  .product:hover
  .eael-product-wrap
  > a.button,
.eael-product-grid
  .woocommerce
  ul.products
  .product:hover
  .eael-product-wrap
  > a.add_to_cart_button {
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* ── Home page: taller product images ──────────────────────────────────────── */

.home .eael-product-grid .woocommerce-LoopProduct-link img,
.front-page .eael-product-grid .woocommerce-LoopProduct-link img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.home .eael-product-grid .eael-product-wrap > a.button,
.home .eael-product-grid .eael-product-wrap > a.add_to_cart_button,
.front-page .eael-product-grid .eael-product-wrap > a.button,
.front-page .eael-product-grid .eael-product-wrap > a.add_to_cart_button {
  display: none !important;
}

/* ==========================================================
   [hs_product_list] shortcode — product card grid
   ========================================================== */

.hs-product-list-wrap {
  padding: 8px 0 40px;
}

.hs-pl-section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 32px;
  color: var(--hs-text);
}

.hs-pl-empty {
  text-align: center;
  color: var(--hs-text-muted);
  padding: 40px 0;
}

/* ── Grid ─────────────────────────────────────────────────── */
.hs-pl-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
.hs-pl-grid.hs-pl-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.hs-pl-grid.hs-pl-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.hs-pl-grid.hs-pl-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.hs-pl-grid.hs-pl-cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* ── Card ─────────────────────────────────────────────────── */
.hs-pl-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--hs-border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.11);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.hs-pl-card:hover {
  border-color: #c8d8ed;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* ── Image area ───────────────────────────────────────────── */
.hs-pl-img-wrap {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  /* aspect-ratio: 3 / 4; */
}
.hs-pl-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.hs-pl-card:hover .hs-pl-img-wrap img {
  transform: scale(1.06);
}
.hs-pl-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Badges ───────────────────────────────────────────────── */
.hs-pl-badge {
  position: absolute;
  left: 12px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 4px 11px;
  border-radius: 999px;
  color: #fff;
  pointer-events: none;
}
.hs-pl-badge-sale {
  top: 12px;
  background: #dc2626;
}
.hs-pl-badge-stock {
  top: 40px;
  background: #16a34a;
}

/* ── Countdown timer ──────────────────────────────────────── */
.hs-pl-countdown {
  position: absolute;
  bottom: 58px; /* sit above the Buy Now button */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.93);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--hs-text);
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
  letter-spacing: 0.03em;
}

/* ── Hover action icons (right side) ──────────────────────── */
.hs-pl-actions {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) translateX(52px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
  opacity: 0;
}
.hs-pl-card:hover .hs-pl-actions {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}
.hs-pl-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  color: var(--hs-text);
  transition:
    background 0.2s ease,
    color 0.2s ease;
  flex-shrink: 0;
}
.hs-pl-action-btn:hover {
  background: var(--hs-primary);
  color: #fff;
}

/* ── Buy Now button (slides up from bottom on hover) ──────── */
.hs-pl-buy-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 14px 14px;
  transform: translateY(64px);
  opacity: 0;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
  z-index: 3;
}
.hs-pl-card:hover .hs-pl-buy-wrap {
  transform: translateY(0);
  opacity: 1;
}
.hs-pl-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #3d9be9 0%, #1a7ecf 100%);
  border: none;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(61, 155, 233, 0.38);
  transition:
    opacity 0.22s ease,
    transform 0.2s ease,
    box-shadow 0.22s ease;
  cursor: pointer;
}
.hs-pl-buy-btn:hover {
  opacity: 0.88;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(61, 155, 233, 0.5);
}
.hs-pl-buy-btn:active {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(61, 155, 233, 0.35);
}

/* ── Product info ─────────────────────────────────────────── */
.hs-pl-info {
  padding: 14px 16px 16px;
}

/* Stars */
.hs-pl-stars {
  display: flex;
  gap: 1px;
  margin-bottom: 5px;
}
.hs-star {
  font-size: 0.9rem;
  color: #f59e0b;
  line-height: 1;
}
.hs-star.empty {
  color: #d1d5db;
}

/* Name */
.hs-pl-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 5px;
  line-height: 1.35;
  color: var(--hs-text);
  text-align: center;
}
.hs-pl-name a {
  color: inherit;
  text-decoration: none;
}
.hs-pl-name a:hover {
  color: var(--hs-primary);
}

/* Price (WooCommerce HTML) */
.hs-pl-price {
  text-align: center;
  font-size: 0.9rem;
}
.hs-pl-price .woocommerce-Price-amount {
  color: var(--hs-text);
  font-weight: 600;
}
.hs-pl-price del .woocommerce-Price-amount {
  color: var(--hs-text-muted);
  font-weight: 400;
}
.hs-pl-price ins {
  text-decoration: none;
}
.hs-pl-price ins .woocommerce-Price-amount {
  color: var(--hs-danger);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .hs-pl-grid.hs-pl-cols-5 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1024px) {
  .hs-pl-grid.hs-pl-cols-4,
  .hs-pl-grid.hs-pl-cols-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .hs-pl-grid.hs-pl-cols-3,
  .hs-pl-grid.hs-pl-cols-4,
  .hs-pl-grid.hs-pl-cols-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .hs-pl-grid {
    grid-template-columns: 1fr !important;
  }
  .hs-pl-actions {
    display: none;
  } /* too narrow for icon column */
}

/* ── Cart toast notification ────────────────────────────── */

.hs-cart-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--hs-success);
  color: #fff;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(22, 163, 74, 0.35);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  white-space: nowrap;
}
.hs-cart-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================================
   Product Archive (Category / Shop pages)
   ========================================================= */

/*
 * Force the archive page to be full-width regardless of the active theme.
 * Hides the sidebar, resets the main content column to 100%, and strips
 * padding / max-width from common theme wrappers.
 */
body.hs-archive-page #secondary,
body.hs-archive-page .widget-area,
body.hs-archive-page aside.secondary,
body.hs-archive-page .sidebar,
body.hs-archive-page .sidebar-container {
  display: none !important;
}

body.hs-archive-page #primary,
body.hs-archive-page .content-area,
body.hs-archive-page #main-content {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

body.hs-archive-page #main,
body.hs-archive-page .site-main,
body.hs-archive-page .site-content {
  padding: 0 !important;
  margin: 0 !important;
}

body.hs-archive-page .wrap,
body.hs-archive-page .container,
body.hs-archive-page .container-inner,
body.hs-archive-page #content {
  max-width: 100% !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Full-bleed breakout: overrides any remaining container max-width */
.hs-arc-wrap {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hs-bg);
  min-height: 60vh;
  overflow-x: hidden;
  margin-top: 20px;
  border-radius: 20px 20px 0 0;
  margin-bottom: 40px;
}

/* ── Hero ───────────────────────────────────────────────── */
.hs-arc-hero {
  background: linear-gradient(135deg, #1a6fb5 0%, #3d9be9 50%, #2bbcd6 100%);
  padding: 56px 24px 52px;
  position: relative;
  overflow: hidden;
}
.hs-arc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hs-arc-hero--has-img {
  background-image: var(--arc-hero-img);
  background-size: cover;
  background-position: center;
}
.hs-arc-hero--has-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 111, 181, 0.88) 0%,
    rgba(61, 155, 233, 0.78) 100%
  );
}
.hs-arc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
}

/* Breadcrumb inside hero */
.hs-arc-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}
.hs-arc-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.15s;
}
.hs-arc-breadcrumb a:hover {
  color: #fff;
}
.hs-arc-breadcrumb span {
  color: #fff;
  font-weight: 600;
}
.hs-arc-breadcrumb svg {
  opacity: 0.6;
  flex-shrink: 0;
}

.hs-arc-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hs-arc-hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 20px;
  max-width: 540px;
  line-height: 1.6;
}
.hs-arc-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hs-arc-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 5px 14px;
}

/* ── Filter bar ─────────────────────────────────────────── */
.hs-arc-bar {
  background: var(--hs-card-bg);
  border-bottom: 1px solid var(--hs-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.hs-arc-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
.hs-arc-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.hs-arc-chip {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  font-family: inherit;
  color: var(--hs-text-muted);
  background: var(--hs-bg);
  border: 1.5px solid var(--hs-border);
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.hs-arc-chip:hover {
  border-color: var(--hs-primary);
  color: var(--hs-primary);
  background: rgba(61, 155, 233, 0.06);
}
.hs-arc-chip.active {
  background: var(--hs-primary);
  border-color: var(--hs-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(61, 155, 233, 0.35);
}
.hs-arc-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--hs-text-muted);
  flex-shrink: 0;
}
.hs-arc-sort-sel {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--hs-text);
  border: 1.5px solid var(--hs-border);
  border-radius: 8px;
  padding: 6px 32px 6px 12px;
  background: var(--hs-bg);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
}
.hs-arc-sort-sel:focus {
  border-color: var(--hs-primary);
}

/* ── Product grid ───────────────────────────────────────── */
.hs-arc-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}
.hs-arc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Product card ───────────────────────────────────────── */
.hs-arc-card {
  background: var(--hs-card-bg);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--hs-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.hs-arc-card:hover {
  box-shadow:
    0 16px 48px rgba(61, 155, 233, 0.18),
    0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: rgba(61, 155, 233, 0.25);
}

/* Image */
.hs-arc-img-link {
  display: block;
  text-decoration: none;
}
.hs-arc-img-wrap {
  position: relative;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
}
.hs-arc-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  padding: 16px;
  box-sizing: border-box;
  transition: transform 0.4s ease;
}
.hs-arc-card:hover .hs-arc-img-wrap img {
  transform: scale(1.04);
}

/* Overlay on hover */
.hs-arc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 111, 181, 0.75) 0%,
    transparent 60%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.hs-arc-card:hover .hs-arc-overlay {
  opacity: 1;
}
.hs-arc-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--hs-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 999px;
  transform: translateY(10px);
  transition: transform 0.28s ease;
  letter-spacing: 0.02em;
}
.hs-arc-card:hover .hs-arc-overlay-btn {
  transform: translateY(0);
}

/* Badges */
.hs-arc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}
.hs-arc-badge-sale {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: #fff;
  box-shadow: 0 3px 10px rgba(238, 90, 36, 0.4);
}
.hs-arc-badge-low {
  background: linear-gradient(135deg, #f0a500, #e09000);
  color: #fff;
  top: 44px;
}
.hs-arc-badge-out {
  background: #94a3b8;
  color: #fff;
}

/* Info section */
.hs-arc-info {
  padding: 16px 18px 12px;
  flex: 1;
}
.hs-arc-cat-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hs-primary);
  background: rgba(61, 155, 233, 0.1);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 7px;
}
.hs-arc-name {
  font-size: 0.98rem;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.3;
}
.hs-arc-name a {
  color: var(--hs-text);
  text-decoration: none;
  transition: color 0.15s;
}
.hs-arc-name a:hover {
  color: var(--hs-primary);
}
.hs-arc-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hs-primary);
}
.hs-arc-price del {
  color: var(--hs-text-muted);
  font-size: 0.82rem;
  font-weight: 400;
  margin-right: 4px;
}
.hs-arc-price ins {
  text-decoration: none;
  color: var(--hs-danger);
}

/* Action buttons */
.hs-arc-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8px;
  padding: 0 14px 14px;
}
.hs-arc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.hs-arc-btn-ghost {
  background: var(--hs-bg);
  color: var(--hs-text-muted);
  border: 1.5px solid var(--hs-border);
}
.hs-arc-btn-ghost:hover {
  border-color: var(--hs-primary);
  color: var(--hs-primary);
  background: rgba(61, 155, 233, 0.06);
}
.hs-arc-btn-primary {
  background: linear-gradient(135deg, #6bc5f8 0%, #3d9be9 55%, #2076c4 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(61, 155, 233, 0.38);
}
.hs-arc-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(61, 155, 233, 0.55);
  transform: translateY(-1px);
  color: #fff;
}

/* Empty state */
.hs-arc-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--hs-text-muted);
}
.hs-arc-empty svg {
  opacity: 0.35;
  margin-bottom: 16px;
}
.hs-arc-empty p {
  font-size: 1rem;
  margin: 0 0 24px;
}
.hs-arc-back-btn {
  display: inline-block;
  background: var(--hs-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: opacity 0.15s;
}
.hs-arc-back-btn:hover {
  opacity: 0.88;
  color: #fff;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hs-arc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .hs-arc-hero {
    padding: 40px 20px 36px;
  }
  .hs-arc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hs-arc-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-height: auto;
    padding: 12px 20px;
  }
  .hs-arc-content {
    padding: 28px 20px 56px;
  }
}
@media (max-width: 480px) {
  .hs-arc-grid {
    grid-template-columns: 1fr;
  }
  .hs-arc-hero-title {
    font-size: 1.8rem;
  }
}

/* =========================================================
   Product Detail Page  [hs_product_detail]
   ========================================================= */

.hs-pd-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  font-family: inherit;
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.hs-pd-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--hs-text-muted);
  margin-bottom: 32px;
  background: var(--hs-card-bg);
  border: 1px solid var(--hs-border);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.hs-pd-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--hs-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.hs-pd-breadcrumb a:hover {
  color: var(--hs-secondary);
}
.hs-pd-breadcrumb span {
  color: var(--hs-text);
  font-weight: 600;
}
.hs-pd-breadcrumb svg {
  color: var(--hs-text-muted);
  flex-shrink: 0;
}

/* ── Two-column layout ──────────────────────────────────── */
.hs-pd-layout {
  display: grid;
  grid-template-columns: 52% 1fr;
  gap: 52px;
  align-items: start;
  margin-bottom: 64px;
}

/* ══ GALLERY ══════════════════════════════════════════════ */
.hs-pd-gallery {
  position: sticky;
  top: 20px;
}

.hs-pd-main-img-wrap {
  position: relative;
  background: linear-gradient(145deg, #f0f6fd 0%, #e8f2fb 100%);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(61, 155, 233, 0.12);
  box-shadow:
    0 8px 40px rgba(61, 155, 233, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: zoom-in;
}
.hs-pd-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}
.hs-pd-main-img-wrap:hover img {
  transform: scale(1.05);
}

/* Sale badge */
.hs-pd-badge-sale {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(238, 90, 36, 0.4);
}

/* Thumbnails */
.hs-pd-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.hs-pd-thumb {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--hs-border);
  padding: 0;
  background: var(--hs-bg);
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
  flex-shrink: 0;
}
.hs-pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hs-pd-thumb:hover {
  border-color: var(--hs-primary);
  transform: translateY(-2px);
}
.hs-pd-thumb.active {
  border-color: var(--hs-primary);
  box-shadow: 0 0 0 3px rgba(61, 155, 233, 0.25);
}

/* ══ INFO PANEL ═══════════════════════════════════════════ */
.hs-pd-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Category pills */
.hs-pd-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.hs-pd-cat-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hs-primary);
  background: rgba(61, 155, 233, 0.1);
  border: 1px solid rgba(61, 155, 233, 0.25);
  border-radius: 999px;
  padding: 4px 12px;
}

/* Name */
.hs-pd-name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--hs-text);
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

/* Price card */
.hs-pd-price-card {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3fd 100%);
  border: 1px solid rgba(61, 155, 233, 0.2);
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.hs-pd-price-card::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(61, 155, 233, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hs-pd-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.hs-pd-price-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hs-primary);
  opacity: 0.75;
  margin-bottom: 4px;
}
.hs-pd-price-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.hs-pd-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--hs-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hs-pd-price-unit {
  font-size: 0.9rem;
  color: var(--hs-text-muted);
  font-weight: 500;
}
.hs-pd-price-was {
  text-align: right;
  font-size: 0.8rem;
  color: var(--hs-text-muted);
  line-height: 1.5;
}
.hs-pd-price-was s {
  color: var(--hs-danger);
  font-weight: 600;
}
.hs-pd-short-desc {
  font-size: 0.88rem;
  color: var(--hs-text-muted);
  line-height: 1.65;
  margin: 14px 0 0;
  border-top: 1px solid rgba(61, 155, 233, 0.12);
  padding-top: 14px;
}

/* Divider */
.hs-pd-divider {
  height: 1px;
  background: var(--hs-border);
  margin: 4px 0 20px;
}

/* ── Section labels ─────────────────────────────────────── */
.hs-pd-section {
  margin-bottom: 20px;
}
.hs-pd-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hs-text-muted);
  margin-bottom: 12px;
}
.hs-pd-section-label svg {
  opacity: 0.6;
}

/* ── Variant cards ──────────────────────────────────────── */
.hs-pd-variants {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hs-pd-variant-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  padding: 18px 10px 14px;
  border: 2px solid #d9edf9;
  border-radius: 20px;
  background: #fff;
  color: #54b0f1;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
  user-select: none;
}
.hs-pd-variant-card:hover {
  border-color: #54b0f1;
  box-shadow: 0 4px 14px rgba(84, 176, 241, 0.18);
}
.hs-pd-variant-card.selected {
  background: #54b0f1;
  border-color: #54b0f1;
  color: #fff;
  box-shadow: 0 4px 18px rgba(84, 176, 241, 0.35);
}
.hs-pd-variant-card.selected .hs-pd-vc-name,
.hs-pd-variant-card.selected .hs-pd-vc-cap,
.hs-pd-variant-card.selected .hs-pd-vc-price {
  color: #ffffff !important;
}
.hs-vc-truck-icon {
  width: 58px;
  height: 32px;
  flex-shrink: 0;
  margin-bottom: 3px;
}
.hs-pd-vc-name {
  font-size: 0.93rem;
  font-weight: 700;
  color: inherit;
  white-space: nowrap;
}
.hs-pd-vc-cap {
  font-size: 0.75rem;
  font-weight: 400;
  color: inherit;
  opacity: 0.85;
  white-space: nowrap;
}
.hs-pd-vc-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: inherit;
  white-space: nowrap;
  margin-top: 3px;
}
.hs-pd-vc-price.hs-price-coming-soon {
  color: #ffffff;
}

/* ── Quantity ───────────────────────────────────────────── */
.hs-pd-qty-section {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hs-pd-qty-section .hs-pd-section-label {
  margin-bottom: 0;
}
.hs-pd-qty-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hs-pd-qty-btn {
  width: 40px;
  height: 40px;
  background: var(--hs-primary);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  user-select: none;
  transition:
    background 0.15s,
    transform 0.12s,
    box-shadow 0.15s;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(61, 155, 233, 0.35);
}
.hs-pd-qty-btn:hover {
  background: var(--hs-secondary);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(61, 155, 233, 0.45);
}
.hs-pd-qty-btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.hs-pd-qty-input {
  width: 64px;
  height: 40px;
  border: 2px solid var(--hs-border);
  border-radius: 10px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hs-text);
  background: var(--hs-card-bg);
  outline: none;
  -moz-appearance: textfield;
  transition: border-color 0.15s;
}
.hs-pd-qty-input:focus {
  border-color: var(--hs-primary);
}
.hs-pd-qty-input::-webkit-outer-spin-button,
.hs-pd-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* ── CTA Buttons ────────────────────────────────────────── */
.hs-pd-cta {
  display: flex;
  gap: 12px;
  margin: 24px 0 20px;
}
.hs-pd-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 24px;
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.hs-pd-btn-cart {
  background: linear-gradient(135deg, #6bc5f8 0%, #3d9be9 50%, #2076c4 100%);
  color: #fff;
  box-shadow:
    0 6px 20px rgba(61, 155, 233, 0.45),
    0 2px 6px rgba(33, 118, 196, 0.3);
}
.hs-pd-btn-cart:hover {
  box-shadow:
    0 10px 30px rgba(61, 155, 233, 0.6),
    0 4px 10px rgba(33, 118, 196, 0.35);
  transform: translateY(-3px);
  color: #fff;
}
.hs-pd-btn-cart:active {
  transform: translateY(-1px);
}
.hs-pd-btn-order {
  background: transparent;
  color: var(--hs-primary);
  border: 2px solid var(--hs-primary);
}
.hs-pd-btn-order:hover {
  background: var(--hs-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(61, 155, 233, 0.35);
}
.hs-pd-btn-request {
  width: 100%;
}

/* ── Trust strip ────────────────────────────────────────── */
.hs-pd-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 4px;
}
.hs-pd-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--hs-bg);
  border: 1px solid var(--hs-border);
  border-radius: 12px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.hs-pd-trust-item:hover {
  border-color: rgba(61, 155, 233, 0.3);
  box-shadow: 0 4px 12px rgba(61, 155, 233, 0.08);
}
.hs-pd-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(61, 155, 233, 0.1);
  color: var(--hs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hs-pd-trust-text {
  min-width: 0;
}
.hs-pd-trust-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hs-text);
  white-space: nowrap;
}
.hs-pd-trust-text span {
  display: block;
  font-size: 0.7rem;
  color: var(--hs-text-muted);
  white-space: nowrap;
}

/* ══ TABS ═════════════════════════════════════════════════ */
.hs-pd-tabs-wrap {
  background: var(--hs-card-bg);
  border: 1px solid var(--hs-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.hs-pd-tab-nav {
  display: flex;
  background: var(--hs-bg);
  border-bottom: 1px solid var(--hs-border);
  padding: 0 8px;
  gap: 4px;
}
.hs-pd-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  padding: 16px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hs-text-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.18s;
  white-space: nowrap;
}
.hs-pd-tab-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--hs-primary);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hs-pd-tab-btn:hover {
  color: var(--hs-primary);
}
.hs-pd-tab-btn.active {
  color: var(--hs-primary);
}
.hs-pd-tab-btn.active::after {
  transform: scaleX(1);
}

.hs-pd-tab-pane {
  display: none;
  padding: 32px 36px;
}
.hs-pd-tab-pane.active {
  display: block;
}

.hs-pd-desc-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--hs-text);
  max-width: 820px;
}
.hs-pd-desc-content p {
  margin-bottom: 1em;
}
.hs-pd-desc-content ul,
.hs-pd-desc-content ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.hs-pd-desc-content li {
  margin-bottom: 0.4em;
}
.hs-pd-desc-content h2,
.hs-pd-desc-content h3 {
  font-weight: 800;
  margin: 1.4em 0 0.6em;
  color: var(--hs-text);
}
.hs-pd-no-content {
  color: var(--hs-text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* Specs table */
.hs-pd-specs-table {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-radius: 12px;
  overflow: hidden;
}
.hs-pd-specs-table tr:last-child th,
.hs-pd-specs-table tr:last-child td {
  border-bottom: none;
}
.hs-pd-specs-table th,
.hs-pd-specs-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--hs-border);
}
.hs-pd-specs-table th {
  width: 38%;
  font-weight: 700;
  color: var(--hs-text-muted);
  background: var(--hs-bg);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hs-pd-specs-table td {
  color: var(--hs-text);
  font-weight: 500;
}
.hs-pd-specs-table tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.01);
}

/* ── Product Detail — Description block ─────────────────── */
.hs-pd-desc-wrap {
  background: var(--hs-card-bg);
  border: 1px solid var(--hs-border);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 48px;
}
.hs-pd-desc-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hs-text);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--hs-border);
}

/* ── Product Detail — You May Also Like ─────────────────── */
.hs-pd-related {
  margin-top: 52px;
  margin-bottom: 40px;
}
.hs-pd-related-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--hs-text);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.02em;
}
.hs-pd-related-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: linear-gradient(180deg, #6bc5f8 0%, #2076c4 100%);
  border-radius: 2px;
  flex-shrink: 0;
}
.hs-pd-related-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hs-border);
  border-radius: 2px;
}
.hs-pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.hs-pd-rel-card {
  background: var(--hs-card-bg);
  border: 1px solid var(--hs-border);
  border-top: 3px solid var(--hs-primary);
  border-radius: 16px;
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  margin-left: 10px;
}
.hs-pd-rel-card:hover {
  box-shadow: 0 14px 40px rgba(61, 155, 233, 0.18);
  transform: translateY(-6px);
  border-top-color: #2076c4;
}
.hs-pd-rel-img-wrap {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--hs-bg);
}
.hs-pd-rel-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s ease;
}
.hs-pd-rel-card:hover .hs-pd-rel-img-wrap img {
  transform: scale(1.07);
}
.hs-pd-rel-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.hs-pd-rel-name {
  font-size: 0.97rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}
.hs-pd-rel-name a {
  color: var(--hs-text);
  text-decoration: none;
}
.hs-pd-rel-name a:hover {
  color: var(--hs-primary);
}
.hs-pd-rel-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--hs-primary);
  margin: 2px 0 6px;
}
.hs-pd-rel-unit {
  font-size: 0.77rem;
  font-weight: 500;
  color: var(--hs-text-muted);
}
.hs-pd-rel-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 13px 18px;
  background: linear-gradient(135deg, #6bc5f8 0%, #3d9be9 50%, #2076c4 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow:
    0 4px 14px rgba(61, 155, 233, 0.38),
    0 1px 4px rgba(33, 118, 196, 0.2);
  transition:
    box-shadow 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.18s;
  box-sizing: border-box;
}
.hs-pd-rel-btn:hover {
  box-shadow:
    0 10px 28px rgba(61, 155, 233, 0.55),
    0 3px 8px rgba(33, 118, 196, 0.3);
  transform: translateY(-2px);
  opacity: 0.95;
  color: #fff;
}
.hs-pd-rel-btn:active {
  transform: translateY(0);
  opacity: 1;
}

/* Slick overrides for related products */
.hs-pd-related-slider-outer {
  position: relative;
  padding: 0 52px;
}
.hs-pd-related-slider {
  display: block;
  overflow: visible;
}
/* Equal-height slides: make the track a flex row so all slides stretch */
.hs-pd-related-slider .slick-track {
  display: flex !important;
  align-items: stretch !important;
}
.hs-pd-related-slider .slick-list {
  margin: 0 -11px;
  overflow: hidden;
}
.hs-pd-related-slider .slick-slide {
  padding: 0 11px;
  height: auto !important;
  display: flex !important;
  flex-direction: column;
}
.hs-pd-related-slider .slick-slide > div {
  display: flex;
  flex: 1;
  width: 100%;
}
.hs-pd-related-slider .hs-pd-rel-card {
  width: 100%;
  height: 100%;
}
.hs-pd-related-slider .slick-prev,
.hs-pd-related-slider .slick-next {
  width: 42px;
  height: 42px;
  background: #fff;
  border: 2px solid var(--hs-border);
  border-radius: 50%;
  z-index: 2;
  transition:
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.hs-pd-related-slider .slick-prev {
  left: -52px;
}
.hs-pd-related-slider .slick-next {
  right: -52px;
}
.hs-pd-related-slider .slick-prev::before,
.hs-pd-related-slider .slick-next::before {
  color: var(--hs-text);
  font-size: 16px;
  line-height: 1;
}
.hs-pd-related-slider .slick-prev:hover,
.hs-pd-related-slider .slick-next:hover {
  background: linear-gradient(135deg, #6bc5f8 0%, #3d9be9 50%, #2076c4 100%);
  border-color: var(--hs-primary);
  box-shadow: 0 4px 16px rgba(61, 155, 233, 0.4);
}
.hs-pd-related-slider .slick-prev:hover::before,
.hs-pd-related-slider .slick-next:hover::before {
  color: #fff;
}
.hs-pd-related-slider .slick-disabled {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .hs-pd-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .hs-pd-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hs-pd-desc-wrap {
    padding: 24px 20px;
  }
  .hs-pd-related-slider-outer {
    padding: 0 36px;
  }
  .hs-pd-related-slider .slick-prev {
    left: -36px;
  }
  .hs-pd-related-slider .slick-next {
    right: -36px;
  }
}
@media (max-width: 480px) {
  .hs-pd-related-grid {
    grid-template-columns: 1fr;
  }
  .hs-pd-related-slider-outer {
    padding: 0 28px;
  }
  .hs-pd-related-slider .slick-prev {
    left: -28px;
  }
  .hs-pd-related-slider .slick-next {
    right: -28px;
  }
}

/* ── Not found ──────────────────────────────────────────── */
.hs-pd-not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
.hs-pd-nf-inner {
  text-align: center;
  max-width: 380px;
  padding: 48px 32px;
  background: var(--hs-card-bg);
  border: 1px solid var(--hs-border);
  border-radius: 24px;
  box-shadow: var(--hs-shadow);
}
.hs-pd-nf-inner svg {
  color: var(--hs-text-muted);
  opacity: 0.4;
  margin-bottom: 20px;
}
.hs-pd-nf-inner h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--hs-text);
  margin: 0 0 8px;
}
.hs-pd-nf-inner p {
  color: var(--hs-text-muted);
  font-size: 0.9rem;
  margin: 0 0 24px;
}
.hs-pd-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hs-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: opacity 0.15s;
}
.hs-pd-back-link:hover {
  opacity: 0.85;
  color: #fff;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .hs-pd-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hs-pd-gallery {
    position: static;
  }
  .hs-pd-main-img-wrap {
    aspect-ratio: 4 / 3;
    max-height: 480px;
  }
  .hs-pd-trust {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .hs-pd-wrap {
    padding: 20px 16px 60px;
  }
  .hs-pd-name {
    font-size: 1.6rem;
  }
  .hs-pd-price {
    font-size: 2rem;
  }
  .hs-pd-cta {
    flex-direction: column;
  }
  .hs-pd-trust {
    grid-template-columns: 1fr;
  }
  .hs-pd-tab-pane {
    padding: 24px 20px;
  }
  .hs-pd-qty-section {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 420px) {
  .hs-pd-main-img-wrap {
    aspect-ratio: 1 / 1;
  }
  .hs-pd-trust {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Home page product category cards — gradient border ─────── */
.elementor-12 .elementor-element.elementor-element-7adb775,
.elementor-12 .elementor-element.elementor-element-d8799d1,
.elementor-12 .elementor-element.elementor-element-48a9ec9,
.elementor-12 .elementor-element.elementor-element-7e1f16c,
.elementor-12 .elementor-element.elementor-element-d4b10bb {
  border: 2px solid transparent !important;
  border-radius: 30px !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #3d9be9, #1a56c4, #3d9be9) border-box !important;
}

/* ══════════════════════════════════════════════════════════
   Conversion Hero — dark banner above the quote form
   ══════════════════════════════════════════════════════════ */

.hs-qhero {
  position: relative;
  background: linear-gradient(135deg, #0d1f3c 0%, #132d58 55%, #1a3d72 100%);
  overflow: hidden;
  padding: 56px 32px 52px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 20px;
}

/* Decorative blobs */
.hs-qhero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hs-qhero__blob--1 {
  width: 600px;
  height: 600px;
  top: -220px;
  left: -180px;
  background: radial-gradient(
    circle,
    rgba(61, 155, 233, 0.15) 0%,
    transparent 68%
  );
}
.hs-qhero__blob--2 {
  width: 450px;
  height: 450px;
  bottom: -180px;
  right: -100px;
  background: radial-gradient(
    circle,
    rgba(0, 180, 255, 0.1) 0%,
    transparent 68%
  );
}

.hs-qhero__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}

/* Badge */
.hs-qhero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61, 155, 233, 0.15);
  border: 1px solid rgba(61, 155, 233, 0.35);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #7dd3fc;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hs-qhero__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 7px #22d3ee;
  flex-shrink: 0;
  animation: hs-pulse-dot 2s ease-in-out infinite;
}
@keyframes hs-pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.5);
  }
}

/* Headline */
.hs-qhero__headline {
  font-size: clamp(1.9rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #fff !important;
  margin: 0 0 16px !important;
  letter-spacing: -0.015em;
}
.hs-qhero__accent {
  background: linear-gradient(90deg, #6bc5f8 0%, #38bdf8 55%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Lead */
.hs-qhero__lead {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  margin: 0 auto 36px !important;
  max-width: 620px;
}

/* Pillars — 4 columns */
.hs-qhero__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  text-align: left;
}
.hs-qhero__pillar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 14px;
}
.hs-qhero__pillar-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(61, 155, 233, 0.2);
  border: 1px solid rgba(61, 155, 233, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7dd3fc;
}
.hs-qhero__pillar div strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.hs-qhero__pillar div span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}

/* Stats strip */
.hs-qhero__stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.hs-qhero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 24px;
}
.hs-qhero__div {
  display: block;
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}
.hs-qhero__num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hs-qhero__lbl {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.52);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════════════════
   Quote Form — original working layout (white card)
   ══════════════════════════════════════════════════════════ */

.hs-quote-wrap {
  padding: 40px 16px 48px;
  box-sizing: border-box;
}
.hs-quote-card {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 40px 28px;
  box-sizing: border-box;
}
.hs-quote-header {
  margin-bottom: 22px;
}
.hs-quote-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hs-text);
  margin: 0 0 5px;
  line-height: 1.25;
}
.hs-quote-sub {
  font-size: 0.9rem;
  color: var(--hs-primary);
  margin: 0;
}
.hs-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 18px;
  align-items: start;
}
.hs-select-wrap {
  position: relative;
  margin-top: 20px;
}
.hs-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--hs-text-muted);
  pointer-events: none;
}
.hs-select-wrap select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  box-sizing: border-box;
}
.hs-quote-grid textarea {
  resize: vertical;
  min-height: 80px;
}
.hs-quote-grid .hs-field input,
.hs-quote-grid .hs-field select,
.hs-quote-grid .hs-field textarea {
  max-width: 100%;
  box-sizing: border-box;
}
.hs-quote-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  width: 100%;
}
.hs-quote-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  margin: 0;
  padding: 14px 52px;
  background: linear-gradient(135deg, #6bc5f8 0%, #3d9be9 50%, #2076c4 100%);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(61, 155, 233, 0.38);
  transition:
    opacity 0.22s ease,
    transform 0.2s ease,
    box-shadow 0.22s ease;
  text-decoration: none;
  box-sizing: border-box;
}
.hs-quote-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(61, 155, 233, 0.5);
  color: #fff;
}
.hs-quote-submit svg {
  flex-shrink: 0;
}
.hs-btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hs-spin 0.7s linear infinite;
  flex-shrink: 0;
}
.hs-quote-privacy {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--hs-text-muted);
  margin: 0;
}
.hs-quote-success {
  text-align: center;
  padding: 40px 0 20px;
}
.hs-quote-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  margin-bottom: 16px;
}
.hs-quote-success h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hs-text);
  margin: 0 0 8px;
}
.hs-quote-success p {
  font-size: 0.95rem;
  color: var(--hs-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hs-qhero__pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .hs-quote-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hs-quote-card {
    padding: 28px 22px 22px;
  }
}
@media (max-width: 640px) {
  .hs-qhero {
    padding: 40px 18px 36px;
  }
  .hs-qhero__pillars {
    grid-template-columns: 1fr;
  }
  .hs-qhero__stats {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }
  .hs-qhero__stat {
    padding: 0 14px;
  }
  .hs-qhero__div {
    display: none;
  }
  .hs-quote-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hs-quote-grid .hs-field {
    grid-column: 1 !important;
  }
  .hs-quote-card {
    padding: 22px 16px 18px;
  }
  .hs-quote-footer {
    align-items: stretch;
  }
  .hs-quote-submit {
    width: 100%;
    padding: 14px 20px;
  }
}

/* Ontario intro section — align image and text vertically centered */
.elementor-12 .elementor-element-2a51e07 {
  align-items: center !important;
}
.elementor-12 .elementor-element-a8c6ec3 {
  --margin-top: 0px;
  margin-top: 0 !important;
}
.elementor-12 .elementor-element-bb02986 {
  --padding-top: 0px;
  padding-top: 0 !important;
}
.elementor-12 .elementor-element-2e09dc7 {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════
   Quote Page Banner — same style as home page hero
   ══════════════════════════════════════════════════════════════ */

.hs-qpage-banner-wrap {
  padding: 20px 40px 0;
  box-sizing: border-box;
}

.hs-qpage-banner {
  position: relative;
  min-height: 650px;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hs-qpage-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 1, 1, 0.6);
}

.hs-qpage-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  max-width: 820px;
}

.hs-qpage-banner__eyebrow {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 45px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  animation: hs-fadeInDown 0.7s ease both;
  animation-delay: 0.1s;
}

.hs-qpage-banner__title {
  font-family: Poppins, sans-serif;
  font-size: 64px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 24px;
  animation: hs-fadeInDown 0.7s ease both;
  animation-delay: 0.2s;
}

.hs-qpage-banner__sub {
  font-family: Poppins, sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  animation: hs-fadeInDown 0.7s ease both;
  animation-delay: 0.3s;
}

@keyframes hs-fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Align qhero + quote form to same width as the banner */
.hs-qpage-banner-wrap + .hs-qhero {
  margin: 40px 40px 0;
}
.hs-qpage-banner-wrap ~ .hs-quote-wrap {
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

/* ── Tablet (769px – 1024px) ──────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .hs-qpage-banner-wrap {
    padding: 20px 30px 0;
  }
  .hs-qpage-banner {
    min-height: 480px;
    border-radius: 32px;
  }
  .hs-qpage-banner__eyebrow {
    font-size: 32px;
  }
  .hs-qpage-banner__title {
    font-size: 46px;
  }
  .hs-qpage-banner__sub {
    font-size: 16px;
  }
  .hs-qpage-banner-wrap + .hs-qhero {
    margin: 30px 30px 0;
  }
  .hs-qpage-banner-wrap ~ .hs-quote-wrap {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* ── Mobile (≤ 768px) ─────────────────────────────────────── */
@media (max-width: 768px) {
  .hs-qpage-banner-wrap {
    padding: 16px 10px 0;
  }
  .hs-qpage-banner {
    min-height: 350px;
    border-radius: 24px;
  }
  .hs-qpage-banner__eyebrow {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .hs-qpage-banner__title {
    font-size: 26px;
    margin-bottom: 14px;
  }
  .hs-qpage-banner__sub {
    font-size: 14px;
    line-height: 1.6;
  }
  .hs-qpage-banner-wrap + .hs-qhero {
    margin: 20px 10px 0;
  }
  .hs-qpage-banner-wrap ~ .hs-quote-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ══════════════════════════════════════════════════════════════
   Contact Page
   ══════════════════════════════════════════════════════════════ */

/* ── Contact page layout reset ──────────────────────────────── */
.hs-contact-page .entry-title,
.hs-contact-page .entry-header,
.hs-contact-page .ast-page-title-wrap,
.hs-contact-page .page-title-bar,
.hs-contact-page .ast-single-post-title,
.hs-contact-page h1.page-title,
.hs-contact-page .page-header {
  display: none !important;
}
.hs-contact-page .entry-content {
  padding: 0 !important;
  max-width: 100% !important;
}
.hs-contact-page #primary,
.hs-contact-page .site-main,
.hs-contact-page .ast-container,
.hs-contact-page #content .ast-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ── Banner ─────────────────────────────────────────────────── */
.hs-ct-banner-wrap {
  padding: 20px 40px 0;
  box-sizing: border-box;
}
.hs-ct-banner {
  position: relative;
  min-height: 460px;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hs-ct-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 1, 1, 0.62);
}
.hs-ct-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  max-width: 780px;
}
.hs-ct-banner__eyebrow {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--hs-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  animation: hs-fadeInDown 0.7s ease both 0.1s;
}
.hs-ct-banner__title {
  font-family: Poppins, sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  margin: 0 0 20px;
  animation: hs-fadeInDown 0.7s ease both 0.2s;
}
.hs-ct-banner__sub {
  font-family: Poppins, sans-serif;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
  animation: hs-fadeInDown 0.7s ease both 0.3s;
}

/* ── Body wrap ──────────────────────────────────────────────── */
.hs-ct-wrap {
  padding: 40px 40px 60px;
  box-sizing: border-box;
}

/* ── Info cards row ─────────────────────────────────────────── */
.hs-ct-info-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.hs-ct-info-card {
  background: #fff;
  border: 1px solid var(--hs-border);
  border-radius: 20px;
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: var(--hs-shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.hs-ct-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(61, 155, 233, 0.14);
}
.hs-ct-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8f4fd 0%, #d0eaf9 100%);
  color: var(--hs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.hs-ct-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hs-text-muted);
  margin: 0 0 6px;
}
.hs-ct-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hs-text);
  line-height: 1.5;
  text-decoration: none;
  display: block;
}
a.hs-ct-info-value:hover {
  color: var(--hs-primary);
}

/* ── Two-column layout ──────────────────────────────────────── */
.hs-ct-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Form card ──────────────────────────────────────────────── */
.hs-ct-form-card {
  background: #fff;
  border: 1px solid var(--hs-border);
  border-radius: 24px;
  padding: 40px 36px 36px;
  box-shadow: var(--hs-shadow);
}
.hs-ct-form-title {
  font-family: Poppins, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hs-text);
  margin: 0 0 6px;
}
.hs-ct-form-sub {
  font-size: 0.9rem;
  color: var(--hs-text-muted);
  margin: 0 0 28px;
}
.hs-ct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.hs-field--full {
  grid-column: 1 / -1;
}
.hs-req {
  color: var(--hs-danger);
}

.hs-ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #6bc5f8 0%, #3d9be9 50%, #2076c4 100%);
  box-shadow:
    0 6px 20px rgba(61, 155, 233, 0.45),
    0 2px 6px rgba(33, 118, 196, 0.3);
  transition: all 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: 0.01em;
}
.hs-ct-submit:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 30px rgba(61, 155, 233, 0.6),
    0 4px 10px rgba(33, 118, 196, 0.35);
}
.hs-ct-submit:active {
  transform: translateY(-1px);
}
.hs-ct-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* success state */
.hs-ct-success {
  text-align: center;
  padding: 40px 20px;
}
.hs-ct-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.hs-ct-success h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--hs-text);
  margin: 0 0 8px;
}
.hs-ct-success p {
  color: var(--hs-text-muted);
  font-size: 0.95rem;
}

/* ── Map card ───────────────────────────────────────────────── */
.hs-ct-map-card {
  background: #fff;
  border: 1px solid var(--hs-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--hs-shadow);
}
.hs-ct-map {
  width: 100%;
  height: 440px;
  border: none;
  display: block;
}
.hs-ct-map-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  color: var(--hs-text-muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--hs-border);
}
.hs-ct-map-footer svg {
  flex-shrink: 0;
  color: var(--hs-primary);
}
.hs-ct-directions {
  margin-left: auto;
  font-weight: 600;
  color: var(--hs-primary);
  text-decoration: none;
  white-space: nowrap;
}
.hs-ct-directions:hover {
  text-decoration: underline;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hs-ct-banner-wrap {
    padding: 20px 30px 0;
  }
  .hs-ct-banner {
    min-height: 360px;
    border-radius: 32px;
  }
  .hs-ct-banner__title {
    font-size: 46px;
  }
  .hs-ct-wrap {
    padding: 30px 30px 50px;
  }
  .hs-ct-info-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .hs-ct-columns {
    grid-template-columns: 1fr;
  }
  .hs-ct-map {
    height: 320px;
  }
}
@media (max-width: 600px) {
  .hs-ct-banner-wrap {
    padding: 16px 10px 0;
  }
  .hs-ct-banner {
    min-height: 280px;
    border-radius: 20px;
  }
  .hs-ct-banner__title {
    font-size: 30px;
  }
  .hs-ct-banner__sub {
    font-size: 14px;
  }
  .hs-ct-wrap {
    padding: 20px 10px 40px;
  }
  .hs-ct-info-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hs-ct-form-card {
    padding: 24px 18px;
  }
  .hs-ct-grid {
    grid-template-columns: 1fr;
  }
  .hs-ct-map {
    height: 260px;
  }
}
