/* Wholesale hub segment grid + segment subpage components.
   Uses the site's --aa-* tokens (defined in webflow-style.css). */

/* --- breadcrumb --- */
.ws_crumb {
  margin: 0 0 28px;
  font-size: var(--aa-fs-xs);
  color: var(--aa-text-quiet);
  letter-spacing: 0.02em;
}
.ws_crumb a { color: var(--aa-text-quiet); text-decoration: none; }
.ws_crumb a:hover { color: var(--aa-text); text-decoration: underline; text-underline-offset: 2px; }
.ws_crumb span { margin: 0 8px; color: var(--aa-border); }

/* --- lede paragraph on segment pages --- */
.ws_lede {
  margin: 0 0 32px;
  font-size: var(--aa-fs-lg);
  line-height: 1.4;
  font-weight: var(--aa-weight-light);
  color: var(--aa-text-secondary);
}

/* --- segment card grid (hub) --- */
.ws_segments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 16px 0 44px;
}
.policy .ws_card {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  border: 1px solid var(--aa-border);
  text-decoration: none;
  color: var(--aa-text);
  background: var(--aa-bg);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.policy .ws_card:hover { border-color: var(--aa-accent); transform: translateY(-2px); }
.ws_card_label {
  font-size: var(--aa-fs-xs);
  letter-spacing: 0.08em;
  color: var(--aa-text-quiet);
  margin: 0 0 10px;
}
.ws_card_title {
  font-size: var(--aa-fs-md);
  font-weight: var(--aa-weight-normal);
  margin: 0 0 6px;
}
.ws_card_desc {
  font-size: var(--aa-fs-sm);
  line-height: var(--aa-lh-body);
  color: var(--aa-text-secondary);
  margin: 0 0 16px;
}
.ws_card_arrow {
  margin-top: auto;
  font-size: var(--aa-fs-sm);
  color: var(--aa-text);
  letter-spacing: 0.04em;
}

/* --- CTA box on segment pages --- */
.ws_cta {
  margin: 40px 0 8px;
  padding: 28px 26px;
  border: 1px solid var(--aa-border);
  background: var(--aa-bg-muted);
}
.ws_cta h2 { margin: 0 0 8px; }
.ws_cta p { margin: 0 0 18px; }
.policy .ws_cta_btn {
  display: inline-block;
  padding: 12px 22px;
  background: var(--aa-accent);
  color: #fff;
  font-size: var(--aa-fs-sm);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.policy .ws_cta_btn:hover { opacity: 0.88; color: #fff; }
.ws_cta_addr {
  margin: 16px 0 0;
  font-size: var(--aa-fs-xs);
  color: var(--aa-text-quiet);
}

/* --- wholesale enquiry form --- */
.ws_form {
  margin: 40px 0 8px;
  padding: 32px 30px 34px;
  border: 1px solid var(--aa-border);
  background: var(--aa-bg-muted);
}
.ws_form h2 { margin: 0 0 8px; }
.ws_form_intro {
  margin: 0 0 26px;
  font-size: var(--aa-fs-sm);
  line-height: var(--aa-lh-body);
  color: var(--aa-text-secondary);
}
.ws_form_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.ws_field { display: flex; flex-direction: column; min-width: 0; }
.ws_field--full { grid-column: 1 / -1; }
.ws_field label {
  margin: 0 0 8px;
  font-size: var(--aa-fs-sm);
  letter-spacing: 0.01em;
  color: var(--aa-text-secondary);
}
.ws_field label .req { color: var(--aa-accent); margin-left: 2px; }
.ws_input {
  width: 100%;
  font-family: inherit;
  font-size: var(--aa-fs-sm);
  color: var(--aa-text);
  background: var(--aa-bg);
  border: 1px solid var(--aa-border);
  border-radius: 0;
  padding: 12px 13px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease;
}
.ws_input::placeholder { color: #c2c2c2; }
.ws_input:focus { outline: none; border-color: var(--aa-accent); }
textarea.ws_input { min-height: 104px; resize: vertical; line-height: var(--aa-lh-body); }
select.ws_input {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23888' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1,1.5 6,6.5 11,1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.ws_form_actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.policy .ws_form_btn {
  display: inline-block;
  padding: 13px 32px;
  background: var(--aa-accent);
  color: #fff;
  font-size: var(--aa-fs-sm);
  letter-spacing: 0.04em;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: opacity 0.15s ease;
}
.policy .ws_form_btn:hover { opacity: 0.88; color: #fff; }
.ws_form_note {
  margin: 0;
  font-size: var(--aa-fs-xs);
  color: var(--aa-text-quiet);
}
/* honeypot: hidden from humans, catches bots */
.ws_hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) {
  .ws_form { padding: 24px 18px 28px; }
  .ws_form_grid { grid-template-columns: 1fr; }
}

/* --- FAQ --- */
.ws_faq { margin-top: 8px; }
.ws_faq_q {
  margin: 28px 0 6px;
  font-size: var(--aa-fs-md);
  font-weight: var(--aa-weight-normal);
  color: var(--aa-text);
}

/* --- image carousel on segment pages --- */
/* Full-bleed image with clean line-stroke chevrons overlaid on the left and
   right edges (same chevron as the product carousel), no box or fill. */
.ws_carousel {
  position: relative;
  margin: 0 0 40px;
}
.ws_carousel_viewport {
  position: relative;
  border: 1px solid var(--aa-border);
  background: var(--aa-bg-muted);
  overflow: hidden;
}
.ws_carousel_track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.ws_slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 3 / 2;
}
.ws_slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Short descriptive line under the image; text swaps with each slide. */
.ws_carousel_caption {
  margin: 13px 4px 0;
  font-size: var(--aa-fs-sm);
  line-height: var(--aa-lh-body);
  color: var(--aa-text-secondary);
  text-align: center;
}
.ws_carousel_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  /* thin dark outline so the white chevron reads on any part of the photo */
  filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.85)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  transition: opacity 200ms ease;
}
.ws_carousel_arrow.prev { left: 6px; }
.ws_carousel_arrow.next { right: 6px; }
.ws_carousel_arrow:hover { opacity: 0.78; }
.ws_carousel_arrow svg { display: block; }
.ws_carousel_dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.ws_carousel_dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.ws_carousel_dot.is-active { background: #fff; transform: scale(1.3); }

@media (max-width: 640px) {
  .ws_carousel_arrow { width: 34px; height: 34px; }
  .ws_carousel_arrow.prev { left: 2px; }
  .ws_carousel_arrow.next { right: 2px; }
}

/* --- FAQ accordion (reuses the product Description/Composition component) --- */
.ws_qa { margin: 8px 0 4px; }
.ws_qa .aa-acc_head .aa-label {
  font-size: var(--aa-fs-md);
  letter-spacing: 0.01em;
  color: var(--aa-text);
}
.ws_qa .aa-acc.aa-open { max-height: 480px; }
.ws_qa .aa-acc_inner p { margin: 0; }

/* --- cross-links between segments --- */
.ws_crosslinks {
  margin: 44px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--aa-border);
  font-size: var(--aa-fs-sm);
  color: var(--aa-text-secondary);
}
.ws_crosslinks a {
  color: var(--aa-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-right: 4px;
}
.ws_crosslinks span { color: var(--aa-border); margin: 0 6px; }
