/*
 Theme Name: Dead Wax Child
 Template: ollie
 Version: 1.0
*/

/* ─── Portfolio Grid — Homepage ───────────────────────────────────────────── */

.dw-portfolio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 2px;
}

.dw-portfolio-grid .dw-pf-item {
  position: relative;
  overflow: hidden;
  background: #0e0b08;
  cursor: pointer;
}

.dw-portfolio-grid .dw-pf-item--tall {
  grid-row: span 2;
}

.dw-portfolio-grid .dw-pf-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.dw-portfolio-grid .dw-pf-item:hover img {
  transform: scale(1.05);
}

.dw-portfolio-grid .dw-pf-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(to top, rgba(14,11,8,0.95), transparent);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8b84b;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dw-portfolio-grid .dw-pf-item:hover .dw-pf-caption {
  opacity: 1;
  transform: translateY(0);
}

.dw-portfolio-grid .dw-pf-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200, 133, 42, 0.4);
  font-family: 'Libre Baskerville', Georgia, serif;
}

.dw-portfolio-grid .dw-pf-placeholder em {
  font-size: 1.5rem;
  font-style: normal;
  opacity: 0.3;
}

@media (max-width: 640px) {
  .dw-portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .dw-portfolio-grid .dw-pf-item--tall {
    grid-row: span 1;
    grid-column: span 2;
    min-height: 280px;
  }
  .dw-portfolio-grid .dw-pf-item {
    min-height: 180px;
  }
}


/* ─── Portfolio Grid — Full Page ──────────────────────────────────────────── */

.dw-pf-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1280px;
  margin: 0 auto;
}

.dw-pf-page-grid .dw-pfi {
  position: relative;
  overflow: hidden;
  background: #0e0b08;
  min-height: 300px;
  cursor: pointer;
}

.dw-pf-page-grid .dw-pfi--wide {
  grid-column: span 2;
}

.dw-pf-page-grid .dw-pfi--tall {
  grid-row: span 2;
}

.dw-pf-page-grid .dw-pfi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.dw-pf-page-grid .dw-pfi:hover img {
  transform: scale(1.04);
}

.dw-pf-page-grid .dw-pfi-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(to top, rgba(14,11,8,0.96) 0%, rgba(14,11,8,0.5) 60%, transparent 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dw-pf-page-grid .dw-pfi:hover .dw-pfi-info {
  opacity: 1;
  transform: translateY(0);
}

.dw-pfi-info .dw-pfi-title {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  color: #faf5ec;
  margin-bottom: 0.25rem;
}

.dw-pfi-info .dw-pfi-meta {
  display: block;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c8852a;
}

.dw-pfi-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200, 133, 42, 0.35);
}

.dw-pfi-placeholder em {
  font-size: 1.5rem;
  font-style: normal;
  opacity: 0.25;
}

/* Filter bar */
.dw-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.dw-filter-bar > span {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 232, 213, 0.4);
  margin-right: 0.5rem;
  font-family: 'Libre Baskerville', Georgia, serif;
}

.dw-filter-btn {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(242, 232, 213, 0.6);
  border: 1px solid rgba(200, 133, 42, 0.2);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Libre Baskerville', Georgia, serif;
  text-decoration: none;
}

.dw-filter-btn:hover,
.dw-filter-btn.active {
  background: #c8852a;
  border-color: #c8852a;
  color: #0e0b08;
}

@media (max-width: 768px) {
  .dw-pf-page-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dw-pf-page-grid .dw-pfi--wide {
    grid-column: span 2;
  }
  .dw-pf-page-grid .dw-pfi--tall {
    grid-row: span 1;
  }
}

@media (max-width: 480px) {
  .dw-pf-page-grid {
    grid-template-columns: 1fr;
  }
  .dw-pf-page-grid .dw-pfi--wide {
    grid-column: span 1;
  }
}


/* ═══════════════════════════════════════════════════════════════
   SHARED UTILITIES
   (used across homepage, inquiry, and future patterns)
═══════════════════════════════════════════════════════════════ */

/* Diagonal tolex texture — add className="tolex-bg" to any group block */
.tolex-bg {
  position: relative;
}
.tolex-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(200, 133, 42, 0.025) 0px, rgba(200, 133, 42, 0.025) 1px,
    transparent 1px, transparent 9px
  );
  pointer-events: none;
  z-index: 0;
}
.tolex-bg > * {
  position: relative;
  z-index: 1;
}

/* Amber gradient rule — used on separator blocks */
.dw-amber-rule {
  height: 1px !important;
  background: linear-gradient(
    to right,
    transparent,
    #c8852a 30%,
    #e8b84b 50%,
    #c8852a 70%,
    transparent
  ) !important;
  border: none !important;
}

/* Contact list (used on homepage and inquiry sidebar) */
.dw-contact-list {
  list-style: none !important;
  padding-left: 0 !important;
}
.dw-contact-list li {
  padding: 0.2rem 0;
}


/* ═══════════════════════════════════════════════════════════════
   INQUIRY PAGE — HERO
═══════════════════════════════════════════════════════════════ */

/* Large ghost text behind hero */
.dw-inquiry-hero {
  overflow: hidden;
}
.dw-inquiry-hero::after {
  content: 'INQUIRY';
  position: absolute;
  bottom: 0;
  right: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(8rem, 18vw, 18rem);
  line-height: 0.85;
  color: rgba(200, 133, 42, 0.035);
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.05em;
  padding-right: 2rem;
  z-index: 0;
}

/* Info pills in hero */
.dw-info-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem !important;
  border: 1px solid rgba(200, 133, 42, 0.2) !important;
  font-size: 0.625rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: rgba(242, 232, 213, 0.55) !important;
  margin: 0 !important;
  background: transparent;
}


/* ═══════════════════════════════════════════════════════════════
   INQUIRY PAGE — SIDEBAR
═══════════════════════════════════════════════════════════════ */

.dw-inquiry-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 7rem;
  align-self: start;
}

.dw-sidebar-card {
  margin-bottom: 0;
}

.dw-pull-quote {
  border-left: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.dw-pull-quote p {
  margin: 0 0 0.5rem 0 !important;
}


/* ═══════════════════════════════════════════════════════════════
   FLUENT FORMS — BASE RESET
═══════════════════════════════════════════════════════════════ */

.ff_form_wrap,
.ff_form_wrap .ff-default,
.ff-form-wrap,
body .fluentform,
body .ff_form_wrap {
  background:  transparent !important;
  box-shadow:  none !important;
  border:      none !important;
  padding:     0 !important;
  color:       #f2e8d5 !important;
}

body .fluentform .ff-el-group {
  margin-bottom: 1.5rem !important;
}


/* ═══════════════════════════════════════════════════════════════
   FLUENT FORMS — SECTION BREAKS
═══════════════════════════════════════════════════════════════ */

body .fluentform .ff-el-section-break,
body .ff_form_wrap .ff-el-section-break {
  margin-top:     2.5rem !important;
  margin-bottom:  1.5rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom:  1px solid rgba(200, 133, 42, 0.2) !important;
  background:     transparent !important;
}

body .fluentform .ff-el-section-break h4,
body .fluentform .ff-el-section-break .ff-section-break-label,
body .ff_form_wrap .ff-section-break-label {
  font-family:    'Bebas Neue', sans-serif !important;
  font-size:      1rem !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color:          #c8852a !important;
  font-weight:    400 !important;
  margin:         0 !important;
  padding:        0 !important;
  border:         none !important;
  background:     transparent !important;
  line-height:    1.3 !important;
}

body .fluentform .ff-el-section-break p,
body .fluentform .ff-el-section-break .ff-section-break-desc,
body .ff_form_wrap .ff-section-break-desc {
  font-family: 'Libre Baskerville', Georgia, serif !important;
  font-size:   0.8rem !important;
  color:       rgba(242, 232, 213, 0.5) !important;
  margin-top:  0.4rem !important;
  margin-bottom: 0 !important;
  font-weight: 400 !important;
}


/* ═══════════════════════════════════════════════════════════════
   FLUENT FORMS — FIELD LABELS
═══════════════════════════════════════════════════════════════ */

body .fluentform .ff-el-group label.ff-el-inp-label,
body .fluentform .ff-el-group .ff-el-form-label,
body .ff_form_wrap label.ff-el-inp-label {
  font-family:    'Libre Baskerville', Georgia, serif !important;
  font-size:      0.625rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color:          rgba(200, 133, 42, 0.85) !important;
  font-weight:    400 !important;
  margin-bottom:  0.5rem !important;
  display:        block !important;
  background:     transparent !important;
  border:         none !important;
  padding:        0 !important;
}

/* Required asterisk */
body .fluentform .ff-el-is-required .ff-el-inp-label::after,
body .fluentform span.req-sign {
  color: #c8852a !important;
}


/* ═══════════════════════════════════════════════════════════════
   FLUENT FORMS — INPUTS, SELECTS, TEXTAREAS
═══════════════════════════════════════════════════════════════ */

body .fluentform input[type="text"],
body .fluentform input[type="email"],
body .fluentform input[type="tel"],
body .fluentform input[type="url"],
body .fluentform input[type="number"],
body .fluentform input[type="date"],
body .fluentform textarea,
body .fluentform select {
  background:    rgba(255, 255, 255, 0.04) !important;
  border:        1px solid rgba(200, 133, 42, 0.3) !important;
  border-radius: 0 !important;
  color:         #f2e8d5 !important;
  font-family:   'Libre Baskerville', Georgia, serif !important;
  font-size:     0.875rem !important;
  padding:       0.85rem 1rem !important;
  box-shadow:    none !important;
  outline:       none !important;
  width:         100% !important;
  transition:    border-color 0.2s ease, background 0.2s ease !important;
  -webkit-appearance: none !important;
  appearance:    none !important;
}

body .fluentform input[type="text"]::placeholder,
body .fluentform input[type="email"]::placeholder,
body .fluentform input[type="tel"]::placeholder,
body .fluentform input[type="url"]::placeholder,
body .fluentform textarea::placeholder {
  color: rgba(242, 232, 213, 0.25) !important;
}

body .fluentform input[type="text"]:focus,
body .fluentform input[type="email"]:focus,
body .fluentform input[type="tel"]:focus,
body .fluentform input[type="url"]:focus,
body .fluentform textarea:focus,
body .fluentform select:focus {
  border-color: #c8852a !important;
  background:   rgba(200, 133, 42, 0.06) !important;
  box-shadow:   none !important;
  outline:      none !important;
}

/* Select custom arrow */
body .fluentform select {
  background-image:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c8852a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat:   no-repeat !important;
  background-position: right 1rem center !important;
  background-size:     10px !important;
  padding-right:       2.5rem !important;
  cursor:              pointer !important;
}

body .fluentform select option {
  background: #1a1510 !important;
  color:      #f2e8d5 !important;
}

body .fluentform textarea {
  resize:     vertical !important;
  min-height: 7rem !important;
}


/* ═══════════════════════════════════════════════════════════════
   FLUENT FORMS — RADIO & CHECKBOX PILLS
═══════════════════════════════════════════════════════════════ */

/* Hide the native input entirely */
body .fluentform .ff-el-form-check input[type="radio"],
body .fluentform .ff-el-form-check input[type="checkbox"] {
  position:       absolute !important;
  opacity:        0 !important;
  pointer-events: none !important;
  width:          1px !important;
  height:         1px !important;
  overflow:       hidden !important;
  clip:           rect(0,0,0,0) !important;
}

/* Each pill wrapper */
body .fluentform .ff-el-form-check {
  display:    inline-block !important;
  margin:     0.2rem !important;
  padding:    0 !important;
  background: transparent !important;
  border:     none !important;
}

/* The pill label — unselected state */
body .fluentform .ff-el-form-check .ff-el-form-check-label,
body .fluentform .ff-el-form-check label {
  display:        inline-block !important;
  padding:        0.45rem 1rem !important;
  font-family:    'Libre Baskerville', Georgia, serif !important;
  font-size:      0.68rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color:          rgba(242, 232, 213, 0.6) !important;
  background:     transparent !important;
  border:         1px solid rgba(200, 133, 42, 0.35) !important;
  border-radius:  0 !important;
  cursor:         pointer !important;
  user-select:    none !important;
  font-weight:    400 !important;
  line-height:    1.4 !important;
  margin:         0 !important;
  transition:     all 0.18s ease !important;
}

body .fluentform .ff-el-form-check .ff-el-form-check-label:hover,
body .fluentform .ff-el-form-check label:hover {
  border-color: #c8852a !important;
  color:        #f2e8d5 !important;
}

/* Selected state — CSS :checked sibling */
body .fluentform .ff-el-form-check input[type="radio"]:checked + .ff-el-form-check-label,
body .fluentform .ff-el-form-check input[type="radio"]:checked + label,
body .fluentform .ff-el-form-check input[type="checkbox"]:checked + .ff-el-form-check-label,
body .fluentform .ff-el-form-check input[type="checkbox"]:checked + label {
  background:   #c8852a !important;
  border-color: #c8852a !important;
  color:        #0e0b08 !important;
  font-weight:  700 !important;
}

/* Selected state — JS-added class fallback (Fluent Forms free) */
body .fluentform .ff-el-form-check.ff-item-selected .ff-el-form-check-label,
body .fluentform .ff-el-form-check.ff-item-selected label,
body .fluentform .ff-el-form-check.active .ff-el-form-check-label,
body .fluentform .ff-el-form-check.active label {
  background:   #c8852a !important;
  border-color: #c8852a !important;
  color:        #0e0b08 !important;
  font-weight:  700 !important;
}

/* Pill group — flex wrap layout */
body .fluentform .ff-el-form-check-group,
body .fluentform .ff-checkable-grp,
body .fluentform .ff-el-checkable-grp {
  display:   flex !important;
  flex-wrap: wrap !important;
  gap:       0.2rem !important;
  background: transparent !important;
  border:    none !important;
  padding:   0 !important;
}


/* ═══════════════════════════════════════════════════════════════
   FLUENT FORMS — SUBMIT BUTTON
═══════════════════════════════════════════════════════════════ */

body .fluentform .ff-btn-submit,
body .fluentform button[type="submit"],
body .ff_form_wrap .ff-btn-submit {
  background:     #c8852a !important;
  color:          #0e0b08 !important;
  font-family:    'Libre Baskerville', Georgia, serif !important;
  font-size:      0.75rem !important;
  font-weight:    700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  padding:        1.1rem 2.75rem !important;
  border:         none !important;
  border-radius:  0 !important;
  box-shadow:     none !important;
  cursor:         pointer !important;
  transition:     background 0.2s ease, transform 0.2s ease !important;
  display:        inline-block !important;
}

body .fluentform .ff-btn-submit:hover,
body .fluentform button[type="submit"]:hover {
  background: #e8b84b !important;
  transform:  translateY(-2px) !important;
  color:      #0e0b08 !important;
}


/* ═══════════════════════════════════════════════════════════════
   FLUENT FORMS — VALIDATION ERRORS
═══════════════════════════════════════════════════════════════ */

body .fluentform .error.text-danger {
  color:       #e07070 !important;
  font-size:   0.72rem !important;
  font-family: 'Libre Baskerville', Georgia, serif !important;
  margin-top:  0.35rem !important;
  display:     block !important;
}

body .fluentform .ff-el-is-error input,
body .fluentform .ff-el-is-error textarea,
body .fluentform .ff-el-is-error select {
  border-color: #b84040 !important;
}


/* ═══════════════════════════════════════════════════════════════
   FLUENT FORMS — SUCCESS MESSAGE
═══════════════════════════════════════════════════════════════ */

body .fluentform .ff-message-success,
body .ff_form_wrap .ff-message-success {
  background:    rgba(200, 133, 42, 0.08) !important;
  border:        1px solid rgba(200, 133, 42, 0.35) !important;
  border-radius: 0 !important;
  color:         #f2e8d5 !important;
  font-family:   'Libre Baskerville', Georgia, serif !important;
  font-size:     0.9rem !important;
  line-height:   1.7 !important;
  padding:       1.5rem 2rem !important;
}

body .fluentform .ff-message-success p {
  color:  #f2e8d5 !important;
  margin: 0 !important;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */

@media (max-width: 781px) {
  .dw-inquiry-sidebar {
    position: static !important;
  }
  .dw-info-pill {
    font-size: 0.6rem !important;
    padding: 0.4rem 0.75rem !important;
  }
}

@media (max-width: 480px) {
  body .fluentform .ff-el-form-check {
    margin: 0.15rem !important;
  }
}


/* ─── Process Step Number Circles ────────────────────────────────────────── */

.wp-block-column p.has-text-align-center[style*="border-radius:50%"],
.wp-block-column p.has-text-align-center[style*="border-radius: 50%"] {
  width: 4rem !important;
  height: 4rem !important;
  min-width: 4rem !important;
  min-height: 4rem !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1 !important;
}


/* ─── Process Step Circles ────────────────────────────────────────────────── */
/*
   SVG solid amber circle as background.
   Applied via className="dw-step-circle" on the step number paragraph.
   The SVG is encoded inline so no image file is needed.
*/

p.dw-step-circle {
  /* Amber filled circle SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='32' fill='%23c8852a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  /* Fixed square so circle stays round */
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;

  /* Center the number inside */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  /* Remove any padding/border that could distort */
  padding: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;

  /* Center the element itself in its column */
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 1.5rem !important;

  box-sizing: border-box !important;
}


/* ─── Process Section Circles ─────────────────────────────────────────────── */

.dw-process-circles {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 2rem;
}

.dw-process-circles .dw-pc-item {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background-color: #c8852a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dw-process-circles .dw-pc-item span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: #0e0b08;
  line-height: 1;
}

/* ─── Materials Swatches ──────────────────────────────────────────────────── */

.dw-swatch img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.dw-swatch:hover img {
  transform: scale(1.05);
}

.dw-swatch figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.25rem 0;
  background: rgba(0,0,0,0.7);
  font-size: 0.5625rem !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: #f2e8d5 !important;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.dw-swatch:hover figcaption {
  opacity: 1;
}

.dw-swatch {
  position: relative;
  overflow: hidden;
  margin: 0 !important;
}

/* Materials list — amber dash before each item */
.dw-materials-list {
  list-style: none !important;
  padding-left: 1.5rem !important;
}

.dw-materials-list li {
  position: relative;
  font-size: 0.875rem;
  color: rgba(242,232,213,0.8);
  padding: 0.35rem 0;
  line-height: 1.6;
}

.dw-materials-list li::before {
  content: '—';
  position: absolute;
  left: -1.5rem;
  color: #c8852a;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ PAGE — ACCORDION
   Paste at the bottom of dead-wax-child/style.css
   Note: .dw-filter-bar, .dw-filter-btn, .dw-filter-btn.active,
         .tolex-bg, and .dw-amber-rule are already defined above
         and are reused as-is by the FAQ patterns.
═══════════════════════════════════════════════════════════════ */

/* Category group visibility */
.dw-faq-group          { display: none; }
.dw-faq-group.visible  { display: block; }

/* Amber divider between groups */
.dw-faq-divider {
  border: none !important;
  height: 1px !important;
  background: linear-gradient(to right, transparent, #c8852a, transparent) !important;
  opacity: 0.35;
  margin: 3rem 0 !important;
}

/* Accordion item */
.dw-faq-item {
  border-bottom: 1px solid rgba(200,133,42,0.12);
}
.dw-faq-item:first-child {
  border-top: 1px solid rgba(200,133,42,0.12);
}

/* Trigger button */
.dw-faq-trigger {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
  cursor: pointer !important;
  padding: 1.5rem 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 1.5rem;
  color: #faf5ec !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(1rem, 1.5vw, 1.1rem) !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  transition: color 0.2s;
}
.dw-faq-trigger:hover,
.dw-faq-trigger.open { color: #e8b84b !important; }

/* Plus/times icon */
.dw-faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(200,133,42,0.35);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  position: relative;
  transition: transform 0.3s ease, background 0.2s, border-color 0.2s;
}
.dw-faq-trigger.open .dw-faq-icon {
  transform: rotate(45deg);
  background: rgba(200,133,42,0.15);
  border-color: #c8852a;
}
.dw-faq-icon::before,
.dw-faq-icon::after {
  content: '';
  position: absolute;
  background: #c8852a;
  border-radius: 1px;
}
.dw-faq-icon::before { width: 10px; height: 1.5px; }
.dw-faq-icon::after  { width: 1.5px; height: 10px; }

/* Answer panel */
.dw-faq-panel {
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1), opacity 0.28s ease;
}
.dw-faq-panel.open {
  max-height: var(--dw-faq-panel-height, 2000px) !important;
  overflow: visible !important;
  opacity: 1;
}

.dw-faq-panel-inner {
  padding-bottom: 1.6rem;
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(242,232,213,0.72);
}
.dw-faq-panel-inner a {
  color: #c8852a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dw-faq-panel-inner a:hover { color: #e8b84b; }
.dw-faq-panel-inner strong  { color: #faf5ec; }

/* Callout box (deposit/rush fee examples) */
.dw-faq-callout {
  border-left: 2px solid #c8852a;
  background: rgba(200,133,42,0.06);
  padding: 0.9rem 1.2rem;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: rgba(242,232,213,0.8);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .dw-faq-body {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  #dw-faq-tab-bar {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}
