/*
 * Werbeschwaggos DTF Shop 3.0.0 — Design 2026
 * Reine Darstellungsschicht. Die Bestell-, Preis-, Upload- und Produktionslogik
 * liegt weiterhin unverändert in ws-dtf.js und werbeschwaggos-dtf-shop.php.
 */

.wsdtf,
.wsdtf * {
  box-sizing: border-box;
}

.wsdtf {
  --ws-yellow: #f6d44c;
  --ws-yellow-deep: #c5a815;
  --ws-black: #050505;
  --ws-ink: #11110f;
  --ws-paper: #f4f4f0;
  --ws-white: #fff;
  --ws-muted: #6f706b;
  --ws-line: rgba(17, 17, 15, .13);
  --ws-radius: 28px;
  width: min(1460px, calc(100% - 32px)) !important;
  margin: 28px auto 72px !important;
  padding: 0 !important;
  color: var(--ws-ink);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 15px;
  line-height: 1.6;
}

.wsdtf button,
.wsdtf input,
.wsdtf select,
.wsdtf textarea {
  font: inherit;
}

.wsdtf-hero {
  position: relative !important;
  isolation: isolate;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 44px;
  align-items: end;
  min-height: 460px !important;
  padding: clamp(34px, 5vw, 76px) !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 34px !important;
  background: var(--ws-black) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .2) !important;
  color: #fff;
}

.wsdtf-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    radial-gradient(circle at 84% 46%, rgba(246, 212, 76, .18), transparent 28%) !important;
  background-size: 46px 46px, 46px 46px, auto !important;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .88) 58%, transparent 100%) !important;
  opacity: 1 !important;
  filter: none !important;
}

.wsdtf-hero::after {
  content: "" !important;
  position: absolute !important;
  right: clamp(20px, 6vw, 88px) !important;
  bottom: -54px !important;
  left: auto !important;
  z-index: -1 !important;
  display: block !important;
  width: clamp(250px, 30vw, 450px) !important;
  height: clamp(250px, 30vw, 450px) !important;
  background: url("ws-mark.png") center / contain no-repeat !important;
  opacity: .16 !important;
  transform: rotate(-7deg);
}

.wsdtf-pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  color: var(--ws-yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wsdtf-pill::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.wsdtf-hero h1 {
  position: relative !important;
  z-index: 1 !important;
  max-width: 940px !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(48px, 6.4vw, 104px) !important;
  font-weight: 500 !important;
  line-height: .93 !important;
  letter-spacing: -.072em !important;
  text-shadow: none !important;
}

.wsdtf-hero p {
  position: relative !important;
  z-index: 1 !important;
  max-width: 760px !important;
  margin: 28px 0 0 !important;
  color: rgba(255, 255, 255, .7) !important;
  font-size: clamp(16px, 1.3vw, 20px) !important;
  line-height: 1.7 !important;
  text-shadow: none !important;
}

.wsdtf-rollbadge {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  z-index: 2;
  width: 205px !important;
  min-width: 205px !important;
  padding: 22px !important;
  border-radius: 22px !important;
  background: var(--ws-yellow) !important;
  box-shadow: none !important;
  color: var(--ws-black) !important;
  transform: none !important;
}

.wsdtf-rollbadge strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.wsdtf-rollbadge span {
  margin-top: 5px;
  color: rgba(5, 5, 5, .64);
  font-weight: 600;
}

.wsdtf-holiday-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin: 0 0 18px;
  padding: 20px;
  border: 1px solid #ecd36b;
  border-radius: 22px;
  background: #fff7ce;
}

.wsdtf-holiday-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ws-black);
  color: var(--ws-yellow);
  font-weight: 800;
}

.wsdtf-holiday-banner p { margin: 5px 0; }
.wsdtf-holiday-badge { color: #6c5a0a; font-size: 12px; font-weight: 700; }

.wsdtf-customer-account-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 18px 0 22px !important;
  padding: 16px 18px !important;
  border: 1px solid var(--ws-line) !important;
  border-radius: 18px !important;
  background: var(--ws-white) !important;
  color: var(--ws-muted) !important;
  font-size: 13px !important;
}

.wsdtf-customer-account-link a {
  min-height: 42px !important;
  padding: 10px 15px !important;
  border-radius: 999px !important;
  background: var(--ws-black) !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.wsdtf-customer-account-link a:hover {
  background: var(--ws-yellow) !important;
  color: var(--ws-black) !important;
}

.wsdtf-guide {
  margin: 0 0 22px !important;
  padding: clamp(24px, 3.4vw, 46px) !important;
  border: 1px solid var(--ws-line) !important;
  border-radius: var(--ws-radius) !important;
  background: var(--ws-paper) !important;
  box-shadow: none !important;
}

.wsdtf-guide-badge {
  padding: 7px 11px !important;
  background: var(--ws-yellow) !important;
  color: var(--ws-black) !important;
  letter-spacing: .1em !important;
}

.wsdtf-guide h2 {
  max-width: 850px;
  margin: 12px 0 10px !important;
  font-size: clamp(28px, 3.5vw, 54px) !important;
  font-weight: 500 !important;
  line-height: 1.05 !important;
  letter-spacing: -.055em !important;
}

.wsdtf-guide-head > p { max-width: 940px !important; color: #62635f !important; }

.wsdtf-guide-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 28px !important;
}

.wsdtf-guide-card {
  min-height: 168px !important;
  padding: 20px !important;
  border: 1px solid var(--ws-line) !important;
  border-radius: 20px !important;
  background: var(--ws-white) !important;
  box-shadow: none !important;
}

.wsdtf-guide-card::before { display: none !important; }
.wsdtf-guide-card strong { font-weight: 700 !important; }
.wsdtf-guide-card p { color: var(--ws-muted) !important; font-size: 13px !important; }

.wsdtf-guide-check {
  margin-top: 14px !important;
  padding: 14px !important;
  border-radius: 18px !important;
  background: var(--ws-black) !important;
}

.wsdtf-guide-check b { color: var(--ws-yellow) !important; }

.wsdtf-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 400px !important;
  gap: 22px !important;
  align-items: start !important;
}

.wsdtf-left { display: grid; gap: 22px; }

.wsdtf-panel,
.wsdtf-summary {
  border: 1px solid var(--ws-line) !important;
  border-radius: var(--ws-radius) !important;
  background: var(--ws-white) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.wsdtf-panel { padding: clamp(22px, 3vw, 36px) !important; }

.wsdtf-panel-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
}

.wsdtf-panel-head h2,
.wsdtf-summary h2 {
  margin: 0 !important;
  font-size: clamp(25px, 2.5vw, 40px) !important;
  font-weight: 500 !important;
  line-height: 1.05 !important;
  letter-spacing: -.05em !important;
}

.wsdtf-panel-head h2::before { display: none !important; }

.wsdtf-add,
.wsdtf-cart,
.wsdtf-confirm-accept,
.wsdtf-confirm-cancel {
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

.wsdtf-add {
  min-height: 44px;
  padding: 10px 17px !important;
  background: var(--ws-black) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.wsdtf-add:hover { background: var(--ws-yellow) !important; color: var(--ws-black) !important; }
.wsdtf-small { background: #efefe9 !important; color: #585954 !important; }
.wsdtf-small::before { background: var(--ws-yellow) !important; }

.wsdtf-motifs { gap: 14px !important; }

.wsdtf-motif {
  padding: 22px !important;
  overflow: hidden !important;
  border: 1px solid var(--ws-line) !important;
  border-radius: 22px !important;
  background: var(--ws-paper) !important;
  box-shadow: none !important;
}

.wsdtf-motif::before {
  width: 5px !important;
  background: var(--ws-yellow) !important;
}

.wsdtf-motif-top { margin-bottom: 18px !important; }
.wsdtf-motif-top strong { font-weight: 700 !important; }

.wsdtf-motif-no {
  background: var(--ws-black) !important;
  color: var(--ws-yellow) !important;
}

.wsdtf-remove {
  width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  border-radius: 50% !important;
  background: #e8e8e2 !important;
  color: var(--ws-black) !important;
}

.wsdtf-remove:hover { background: var(--ws-black) !important; color: #fff !important; }

.wsdtf-fields {
  display: grid !important;
  grid-template-columns: 1.45fr 1fr 1fr 120px !important;
  gap: 12px !important;
}

.wsdtf-fields label,
.wsdtf-summary label {
  gap: 7px !important;
  color: #33342f !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
}

.wsdtf-fields input,
.wsdtf-fields select,
.wsdtf-summary select {
  min-height: 50px !important;
  border: 1px solid #d6d6cf !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--ws-black) !important;
  font-weight: 500 !important;
}

.wsdtf-fields input:focus,
.wsdtf-fields select:focus,
.wsdtf-summary select:focus {
  border-color: var(--ws-yellow-deep) !important;
  box-shadow: 0 0 0 4px rgba(246, 212, 76, .24) !important;
}

.wsdtf input[type="file"]::file-selector-button {
  margin: 0 12px 0 0;
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  background: var(--ws-black);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.wsdtf-bg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--ws-line);
  border-radius: 18px;
  background: #fff;
}

.wsdtf-bg-copy { display: grid; gap: 3px; min-width: 0; }
.wsdtf-bg-copy strong { color: var(--ws-black); font-size: 14px; }
.wsdtf-bg-copy > span { color: var(--ws-muted); font-size: 12px; }
.wsdtf-bg-status { display: block; margin-top: 4px; color: #6f706b; font-size: 11px; line-height: 1.45; }
.wsdtf-bg-status[data-state="loading"] { color: #756000; }
.wsdtf-bg-status[data-state="success"] { color: #116a32; }
.wsdtf-bg-status[data-state="error"] { color: #9e1d1d; }

.wsdtf-bg-switch {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px !important;
  min-height: 44px;
  cursor: pointer;
}

.wsdtf-bg-switch input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}

.wsdtf-bg-slider {
  position: relative;
  width: 54px;
  height: 30px;
  border: 1px solid #cdcdc6;
  border-radius: 999px;
  background: #dfdfd9;
  transition: background .2s ease, border-color .2s ease;
}

.wsdtf-bg-slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: transform .2s ease;
}

.wsdtf-bg-switch input:checked + .wsdtf-bg-slider { border-color: var(--ws-yellow-deep); background: var(--ws-yellow); }
.wsdtf-bg-switch input:checked + .wsdtf-bg-slider::after { transform: translateX(24px); background: var(--ws-black); }
.wsdtf-bg-switch input:focus-visible + .wsdtf-bg-slider { outline: 3px solid rgba(246,212,76,.42); outline-offset: 3px; }
.wsdtf-bg-switch-label { min-width: 25px; color: var(--ws-black); font-size: 12px; }

.wsdtf-bg-compare {
  margin-top: 12px !important;
  padding: 12px;
  border: 1px solid var(--ws-line);
  border-radius: 18px;
  background: #fff;
}

.wsdtf-bg-compare[hidden] { display: none !important; }
.wsdtf-bg-compare > div { position: relative; min-height: 170px !important; background-color: #fff !important; background-image: linear-gradient(45deg,#e8ebef 25%,transparent 25%),linear-gradient(-45deg,#e8ebef 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8ebef 75%),linear-gradient(-45deg,transparent 75%,#e8ebef 75%) !important; background-position: 0 0,0 10px,10px -10px,-10px 0 !important; background-size: 20px 20px !important; }
.wsdtf-bg-compare > div > span { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 5px 8px; border-radius: 999px; background: rgba(5,5,5,.82); color: #fff; font-size: 10px; font-weight: 700; }
.wsdtf-bg-original,
.wsdtf-bg-cutout { width: 100%; height: 170px; }
.wsdtf-bg-compare img { width: 100% !important; height: 100% !important; object-fit: contain !important; }

.wsdtf-bg-confirm-wrap {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  margin: 14px 0 0 !important;
  padding: 15px 17px;
  border: 1px solid #ead579;
  border-radius: 17px;
  background: #fff7cf;
  color: #4f450f;
  font-size: 12px;
  line-height: 1.55;
}
.wsdtf-bg-confirm-wrap[hidden] { display: none !important; }
.wsdtf-bg-confirm-wrap input { flex: 0 0 auto; width: 19px !important; height: 19px !important; margin-top: 1px; accent-color: var(--ws-black); }

.wsdtf-motif-foot {
  display: grid !important;
  grid-template-columns: 132px minmax(0, 1fr) !important;
  gap: 18px !important;
  margin-top: 18px !important;
}

.wsdtf-thumb {
  width: 132px !important;
  height: 132px !important;
  border: 1px solid #d6d6cf !important;
  border-radius: 18px !important;
}

.wsdtf-size-result {
  display: block !important;
  width: auto !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ws-muted) !important;
  box-shadow: none !important;
}

.wsdtf-size-result span { color: var(--ws-muted) !important; }
.wsdtf-size-result b { display: inline !important; color: var(--ws-black) !important; }
.wsdtf-filemeta, .wsdtf-note, .wsdtf-fineprint { color: var(--ws-muted) !important; }

.wsdtf-preview-toolbar { gap: 8px !important; }
.wsdtf-preview-toolbar span {
  border: 1px solid var(--ws-line) !important;
  background: var(--ws-paper) !important;
}

.wsdtf-preview-wrap {
  min-height: 580px !important;
  height: min(76vh, 820px) !important;
  border: 1px solid var(--ws-line) !important;
  border-radius: 22px !important;
  background-color: #f7f7f4 !important;
  background-image:
    linear-gradient(45deg, #ebebe6 25%, transparent 25%),
    linear-gradient(-45deg, #ebebe6 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ebebe6 75%),
    linear-gradient(-45deg, transparent 75%, #ebebe6 75%) !important;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0 !important;
  background-size: 24px 24px !important;
  box-shadow: none !important;
}

.wsdtf-empty-preview {
  color: #6f706b !important;
  font-weight: 600 !important;
}

.wsdtf-render-progress { border-radius: 16px !important; background: var(--ws-black) !important; }
.wsdtf-render-progress-track span { background: var(--ws-yellow) !important; }

.wsdtf-summary {
  position: sticky !important;
  top: 22px !important;
  padding: 28px !important;
  overflow: hidden !important;
}

.wsdtf-summary::before {
  height: 6px !important;
  background: var(--ws-yellow) !important;
}

.wsdtf-summary label { margin-top: 22px !important; }

.wsdtf-pricebox > div {
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--ws-line);
  border-radius: 0 !important;
  background: transparent !important;
}

.wsdtf-pricebox > div:last-child { border-bottom: 0; }

.wsdtf-total {
  margin-top: 10px !important;
  padding: 20px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: var(--ws-black) !important;
}

.wsdtf-total b { color: var(--ws-yellow) !important; }

.wsdtf-status {
  border: 1px solid #ead579;
  border-radius: 16px !important;
  background: #fff7cf !important;
}

.wsdtf-cart {
  min-height: 58px;
  padding: 15px 20px !important;
  background: var(--ws-yellow) !important;
  box-shadow: none !important;
  color: var(--ws-black) !important;
  font-size: 15px !important;
}

.wsdtf-cart:hover { background: var(--ws-black) !important; color: #fff !important; }
.wsdtf-cart:disabled { opacity: .45 !important; }

.wsdtf-brandbar {
  padding: 15px !important;
  border-radius: 18px !important;
  background: var(--ws-paper) !important;
  color: var(--ws-black) !important;
}

.wsdtf-brandmark {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  background: var(--ws-black) url("ws-mark.png") center / 72% no-repeat !important;
  color: transparent !important;
  font-size: 0 !important;
}

.wsdtf-confirm-backdrop { background: rgba(5, 5, 5, .76) !important; }
.wsdtf-confirm-box { border-radius: 28px !important; box-shadow: 0 30px 100px rgba(0, 0, 0, .3) !important; }
.wsdtf-confirm-icon { background: var(--ws-yellow) !important; }
.wsdtf-confirm-accept { background: var(--ws-yellow) !important; color: var(--ws-black) !important; }
.wsdtf-confirm-cancel { background: var(--ws-paper) !important; color: var(--ws-black) !important; }

/* Kundenkonto: gleiche visuelle Sprache, bestehende Funktionen bleiben erhalten. */
.wsdtf-account-head,
.wsdtf-account-welcome {
  border: 0 !important;
  border-radius: 28px !important;
  background: var(--ws-black) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif !important;
}

.wsdtf-account-head h2,
.wsdtf-account-welcome h2 { color: #fff !important; font-weight: 500 !important; }
.wsdtf-account-head p,
.wsdtf-account-welcome p { color: rgba(255, 255, 255, .68) !important; }
.wsdtf-account-kicker { background: var(--ws-yellow) !important; color: var(--ws-black) !important; }

.wsdtf-button { border-radius: 999px !important; font-family: Poppins, Inter, sans-serif !important; }
.wsdtf-button-primary { background: var(--ws-yellow) !important; color: var(--ws-black) !important; }
.wsdtf-button-primary:hover { background: #fff !important; color: var(--ws-black) !important; }

.wsdtf-order-card {
  border: 1px solid var(--ws-line) !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  font-family: Poppins, Inter, sans-serif !important;
}

.wsdtf-order-card-head { background: var(--ws-paper) !important; }
.wsdtf-order-number { color: var(--ws-black) !important; }
.wsdtf-preview-info span { background: var(--ws-black) !important; }
.wsdtf-guest-link { border-color: #ead579 !important; border-radius: 20px !important; background: #fff7cf !important; }

.wsdtf-wc-direct .woocommerce,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
}

@media (max-width: 1180px) {
  .wsdtf-grid { grid-template-columns: 1fr !important; }
  .wsdtf-summary { position: relative !important; top: auto !important; }
  .wsdtf-fields { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 900px) {
  .wsdtf { width: min(100% - 18px, 1460px) !important; margin-top: 16px !important; }
  .wsdtf-hero { grid-template-columns: 1fr !important; min-height: 430px !important; }
  .wsdtf-hero::after { right: -30px !important; bottom: -56px !important; }
  .wsdtf-rollbadge { width: max-content !important; min-width: 0 !important; }
  .wsdtf-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .wsdtf-preview-wrap { min-height: 480px !important; }
}

@media (max-width: 620px) {
  .wsdtf { width: 100% !important; padding: 0 10px !important; }
  .wsdtf-hero { min-height: 520px !important; padding: 30px 22px !important; border-radius: 24px !important; }
  .wsdtf-hero h1 { font-size: clamp(42px, 14vw, 64px) !important; }
  .wsdtf-customer-account-link { align-items: stretch !important; flex-direction: column !important; }
  .wsdtf-guide-grid,
  .wsdtf-fields { grid-template-columns: 1fr !important; }
  .wsdtf-panel,
  .wsdtf-summary,
  .wsdtf-guide { padding: 20px !important; border-radius: 22px !important; }
  .wsdtf-panel-head { align-items: stretch !important; flex-direction: column !important; }
  .wsdtf-add { width: 100% !important; }
  .wsdtf-motif-foot { grid-template-columns: 1fr !important; }
  .wsdtf-thumb { width: 100% !important; height: 190px !important; }
  .wsdtf-preview-toolbar span { width: 100%; justify-content: space-between; }
  .wsdtf-preview-wrap { min-height: 390px !important; height: 62vh !important; }
  .wsdtf-bg-row { align-items: flex-start; flex-direction: column; }
  .wsdtf-bg-switch { align-self: stretch; justify-content: space-between; }
  .wsdtf-bg-compare { grid-template-columns: 1fr !important; }
  .wsdtf-account-head,
  .wsdtf-account-welcome { align-items: stretch !important; flex-direction: column !important; padding: 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .wsdtf *, .wsdtf *::before, .wsdtf *::after { scroll-behavior: auto !important; transition: none !important; }
}
