/* Preloved "Sell With Us" form — scoped under .pl-page */
.pl-page {
  --pl-gold: #ffbe4a;
  --pl-gold-dark: #e9a72e;
  --pl-ink: #1a1a1a;
  --pl-muted: #6b6b6b;
  --pl-line: #e6e6e6;
  --pl-bg-soft: #faf7f0;
  --pl-radius: 14px;
  color: var(--pl-ink);
  background: #fff;
}

.pl-page .container {
  max-width: 960px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ---------- Hero ---------- */
.pl-hero {
  background: #091c42;
  color: #fff;
  text-align: center;
  padding: 64px 0 72px;
}
.pl-badge {
  display: inline-block;
  background: var(--pl-gold);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.pl-hero-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  background: linear-gradient(90deg, #ffbe4a 0%, #f5e6c8 50%, #ffbe4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pl-hero-sub {
  max-width: 680px;
  margin: 0 auto 10px;
  font-size: 17px;
  line-height: 1.6;
  color: #e7e7e7;
}
.pl-hero-note {
  color: var(--pl-gold);
  font-weight: 600;
  margin-bottom: 26px;
}
.pl-hero-cta { margin-top: 6px; }

/* ---------- Steps ---------- */
.pl-steps { background: var(--pl-bg-soft); padding: 48px 0; }
.pl-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pl-step {
  background: #fff;
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius);
  padding: 28px 22px;
  text-align: center;
}
.pl-step-num {
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pl-gold);
  color: #1a1a1a;
  font-weight: 800; font-size: 18px;
  border-radius: 50%;
}
.pl-step h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.pl-step p { color: var(--pl-muted); font-size: 14px; margin: 0; }

/* ---------- Seller FAQ ---------- */
.pl-faq { padding: 44px 0 8px; }
.pl-faq .pl-section-title { margin-bottom: 14px; }
.pl-faq-item {
  border: 1px solid var(--pl-line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
  background: #fff;
}
.pl-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--pl-ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pl-faq-item summary::-webkit-details-marker { display: none; }
.pl-faq-item summary::after {
  content: '+';
  font-size: 20px;
  line-height: 1;
  color: var(--pl-gold-dark);
  margin-left: 12px;
}
.pl-faq-item[open] summary::after { content: '\2212'; }
.pl-faq-item p { margin: 10px 0 0; color: var(--pl-muted); font-size: 14px; line-height: 1.6; }

/* ---------- Form ---------- */
.pl-form-section { padding: 50px 0 70px; }
.pl-section-title { font-size: 24px; font-weight: 800; margin: 0 0 18px; }
.pl-mt { margin-top: 34px; }
.pl-mt-sm { margin-top: 10px; }

.pl-card {
  background: #fff;
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius);
  padding: 26px;
  margin-bottom: 22px;
  box-shadow: 0 6px 22px rgba(0,0,0,.04);
}

.pl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.pl-col-2 { grid-column: 1 / -1; }

.pl-field { display: flex; flex-direction: column; }
.pl-field label {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
  color: #333;
}
.pl-req { color: #e23b3b; }
.pl-optional, .pl-hint { color: var(--pl-muted); font-weight: 400; }
.pl-hint { font-size: 12px; margin-top: 6px; }

/* Required-fields legend */
.pl-required-legend {
  font-size: 13px;
  color: var(--pl-muted);
  margin: 0 0 14px;
}

/* Validation summary */
.pl-alert {
  background: #fdecec;
  border: 1px solid #f5c2c2;
  color: #a12626;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
}
.pl-alert ul { margin: 8px 0 0; padding-left: 18px; }
.pl-alert li { margin-bottom: 4px; }

/* Consent */
.pl-consent { margin-bottom: 18px; }
.pl-consent-wrap {
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius);
  padding: 18px 20px;
  background: var(--pl-bg-soft);
}
.pl-consent-heading {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--pl-gold-dark);
}
.pl-consent-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  margin: 0;
  border: 2px solid var(--pl-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.pl-consent-card:hover {
  border-color: var(--pl-gold-dark);
  background: #fffdf6;
}
.pl-consent-card:has(input:checked) {
  border-color: var(--pl-gold);
  background: #fff9eb;
  box-shadow: 0 0 0 3px rgba(255, 190, 74, .18);
}
.pl-consent-wrap:has(.pl-invalid) .pl-consent-card {
  border-color: #e23b3b;
  box-shadow: 0 0 0 3px rgba(226, 59, 59, .15);
}
.pl-consent-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}
.pl-consent-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 2px solid #c8c8c8;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.pl-consent-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #1a1a1a;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .15s ease;
}
.pl-consent-card:has(input:checked) .pl-consent-box {
  background: var(--pl-gold);
  border-color: var(--pl-gold);
}
.pl-consent-card:has(input:checked) .pl-consent-box::after {
  transform: rotate(45deg) scale(1);
}
.pl-consent-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pl-consent-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--pl-ink);
  line-height: 1.35;
}
.pl-consent-text {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--pl-muted);
  line-height: 1.55;
}
.pl-consent-text a {
  color: var(--pl-gold-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pl-consent-text a:hover { color: #1a1a1a; }
.pl-consent .pl-error { margin-top: 10px; }

/* Remove confirmation modal */
.pl-remove-modal .modal-content {
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius);
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
}
.pl-remove-modal .modal-body {
  padding: 26px;
  position: relative;
}
.pl-remove-modal .btn-close { position: absolute; top: 18px; right: 18px; }
.pl-remove-modal .pl-remove-title {
  margin: 0 0 10px;
  padding-right: 28px;
  font-size: 20px;
  font-weight: 800;
  color: var(--pl-ink);
}
.pl-remove-modal .pl-remove-text {
  margin: 0 0 22px;
  color: var(--pl-muted);
  font-size: 14px;
  line-height: 1.55;
}
.pl-remove-modal .pl-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.pl-btn-danger {
  background: #c0392b;
  color: #fff;
  border: none;
}
.pl-btn-danger:hover { background: #a93226; color: #fff; }

/* Group sub-headings inside product cards */
.pl-group-title {
  margin: 8px 0 -4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--pl-gold-dark);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--pl-line);
}
.pl-group-title small {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--pl-muted);
}

/* Inline error + warning messages */
.pl-error {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #e23b3b;
}
.pl-error.pl-show { display: block; }
.pl-warning {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #c77700;
}
.pl-warning.pl-show { display: block; }

/* Character counter */
.pl-counter {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--pl-muted);
  text-align: right;
}

.pl-field input[type="text"],
.pl-field input[type="email"],
.pl-field input[type="tel"],
.pl-field input[type="number"],
.pl-field select,
.pl-field textarea {
  width: 100%;
  border: 1px solid var(--pl-line);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 15px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.pl-field input:focus,
.pl-field select:focus,
.pl-field textarea:focus {
  outline: none;
  border-color: var(--pl-gold);
  box-shadow: 0 0 0 3px rgba(255,190,74,.25);
}
.pl-field input.pl-invalid,
.pl-field select.pl-invalid {
  border-color: #e23b3b;
  box-shadow: 0 0 0 3px rgba(226,59,59,.15);
}

/* Rupee input — prefix sits outside the field so text never overlaps */
.pl-rupee {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--pl-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.pl-rupee:focus-within {
  border-color: var(--pl-gold);
  box-shadow: 0 0 0 3px rgba(255, 190, 74, .25);
}
.pl-rupee:has(input.pl-invalid) {
  border-color: #e23b3b;
  box-shadow: 0 0 0 3px rgba(226, 59, 59, .15);
}
.pl-rupee-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 0 10px;
  background: #f5f5f5;
  border-right: 1px solid var(--pl-line);
  font-weight: 600;
  color: var(--pl-muted);
  flex-shrink: 0;
}
.pl-rupee input {
  flex: 1;
  min-width: 0;
  border: none !important;
  border-radius: 0 !important;
  padding: 11px 13px;
  box-shadow: none !important;
  background: transparent;
}
.pl-rupee input:focus {
  outline: none;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Stepper */
.pl-stepper { display: flex; align-items: center; max-width: 180px; }
.pl-stepper input {
  text-align: center;
  border-radius: 0 !important;
  -moz-appearance: textfield;
}
.pl-stepper input::-webkit-outer-spin-button,
.pl-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pl-stepper-btn {
  border: 1px solid var(--pl-line);
  background: #f6f6f6;
  width: 42px; height: 44px;
  font-size: 20px; line-height: 1;
  cursor: pointer;
}
.pl-stepper-btn:first-child { border-radius: 10px 0 0 10px; }
.pl-stepper-btn:last-child { border-radius: 0 10px 10px 0; }
.pl-stepper-btn:hover { background: var(--pl-gold); border-color: var(--pl-gold); }

/* Wear & tear toggle card */
.pl-wear-tear-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  margin: 0;
  border: 2px solid var(--pl-line);
  border-radius: 12px;
  background: #fcfcfc;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.pl-wear-tear-card:hover {
  border-color: var(--pl-gold-dark);
  background: #fffdf6;
}
.pl-wear-tear-card:has(input:checked) {
  border-color: var(--pl-gold);
  background: #fff9eb;
  box-shadow: 0 0 0 3px rgba(255, 190, 74, .18);
}
.pl-wear-tear-card input.wear-tear-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  pointer-events: none;
}
.pl-wear-tear-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 2px solid #c8c8c8;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.pl-wear-tear-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #1a1a1a;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .15s ease;
}
.pl-wear-tear-card:has(input:checked) .pl-wear-tear-box {
  background: var(--pl-gold);
  border-color: var(--pl-gold);
}
.pl-wear-tear-card:has(input:checked) .pl-wear-tear-box::after {
  transform: rotate(45deg) scale(1);
}
.pl-wear-tear-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pl-wear-tear-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--pl-ink);
  line-height: 1.35;
}
.pl-wear-tear-hint {
  font-size: 13px;
  font-weight: 400;
  color: var(--pl-muted);
  line-height: 1.4;
}

/* Product card head */
.pl-product-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px dashed var(--pl-line);
}
.pl-product-head h3 { margin: 0; font-size: 18px; font-weight: 700; }
.pl-product-head .pl-remove-btn { margin-left: auto; }

/* Collapse / summary */
.pl-products-tip { margin: -6px 0 14px; max-width: 560px; }
.pl-collapse-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1.5px solid var(--pl-line);
  border-radius: 999px;
  background: #f8f9fb;
  color: var(--pl-ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.pl-collapse-btn:hover {
  border-color: var(--pl-gold-dark);
  background: #fffdf6;
}
.pl-collapse-label { white-space: nowrap; }
.pl-collapse-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.pl-product-block.pl-collapsed .pl-collapse-btn svg { transform: rotate(180deg); }
.pl-product-block.pl-collapsed .pl-grid { display: none; }
.pl-product-block.pl-collapsed .pl-product-head { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.pl-product-summary { flex: 1; display: none; color: var(--pl-muted); font-size: 14px; }
.pl-product-block.pl-collapsed .pl-product-summary { display: block; }

/* Category tiles */
.pl-cat-tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-cat-tile {
  border: 1.5px solid var(--pl-line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px; font-weight: 600;
  color: #444; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.pl-cat-tile:hover { border-color: var(--pl-gold-dark); background: #fffdf6; }
.pl-cat-tile.pl-cat-active {
  border-color: var(--pl-gold);
  background: var(--pl-gold);
  color: #1a1a1a;
}
@media (max-width: 576px) {
  .pl-cat-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .pl-cat-tile {
    border-radius: 12px;
    padding: 10px 8px;
    font-size: 12px;
    text-align: center;
    line-height: 1.3;
  }
}
.pl-photo-tips {
  margin: 6px 0 10px;
  padding-left: 18px;
  font-size: 13px;
  color: var(--pl-muted);
}
.pl-photo-tips li { margin-bottom: 3px; }
.pl-remove-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; color: #c0392b;
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.pl-remove-btn:hover { text-decoration: underline; }
.pl-remove-btn svg { width: 16px; height: 16px; }

/* Dropzone */
.pl-dropzone {
  border: 2px dashed var(--pl-line);
  border-radius: 12px;
  padding: 18px;
  background: #fcfcfc;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.pl-dropzone:hover { border-color: var(--pl-gold); background: #fffdf6; }
.pl-dropzone.pl-dragover { border-color: var(--pl-gold); background: #fff7e6; }
.pl-dropzone.pl-invalid { border-color: #e23b3b; }
.pl-dropzone-prompt {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--pl-muted); text-align: center; padding: 10px 0;
}
.pl-dropzone-prompt svg { width: 28px; height: 28px; color: var(--pl-gold-dark); }
.pl-dropzone-prompt span { font-size: 14px; }
.pl-dropzone-prompt u { color: var(--pl-gold-dark); }
.pl-dropzone-prompt small { font-size: 12px; }

.pl-thumbs {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px;
}
.pl-thumbs:empty { margin-top: 0; }
.pl-thumb {
  position: relative; width: 82px; height: 82px;
  border-radius: 10px; overflow: hidden; border: 1px solid var(--pl-line);
  background: #f3f3f3;
}
.pl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-thumb-remove {
  position: absolute; top: 3px; right: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,.65); color: #fff; border: none;
  font-size: 12px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pl-thumb-remove:hover { background: #c0392b; }

/* Buttons */
.pl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  padding: 13px 30px; cursor: pointer;
  text-decoration: none; transition: transform .12s, box-shadow .15s, background .15s;
}
.pl-btn-primary { background: var(--pl-gold); color: #1a1a1a; }
.pl-btn-primary:hover { background: var(--pl-gold-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(233,167,46,.4); }
.pl-btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.pl-btn-ghost {
  background: #fff; color: var(--pl-ink);
  border: 2px dashed var(--pl-gold-dark);
}
.pl-btn-ghost:hover { background: #fffdf6; }
.pl-btn-ghost svg { width: 18px; height: 18px; }

.pl-add-row { text-align: center; margin: 6px 0 26px; }

/* Submit bar */
.pl-submit-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: var(--pl-bg-soft);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius);
  padding: 18px 24px;
}
.pl-submit-info { color: var(--pl-muted); font-size: 15px; }
.pl-submit-info span { color: var(--pl-ink); font-weight: 700; }

/* Spinner inside button */
.pl-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(0,0,0,.25);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: pl-spin .7s linear infinite;
}
@keyframes pl-spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .pl-hero-title { font-size: 30px; }
  .pl-hero { padding: 48px 0 54px; }
  .pl-steps-grid { grid-template-columns: 1fr; }
  .pl-grid { grid-template-columns: 1fr; }
  .pl-card { padding: 18px; }

  /* Sticky submit bar on mobile for easier conversion */
  .pl-form-section { padding-bottom: 110px; }
  .pl-submit-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1030;
    flex-direction: row;
    align-items: center;
    border-radius: 0;
    border-left: none; border-right: none; border-bottom: none;
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0,0,0,.1);
    padding: 12px 16px;
  }
  .pl-submit-info { font-size: 13px; flex: 1; text-align: left; }
  .pl-submit-bar .pl-btn { width: auto; flex-shrink: 0; padding: 12px 22px; }
}

/* Success page */
.pl-success-card {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.pl-success-icon {
  width: 72px; height: 72px; margin: 0 auto 18px;
  background: var(--pl-gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.pl-success-icon svg { width: 36px; height: 36px; color: #1a1a1a; }
.pl-success-title {
  color: var(--pl-gold);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}
.pl-success-sub { color: var(--pl-muted); }
.pl-success-meta {
  margin: 22px 0 8px;
  padding: 16px 18px;
  background: #f8f9fb;
  border-radius: var(--pl-radius);
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  color: var(--pl-muted);
}
.pl-success-meta p { margin: 0 0 6px; }
.pl-success-meta p:last-child { margin-bottom: 0; }
.pl-success-steps { margin-top: 24px; text-align: left; }
.pl-success-help {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--pl-muted);
}
.pl-success-cta { margin-top: 24px; }
