/* Torii X (22.10.2026) - Kauf-Erlebnis. Bewegung "satt, aber schnell"
 * (Rudi): 0,3-0,6 s, am Handy sparsam, prefers-reduced-motion respektiert.
 */
:root {
  --tx-ink: #0A0A0A;
  --tx-red: #DC2626;
  --tx-card: #F3F1EE;
  --tx-ease: cubic-bezier(.2, .7, .2, 1);
}
.tx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tx-jp { font-family: "Noto Sans JP", sans-serif; font-size: 11px; letter-spacing: .35em; color: var(--tx-red); }
html.tx-noscroll { overflow: hidden; }

/* ============================================================
   WARENKORB-KNOPF im Kopf
   ============================================================ */
.tx-korb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 14px;
  background: transparent;
  border: 0;
  color: var(--tx-ink);
  cursor: pointer;
  transition: color .2s;
}
.tx-korb:hover { color: var(--tx-red); }
.tx-korb__n {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--tx-red);
  color: #fff;
  font: 700 11px/18px "DM Sans", sans-serif;
  text-align: center;
}
.tx-korb__n.tx-leer-z { display: none; }
.tx-korb__n.tx-pop { animation: tx-pop .45s var(--tx-ease); }
@keyframes tx-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
#mobile-header .tx-korb { margin: 0 4px 0 0; }

/* ============================================================
   SEITENLEISTE
   ============================================================ */
.tx-drawer { position: fixed; inset: 0; z-index: 100000; pointer-events: none; }
.tx-drawer__bg {
  position: absolute; inset: 0; background: rgba(10, 10, 10, .55);
  opacity: 0; transition: opacity .35s var(--tx-ease);
}
.tx-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s var(--tx-ease);
  border-left: 4px solid var(--tx-red);
}
.tx-drawer.tx-offen { pointer-events: auto; }
.tx-drawer.tx-offen .tx-drawer__bg { opacity: 1; }
.tx-drawer.tx-offen .tx-drawer__panel { transform: none; }
.tx-drawer__kopf {
  display: flex; align-items: baseline; gap: 12px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--tx-ink);
}
.tx-drawer__kopf strong { font: 400 34px/1 "Bebas Neue", sans-serif; letter-spacing: .02em; }
.tx-drawer__zu {
  margin-left: auto; background: none; border: 0; font-size: 32px; line-height: 1;
  cursor: pointer; color: var(--tx-ink); transition: transform .25s, color .2s;
}
.tx-drawer__zu:hover { transform: rotate(90deg); color: var(--tx-red); }
.tx-drawer__gratis { padding: 14px 24px 0; font-size: 14px; }
.tx-drawer__gratis p { margin: 0 0 8px; }
.tx-bar { height: 6px; background: var(--tx-card); overflow: hidden; }
.tx-bar i { display: block; height: 100%; background: var(--tx-red); transition: width .6s var(--tx-ease); }
.tx-drawer__liste { flex: 1; overflow-y: auto; padding: 8px 24px; }
.tx-item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid #eee;
  animation: tx-rein .4s var(--tx-ease) both;
}
.tx-item__bild { background: var(--tx-card); aspect-ratio: 1; display: block; }
.tx-item__bild img { width: 100%; height: 100%; object-fit: contain; }
.tx-item__text a { font: 400 18px/1.05 "Bebas Neue", sans-serif; letter-spacing: .02em; color: var(--tx-ink); text-decoration: none; }
.tx-item__text small { display: block; color: #777; font-size: 12px; margin: 4px 0; }
.tx-item__text b { font-size: 14px; }
.tx-item__weg { background: none; border: 0; font-size: 22px; color: #999; cursor: pointer; }
.tx-item__weg:hover { color: var(--tx-red); }
.tx-leer { text-align: center; padding: 48px 0; }
.tx-leer span { font: 900 72px/1 "Noto Sans JP", sans-serif; color: transparent; -webkit-text-stroke: 1.5px #bbb; display: block; }
.tx-drawer__fuss { padding: 16px 24px 24px; border-top: 1px solid var(--tx-ink); display: grid; gap: 10px; }
.tx-summe { display: flex; justify-content: space-between; font: 400 22px/1 "Bebas Neue", sans-serif; letter-spacing: .04em; }
.tx-hinweis { color: #888; font-size: 11px; }
.tx-btn {
  display: block; text-align: center; padding: 14px 18px;
  font: 400 18px/1 "Bebas Neue", sans-serif; letter-spacing: .14em;
  border: 2px solid var(--tx-ink); color: var(--tx-ink) !important; text-decoration: none !important;
  transition: background .2s, color .2s, border-color .2s;
}
.tx-btn--rot { background: var(--tx-red); border-color: var(--tx-red); color: #fff !important; }
.tx-btn--rot:hover { background: #b91c1c; border-color: #b91c1c; }
.tx-btn--ghost:hover { background: var(--tx-ink); color: #fff !important; }

/* ============================================================
   KACHELN
   ============================================================ */
ul.products li.product .tx-bildlink { position: relative; overflow: hidden; }
ul.products li.product .tx-bildlink > img:first-of-type {
  transition: opacity .45s var(--tx-ease), transform .6s var(--tx-ease) !important;
}
.tx-alt {
  position: absolute !important; inset: 0; z-index: 2 !important;
  width: 100% !important; height: 100% !important; object-fit: contain !important;
  opacity: 0; transform: scale(1.06);
  transition: opacity .45s var(--tx-ease), transform .6s var(--tx-ease) !important;
  background: transparent !important;
}
.tx-kanji {
  position: absolute; top: 6%; right: 6%; z-index: 0;
  font: 900 clamp(48px, 6vw, 92px)/1 "Noto Sans JP", sans-serif;
  writing-mode: vertical-rl;
  color: transparent; -webkit-text-stroke: 1.2px rgba(10, 10, 10, .18);
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s var(--tx-ease), transform .45s var(--tx-ease);
  pointer-events: none;
}
@media (hover: hover) {
  ul.products li.product.tx-hat-alt:hover .tx-alt { opacity: 1; transform: none; }
  ul.products li.product.tx-hat-alt:hover .tx-bildlink > img:first-of-type { opacity: 0; }
  ul.products li.product:hover .tx-kanji { opacity: 1; transform: none; }
  ul.products li.product:hover .woocommerce-loop-product__title { color: var(--tx-red) !important; }
}
ul.products li.product .woocommerce-loop-product__title { transition: color .25s; }

/* Schnellkauf: Groessen gleiten von unten ins Bild (nur mit Maus) */
.tx-quick {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 10px 10px 12px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  border-top: 3px solid var(--tx-red);
  transform: translateY(105%);
  transition: transform .4s var(--tx-ease);
  cursor: default;
}
.tx-quick__t { display: block; font: 400 13px/1 "Bebas Neue", sans-serif; letter-spacing: .14em; color: #777; margin-bottom: 8px; }
.tx-quick__g { display: flex; flex-wrap: wrap; gap: 6px; }
.tx-quick__g button {
  flex: 1 0 34px; min-width: 34px; height: 34px; padding: 0 6px;
  background: #fff; border: 1px solid var(--tx-ink); color: var(--tx-ink);
  font: 700 12px/1 "DM Sans", sans-serif; cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.tx-quick__g button:hover:not(:disabled) { background: var(--tx-ink); color: #fff; transform: translateY(-2px); }
.tx-quick__g button:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.tx-quick__g button.tx-laedt { background: var(--tx-red); border-color: var(--tx-red); color: #fff; animation: tx-puls .8s infinite; }
.tx-quick__g button.tx-ok { background: var(--tx-red); border-color: var(--tx-red); color: #fff; }
@keyframes tx-puls { 50% { opacity: .55; } }
@media (hover: hover) {
  ul.products li.product:hover .tx-quick { transform: none; }
}
@media (hover: none) { .tx-quick { display: none; } }

/* ============================================================
   FILTER-LEISTE
   ============================================================ */
.tx-spion { height: 1px; }
.tx-filter {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  padding: 14px 0 12px;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--tx-ink);
  transition: box-shadow .3s;
}
.tx-filter.tx-klebt { box-shadow: 0 12px 24px -18px rgba(0, 0, 0, .45); }
body.admin-bar .tx-filter { top: 32px; }
.tx-filter__reihe { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0; }
.tx-filter__reihe::-webkit-scrollbar { display: none; }
.tx-filter__l { font: 400 14px/1 "Bebas Neue", sans-serif; letter-spacing: .14em; color: #888; margin-right: 4px; flex: 0 0 auto; }
.tx-chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: #fff; border: 1px solid #d6d6d6; color: var(--tx-ink) !important;
  font: 400 16px/1 "Bebas Neue", sans-serif; letter-spacing: .08em;
  text-decoration: none !important; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.tx-chip:hover { border-color: var(--tx-ink); transform: translateY(-1px); }
.tx-chip.tx-an { background: var(--tx-ink); border-color: var(--tx-ink); color: #fff !important; }
.tx-filter__kats .tx-chip.tx-an { background: var(--tx-red); border-color: var(--tx-red); }
.tx-chip--m i { font: normal 500 13px/1 "Noto Sans JP", sans-serif; color: var(--tx-red); }
.tx-chip--m.tx-an i { color: #fff; }
.tx-filter__unten { gap: 10px; flex-wrap: wrap; }
.tx-farben { display: flex; gap: 8px; }
.tx-farbe {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--f); border: 1px solid #cfcfcf; cursor: pointer;
  box-shadow: 0 0 0 0 var(--tx-red);
  transition: box-shadow .2s, transform .2s;
}
.tx-farbe:hover { transform: scale(1.12); }
.tx-farbe.tx-an { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tx-red); }
.tx-sort select {
  border: 1px solid #d6d6d6; background: #fff; padding: 7px 28px 7px 10px;
  font: 400 15px/1 "Bebas Neue", sans-serif; letter-spacing: .08em; border-radius: 0;
}
.tx-anzahl { margin-left: auto; font: 400 15px/1 "Bebas Neue", sans-serif; letter-spacing: .1em; color: #888; }
.tx-reset { background: none; border: 0; color: var(--tx-red); font: 400 15px/1 "Bebas Neue", sans-serif; letter-spacing: .1em; cursor: pointer; text-decoration: underline; }
/* Woo-Standard ersetzen: Ergebniszahl, Sortierung, Seitenzahlen */
body.tx-hat-filter .woocommerce-result-count,
body.tx-hat-filter .woocommerce-ordering,
body.tx-hat-filter .kadence-shop-top-row,
body.tx-hat-filter .woocommerce-pagination { display: none !important; }
body.tx-hat-filter .woocommerce-products-header + * { border-top: 0 !important; }

ul.products li.product.tx-weg { display: none !important; }
ul.products li.product.tx-rein { animation: tx-rein .45s var(--tx-ease) both; }
ul.products.tx-sortiert li.product { animation: tx-rein .45s var(--tx-ease) both; }
@keyframes tx-rein { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.tx-nichts-text { display: none; text-align: center; padding: 48px 0; color: #777; }
ul.products.tx-nichts + .tx-nichts-text { display: block; }

@media (max-width: 768px) {
  .tx-filter { margin-left: -12px; margin-right: -12px; padding: 10px 12px 8px; }
  .tx-chip { padding: 7px 11px; font-size: 15px; }
  .tx-anzahl { margin-left: 0; }
}

/* ============================================================
   PRODUKTSEITE
   ============================================================ */
.tx-versteckt { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; }
.single-product table.variations td.value { padding-top: 6px !important; }
.single-product table.variations,
.single-product table.variations tbody,
.single-product table.variations tr,
.single-product table.variations th,
.single-product table.variations td { display: block; width: 100%; }
.single-product table.variations th.label { padding: 14px 0 0 !important; display: flex; align-items: baseline; gap: 12px; }
.single-product table.variations label[data-wahl]::after { content: attr(data-wahl); margin-left: 10px; font: 500 14px/1 "DM Sans", sans-serif; letter-spacing: 0; color: #666; text-transform: none; }
.tx-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.tx-opts--groesse button {
  min-width: 52px; height: 46px; padding: 0 12px;
  background: #fff; border: 1px solid #cfcfcf; color: var(--tx-ink);
  font: 700 14px/1 "DM Sans", sans-serif; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.tx-opts--groesse button:hover:not(:disabled) { border-color: var(--tx-ink); transform: translateY(-2px); }
.tx-opts--groesse button.tx-an { background: var(--tx-ink); border-color: var(--tx-ink); color: #fff; }
.tx-opts--farbe button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; background: #fff; border: 1px solid #cfcfcf; cursor: pointer;
  font: 500 13px/1 "DM Sans", sans-serif; color: var(--tx-ink);
  transition: border-color .15s, transform .15s;
}
.tx-opts--farbe button i { width: 26px; height: 26px; border-radius: 50%; background: var(--f); border: 1px solid rgba(0, 0, 0, .15); }
.tx-opts--farbe button:hover:not(:disabled) { border-color: var(--tx-ink); transform: translateY(-2px); }
.tx-opts--farbe button.tx-an { border-color: var(--tx-red); box-shadow: inset 0 0 0 1px var(--tx-red); }
.tx-opts button:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.single-product .reset_variations { font-size: 12px; color: #888 !important; }
form.variations_form.tx-hinweis-wahl .tx-opts { animation: tx-wackel .5s; }
@keyframes tx-wackel { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.tx-tabelle-link {
  background: none; border: 0; padding: 0; margin-left: auto;
  font: 400 15px/1 "Bebas Neue", sans-serif; letter-spacing: .1em; color: var(--tx-ink);
  border-bottom: 2px solid var(--tx-red); cursor: pointer;
}
.tx-tabelle-link:hover { color: var(--tx-red); }

.single-product .single_add_to_cart_button.tx-laedt { animation: tx-puls .8s infinite; }
.single-product .single_add_to_cart_button.tx-ok::after { content: " ✓"; }

.tx-vertrauen {
  list-style: none; margin: 18px 0 0; padding: 14px 0 0;
  border-top: 1px solid #e5e5e5;
  display: grid; gap: 8px; font-size: 13px; color: #555;
}
.tx-vertrauen li { position: relative; padding-left: 20px; }
.tx-vertrauen li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: var(--tx-red); }
.tx-vertrauen b { color: var(--tx-ink); }

.tx-kaufbar { display: none; }
@media (max-width: 768px) {
  .tx-kaufbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 3px solid var(--tx-red);
    box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .35);
    transform: translateY(110%); transition: transform .35s var(--tx-ease);
  }
  .tx-kaufbar.tx-zeigen { transform: none; }
  .tx-kaufbar div { flex: 1; min-width: 0; }
  .tx-kaufbar b { display: block; font: 400 17px/1.05 "Bebas Neue", sans-serif; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tx-kaufbar span { font-size: 13px; font-weight: 700; }
  .tx-kaufbar button {
    flex: 0 0 auto; background: var(--tx-red); color: #fff; border: 0;
    padding: 13px 16px; font: 400 17px/1 "Bebas Neue", sans-serif; letter-spacing: .12em;
  }
}

/* Groessentabelle */
.tx-modal { position: fixed; inset: 0; z-index: 100001; display: grid; place-items: center; padding: 16px; }
.tx-modal__bg { position: absolute; inset: 0; background: rgba(10, 10, 10, .6); opacity: 0; transition: opacity .3s; }
.tx-modal__box {
  position: relative; background: #fff; width: min(620px, 100%); max-height: 85vh; overflow: auto;
  padding: 26px 24px; border-top: 4px solid var(--tx-red);
  transform: translateY(20px) scale(.98); opacity: 0; transition: transform .35s var(--tx-ease), opacity .3s;
}
.tx-modal.tx-offen .tx-modal__bg { opacity: 1; }
.tx-modal.tx-offen .tx-modal__box { transform: none; opacity: 1; }
.tx-modal__box .tx-drawer__zu { position: absolute; top: 12px; right: 14px; }
.tx-modal__box h3 { font: 400 36px/1 "Bebas Neue", sans-serif; margin: 6px 0 6px; }
.tx-modal__box p { color: #666; font-size: 13px; margin: 0 0 14px; }
.tx-modal__box table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tx-modal__box th { font: 400 16px/1 "Bebas Neue", sans-serif; letter-spacing: .08em; text-align: left; border-bottom: 2px solid var(--tx-ink); padding: 8px 6px; }
.tx-modal__box td { border-bottom: 1px solid #eee; padding: 9px 6px; }
.tx-modal__box tr:hover td { background: var(--tx-card); }

/* ============================================================
   SCROLL-EINBLENDEN
   ============================================================ */
.tx-anim { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--tx-ease), transform .6s var(--tx-ease); }
.tx-anim.tx-da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .tx-anim { opacity: 1 !important; transform: none !important; }
  .tx-drawer__panel, .tx-alt, .tx-quick, .tx-kanji { transition: none !important; }
}

/* Kopf-Knopf: Kadence setzt Groessen fuer Buttons/SVGs im Header - hier fest */
.site-header .tx-korb,
#mobile-header .tx-korb {
  width: 44px !important; height: 44px !important; min-width: 44px !important;
  padding: 0 !important; background: transparent !important; border: 0 !important;
  box-shadow: none !important; color: var(--tx-ink) !important; line-height: 0 !important;
}
.site-header .tx-korb svg,
#mobile-header .tx-korb svg { width: 24px !important; height: 24px !important; display: block !important; }
.site-header .tx-korb .tx-korb__n { line-height: 18px !important; }

/* Poster (Wall Art): keine Vorder-/Rückseite – Bildlabel ausblenden (24.10.2026) */
.product_cat-wall-art .torii-img-label { display: none; }
