/* For importers page (importers.html) and spec sheets (spec-sheet.html) */

.export-hero { padding-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 56px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--gold-line); }
.steps li { padding: 22px 22px 0 0; display: grid; gap: 4px; position: relative; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--gold-line); }
.steps b { font-weight: 400; font-size: 13px; letter-spacing: .24em; color: var(--gold); }
.steps span { font-size: 19px; color: var(--ivory); }
.steps small { font-size: 15px; color: var(--ivory-dim); max-width: 26ch; }
.export-terms { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.export-terms li { padding: 12px 18px; border-radius: var(--radius-sm); background: var(--brown-2); border: 1px solid var(--gold-line); display: grid; }
.export-terms small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li { padding-bottom: 18px; }
}

/* ---------- Container planner ---------- */
.planner-section { padding-top: 70px; }
.tabs--dark { background: var(--brown-2); border: 1px solid var(--gold-line); }
.tabs--dark button { color: var(--ivory-dim); }
.tabs--dark button[aria-pressed="true"] { background: var(--gold); color: var(--brown); }
.cp { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr); gap: 28px; align-items: start; }
.cp__stage { display: grid; gap: 18px; min-width: 0; }
.cp__3d {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(120% 90% at 60% 30%, #2E2925 0%, #1C1917 55%, #141110 100%);
  border: 1px solid rgba(184,151,106,.18);
}
.cp__3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.cp__3d.is-dragging canvas { cursor: grabbing; }
.cp__hint { position: absolute; left: 20px; bottom: 16px; margin: 0; font-size: 13px; letter-spacing: .08em; color: var(--ivory-dim); pointer-events: none; display: none; }
.cp__3d.is-live .cp__hint:not([hidden]) { display: block; }
.cp__3d[hidden] { display: none; }

.cp__meter p { margin: 10px 0 0; font-size: 15px; color: var(--ivory-dim); }
.cp__bar { height: 10px; border-radius: 999px; background: var(--brown-2); border: 1px solid var(--gold-line); overflow: hidden; }
.cp__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8C6E4A, var(--gold)); border-radius: inherit; transition: width .45s ease; }
.cp__bar.is-over span { background: #B4583F; }
.cp__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; }
.cp__stats div { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--brown-2); border: 1px solid rgba(184,151,106,.16); }
.cp__stats dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.cp__stats dd { margin: 4px 0 0; font-size: clamp(20px, 2vw, 26px); font-variant-numeric: tabular-nums; color: var(--ivory); }
.cp__strip { margin: 0; }
.cp__strip svg { width: 100%; height: auto; display: block; font-family: var(--font); }
.cp__strip figcaption { font-size: 13px; color: rgba(237,232,223,.5); margin-top: 4px; }

.cp__panel { background: var(--brown-2); border: 1px solid rgba(184,151,106,.18); border-radius: var(--radius-lg); padding: 10px 22px 24px; }
.cp__list { list-style: none; margin: 0; padding: 0; }
.cp-item { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(184,151,106,.12); }
.cp-item img { width: 50px; height: 50px; border-radius: 10px; object-fit: contain; background: var(--sand); box-shadow: 0 0 0 2px var(--brown-2), 0 0 0 4px var(--sw); }
.cp-item__info strong { display: block; font-weight: 500; font-size: 15px; }
.cp-item__info small { display: block; font-size: 13px; color: var(--ivory-dim); line-height: 1.35; }
.est { display: inline-block; font-size: 11px; letter-spacing: .06em; padding: 0 6px; border-radius: 6px; border: 1px solid var(--gold-line); color: var(--gold); line-height: 1.5; }
.stepper { display: flex; align-items: center; border: 1px solid var(--gold-line); border-radius: 999px; overflow: hidden; }
.stepper button { width: 34px; height: 36px; border: 0; background: transparent; color: var(--gold); font-size: 18px; cursor: pointer; }
.stepper button:hover { background: rgba(184,151,106,.16); }
.stepper input { width: 58px; height: 36px; border: 0; background: transparent; color: var(--ivory); text-align: center; font: inherit; font-size: 15px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: 2px solid var(--gold); outline-offset: -2px; }
.cp__tools { display: flex; gap: 12px; margin-top: 20px; }
.cp__tools .btn { flex: 1; justify-content: center; }
.cp__note { font-size: 14px; color: var(--ivory-dim); margin: 12px 0 0; }
.cp__note:empty { display: none; }
.cp__note--small { font-size: 13px; color: rgba(237,232,223,.55); }
.cp__share { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(184,151,106,.12); }
.linkish--light { color: var(--gold); text-decoration-color: var(--gold-line); }
.linkish--light:hover { color: var(--ivory); }

@media (max-width: 980px) {
  .cp { grid-template-columns: 1fr; }
  .cp__3d { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .cp__stats { grid-template-columns: 1fr 1fr; }
  .cp__panel { padding: 6px 16px 20px; }
  .cp-item { grid-template-columns: 42px minmax(0, 1fr); }
  .cp-item img { width: 42px; height: 42px; }
  .cp-item .stepper { grid-column: 2; justify-self: start; }
}

/* ---------- Quote form extras ---------- */
.form select {
  font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(28,25,23,.18); background: var(--white); color: var(--brown);
}
.form select:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.form label.check { display: flex; align-items: center; gap: 10px; }
.check input { width: 18px; height: 18px; accent-color: var(--teal); }

/* ---------- Spec sheet cards ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.spec-card { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: var(--radius-md); border: 1px solid rgba(184,151,106,.18); background: var(--brown-2); text-decoration: none; color: var(--ivory); transition: border-color .25s, transform .25s; }
.spec-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.spec-card__ph { width: 88px; height: 88px; border-radius: 14px; overflow: hidden; background: var(--sand); }
.spec-card__ph img { width: 100%; height: 100%; object-fit: contain; }
.spec-card strong { display: block; font-weight: 500; }
.spec-card small { display: block; font-size: 13px; color: var(--ivory-dim); }
.spec-card__go { display: inline-block; margin-top: 6px; font-size: 14px; color: var(--gold); }
.spec-card__go::after { content: "\00a0\2192"; }

/* ---------- Printed container plan ---------- */
.print-plan { display: none; }
@media print {
  @page { size: A4; margin: 16mm; }
  body.printing-plan > *:not(.print-plan) { display: none !important; }
  body.printing-plan { background: #fff; color: #1C1917; }
  body.printing-plan .print-plan { display: block; font-size: 11pt; }
  .pp-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #B8976A; padding-bottom: 10px; margin-bottom: 18px; }
  .pp-head img { height: 22px; }
  .print-plan h1 { font-size: 22pt; font-weight: 400; margin: 0 0 4px; }
  .pp-sub { margin: 0 0 16px; color: #555; }
  .print-plan table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
  .print-plan th, .print-plan td { text-align: left; padding: 7px 6px; border-bottom: 1px solid #ddd; }
  .print-plan th { font-size: 9pt; letter-spacing: .1em; text-transform: uppercase; color: #7A6243; font-weight: 500; }
  .print-plan td:not(:first-child), .print-plan th:not(:first-child) { text-align: right; }
  .pp-total td { font-weight: 600; border-top: 1.5px solid #1C1917; }
  .pp-strip { width: 100%; height: auto; }
  .pp-strip text { fill: #1C1917; }
  .pp-note, .pp-link { font-size: 9pt; color: #555; word-break: break-all; }
}
.cp__wa { width: 100%; justify-content: center; margin-top: 18px; font-size: 16px; padding: 16px 22px; }
.cp__wa[aria-disabled="true"] { opacity: .45; }
#cp-wa-note { margin-top: 8px; }
.cp__list .stepper button { touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.cp__tools .btn { flex: 0 1 auto; }
/* The count is a real field: make it look typeable */
.cp__type { margin: 0 0 4px; font-size: 14px; color: var(--ivory-dim); }
.cp-item__ctl { display: flex; align-items: center; gap: 8px; }
.cp-item__unit { font-size: 13px; color: var(--ivory-dim); }
.cp__list .stepper { padding: 3px; gap: 2px; }
.cp__list .stepper button { width: 36px; height: 36px; border-radius: 999px; }
.cp__list .stepper input { width: 72px; height: 34px; border-radius: 10px; background: rgba(237,232,223,.1); box-shadow: inset 0 0 0 1px rgba(184,151,106,.55); font-size: 16px; cursor: text; }
.cp__list .stepper input:hover { background: rgba(237,232,223,.16); }
.cp__list .stepper input:focus { outline: none; background: var(--ivory); color: var(--brown); box-shadow: inset 0 0 0 2px var(--gold); }
@media (max-width: 640px) { .cp-item .cp-item__ctl { grid-column: 2; justify-self: start; } }
.cp-item__ctl { flex-wrap: wrap; row-gap: 6px; }
.cp-item__ten { font: inherit; font-size: 14px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--gold-line); background: rgba(184,151,106,.14); color: var(--gold); cursor: pointer; touch-action: manipulation; }
.cp-item__ten:hover:not(:disabled) { background: rgba(184,151,106,.26); }
.cp-item__ten:disabled { opacity: .35; cursor: not-allowed; }
.cp-item__ten:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 640px) { .cp-item .cp-item__ctl { grid-column: 1 / -1; flex-wrap: nowrap; } .cp-item__ten { padding: 0 12px; } }
/* Optional import country, asked before the planner */
.cp-country { max-width: 560px; margin: 0 0 22px; }
.cp-country label { display: block; font-size: 16px; color: var(--ivory); margin-bottom: 8px; }
.cp-country label span { font-size: 12px; letter-spacing: .04em; color: var(--ivory-dim); border: 1px solid var(--gold-line); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.cp-country__field { position: relative; }
.cp-country input { font: inherit; font-size: 16px; width: 100%; height: 48px; padding: 0 44px 0 16px; border-radius: 14px; border: 1px solid var(--gold-line); background: rgba(237,232,223,.08); color: var(--ivory); }
.cp-country input::placeholder { color: var(--ivory-dim); opacity: .8; }
.cp-country input:focus { outline: none; border-color: var(--gold); background: rgba(237,232,223,.14); }
.cp-country__clear { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--ivory-dim); font-size: 22px; cursor: pointer; }
.cp-country__clear:hover { color: var(--ivory); background: rgba(184,151,106,.16); }
.cp-country__note { margin: 6px 0 0; font-size: 13px; color: var(--ivory-dim); }
/* Controls sit under the product name at every width, so names never squeeze */
.cp-item { grid-template-columns: 50px minmax(0, 1fr); }
.cp-item .cp-item__ctl { grid-column: 2; flex-wrap: nowrap; }
@media (max-width: 640px) { .cp-item { grid-template-columns: 42px minmax(0, 1fr); } .cp-item .cp-item__ctl { grid-column: 1 / -1; } }
.cp-country__note.is-warn { color: var(--gold); } .cp-country__note a { color: var(--gold); }
