/* Torii Seiten (22.10.2026) - Selektoren immer mit body.: die Klasse "page"
 * steht auch am <article>, sonst greifen :not(.page-id-..)-Ausnahmen dort.
 * Torii Seiten (22.10.2026): alle normalen Seiten im Stil des Startseiten-Heros.
 * Dunkler Kopf mit roter Kante, japanischer Zeile und Umriss-Schriftzeichen,
 * darunter ruhige Lesespalte. Japanische Zeile + Zeichen je Seite per page-id
 * (unten). Die Texte selbst bleiben unveraendert.
 */
:root {
  --pg-ink: #0A0A0A;
  --pg-red: #DC2626;
  --pg-card: #F3F1EE;
  --pg-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Logo ueberall gleich gross (vorher 38 px auf Seiten, groesser im Shop) */
.site-header .custom-logo {
  height: 56px !important;
  width: auto !important;
  max-height: none !important;
}
@media (max-width: 768px) {
  .site-header .custom-logo { height: 44px !important; }
}

/* ============================================================
   SEITENKOPF
   ============================================================ */
body.page:not(.home) .entry-hero.page-hero-section {
  position: relative;
  overflow: hidden;
  background: var(--pg-ink) !important;
  border-top: 4px solid var(--pg-red);
  margin-bottom: clamp(36px, 5vw, 64px);
}
body.page:not(.home) .entry-hero.page-hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .07;
  background-image: var(--pg-noise);
}
body.page:not(.home) .entry-hero .entry-hero-container-inner {
  background: transparent !important;
}
body.page:not(.home) .entry-hero .entry-header {
  position: relative;
  z-index: 1;
  min-height: clamp(200px, 26vw, 320px) !important;
  padding: clamp(36px, 5vw, 64px) 0 !important;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start !important;
  text-align: left !important;
}
body.page:not(.home) .entry-hero .entry-header::before {
  content: "日本のストリートウェア";
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .35em;
  color: var(--pg-red);
  margin-bottom: 14px;
}
/* Grosses Umriss-Zeichen rechts, wie das 鬼 im Startseiten-Hero */
body.page:not(.home) .entry-hero .entry-header::after {
  content: "鳥居";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(110px, 16vw, 230px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .2);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
body.page:not(.home) .entry-hero .entry-title {
  font-family: "Bebas Neue", sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(52px, 7.5vw, 112px) !important;
  line-height: .9 !important;
  letter-spacing: .01em !important;
  color: #fff !important;
  margin: 0 !important;
  position: relative;
  z-index: 1;
  max-width: 70%;
}
@media (max-width: 768px) {
  body.page:not(.home) .entry-hero .entry-header::after { opacity: .6; right: -6%; }
  body.page:not(.home) .entry-hero .entry-title { max-width: 100%; }
}

/* Japanische Zeile + Zeichen je Seite */
body.page-id-5070:not(.home) .entry-hero .entry-header::before { content: "私たちについて"; }
body.page-id-5070:not(.home) .entry-hero .entry-header::after  { content: "鳥居"; }
body.page-id-17:not(.home)   .entry-hero .entry-header::before { content: "配送について"; }
body.page-id-17:not(.home)   .entry-hero .entry-header::after  { content: "配送"; }
body.page-id-1118:not(.home) .entry-hero .entry-header::before { content: "お支払い方法"; }
body.page-id-1118:not(.home) .entry-hero .entry-header::after  { content: "支払"; }
body.page-id-16:not(.home)   .entry-hero .entry-header::before { content: "撤回権"; }
body.page-id-16:not(.home)   .entry-hero .entry-header::after  { content: "撤回"; }
body.page-id-15:not(.home)   .entry-hero .entry-header::before { content: "利用規約"; }
body.page-id-15:not(.home)   .entry-hero .entry-header::after  { content: "規約"; }
body.page-id-14:not(.home)   .entry-hero .entry-header::before { content: "プライバシーポリシー"; }
body.page-id-14:not(.home)   .entry-hero .entry-header::after  { content: "保護"; }
body.page-id-13:not(.home)   .entry-hero .entry-header::before { content: "運営者情報"; }
body.page-id-13:not(.home)   .entry-hero .entry-header::after  { content: "運営"; }
body.page-id-1120:not(.home) .entry-hero .entry-header::before { content: "レビューについて"; }
body.page-id-1120:not(.home) .entry-hero .entry-header::after  { content: "評価"; }
body.page-id-6:not(.home)    .entry-hero .entry-header::before { content: "ショッピングカート"; }
body.page-id-6:not(.home)    .entry-hero .entry-header::after  { content: "籠"; }
body.page-id-7:not(.home)    .entry-hero .entry-header::before { content: "お会計"; }
body.page-id-7:not(.home)    .entry-hero .entry-header::after  { content: "会計"; }
body.page-id-8:not(.home)    .entry-hero .entry-header::before { content: "マイアカウント"; }
body.page-id-8:not(.home)    .entry-hero .entry-header::after  { content: "会員"; }

/* FAQ hat seinen Kopf im Inhalt: auf volle Breite ziehen, gleiche Kante */
body.page-id-5102 .torii-faq-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 4px solid var(--pg-red);
  position: relative;
}
body.page-id-5102 .torii-faq-hero::after {
  content: "質問";
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(110px, 16vw, 230px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .2);
  pointer-events: none;
}
body.page:not(.home) .site { overflow-x: clip; }
body.page-id-5102 .content-area { margin-top: 0 !important; }
body.page-id-5102 .entry-content-wrap { padding-top: 0 !important; }

/* ============================================================
   LESESPALTE (Ueber uns, Rechtstexte, Versand, Zahlungsarten ...)
   Nicht auf Warenkorb/Kasse/Konto - dort braucht WooCommerce die Breite.
   ============================================================ */
body.page:not(.home):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.page-id-5102) .entry-content {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.75;
  color: #333;
}
body.page:not(.home):not(.page-id-6):not(.page-id-7):not(.page-id-8) .entry-content h2 {
  font-family: "Bebas Neue", sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(28px, 3.2vw, 40px) !important;
  line-height: 1 !important;
  letter-spacing: .02em;
  color: var(--pg-ink) !important;
  border-left: 4px solid var(--pg-red);
  padding-left: 14px;
  margin: 2.2em 0 .7em !important;
}
body.page:not(.home):not(.page-id-6):not(.page-id-7):not(.page-id-8) .entry-content h3 {
  font-family: "Bebas Neue", sans-serif !important;
  font-weight: 400 !important;
  font-size: 24px !important;
  letter-spacing: .03em;
  margin: 1.6em 0 .5em !important;
}
body.page:not(.home):not(.page-id-6):not(.page-id-7):not(.page-id-8) .entry-content > h2:first-child { margin-top: 0 !important; }
body.page:not(.home):not(.page-id-6):not(.page-id-7):not(.page-id-8) .entry-content a:not(.button):not(.th-btn) {
  color: var(--pg-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--pg-red);
}
body.page:not(.home):not(.page-id-6):not(.page-id-7):not(.page-id-8) .entry-content a:not(.button):not(.th-btn):hover { color: var(--pg-red); }
body.page:not(.home):not(.page-id-6):not(.page-id-7):not(.page-id-8):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content ul:not(.products) {
  list-style: none;
  padding-left: 0;
}
body.page:not(.home):not(.page-id-6):not(.page-id-7):not(.page-id-8):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content ul:not(.products) > li {
  position: relative;
  padding-left: 22px;
  margin: .35em 0;
}
body.page:not(.home):not(.page-id-6):not(.page-id-7):not(.page-id-8):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content ul:not(.products) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  background: var(--pg-red);
  border-radius: 50%;
}
body.page:not(.home) .entry-content table:not(.shop_table):not(.torii-faq-table) {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 15px;
}
body.page:not(.home) .entry-content table:not(.shop_table):not(.torii-faq-table) th {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: .08em;
  font-size: 17px;
  text-align: left;
  border-bottom: 2px solid var(--pg-ink);
  padding: 10px 12px 8px 0;
}
body.page:not(.home) .entry-content table:not(.shop_table):not(.torii-faq-table) td {
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 12px 10px 0;
}

/* Ueber uns: Einleitung groesser, Abschlusszeile als Stempel */
body.page-id-5070 .entry-content > p:first-child {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  color: var(--pg-ink);
}
body.page-id-5070 .entry-content > p:last-child em {
  display: inline-block;
  font-style: normal;
  border-left: 4px solid var(--pg-red);
  background: var(--pg-card);
  padding: 12px 16px;
}

/* Zahlungsarten: Logos waren riesig (Klarna-Bild in voller Breite) */
body.page-id-1118 .entry-content img {
  max-height: 34px !important;
  width: auto !important;
  display: inline-block !important;
  vertical-align: middle;
  margin: 4px 0 !important;
}
body.page-id-1118 .entry-content ul > li {
  background: var(--pg-card);
  padding: 14px 16px 14px 34px;
  margin: 8px 0;
}
body.page-id-1118 .entry-content ul > li::before { left: 14px; top: 1.45em; }
body.page-id-1118 .entry-content > div,
body.page-id-1118 .entry-content [class*="payment"] {
  border: 0 !important;
  box-shadow: none !important;
}

/* Warenkorb / Kasse / Konto: Buttons wie im Hero */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order,
.woocommerce-account .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-Button,
.woocommerce-cart .return-to-shop .button {
  background: var(--pg-red) !important;
  border: 2px solid var(--pg-red) !important;
  color: #fff !important;
  font-family: "Bebas Neue", sans-serif !important;
  letter-spacing: .14em !important;
  font-size: 18px !important;
  border-radius: 0 !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce-account .woocommerce-form-login__submit:hover {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
}
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
  border: 0 !important;
  background: var(--pg-card) !important;
  border-radius: 0 !important;
  padding: clamp(20px, 3vw, 36px) !important;
}

/* Nachtraege 22.10.2026 */
/* Handy: Umriss-Zeichen hinter den Titel, nicht darueber */
@media (max-width: 768px) {
  body.page:not(.home) .entry-hero .entry-header::after {
    opacity: .35; top: auto; bottom: -8%; transform: none; font-size: 120px;
  }
}
/* Japanische Zeichen im Fliesstext (z. B. kursiv) brauchen eine JP-Schrift als Ausweich */
body.page:not(.home) .entry-content { font-family: "DM Sans", "Noto Sans JP", sans-serif; }

/* Zahlungsarten: WooCommerce-Liste sass rechts (Float/Breite aus dem Checkout-Stil) */
body.page-id-1118 .entry-content .payment_methods {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
}
body.page-id-1118 .entry-content .payment_methods li label {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 12px;
}
body.page-id-1118 .entry-content .payment_box:empty,
body.page-id-1118 .entry-content .payment_box p:empty { display: none !important; }
body.page-id-1118 .entry-content .payment_box { background: transparent !important; padding: 4px 0 0 !important; margin: 0 !important; }
body.page-id-1118 .entry-content .payment_box::before { display: none !important; }
body.page-id-1118 .entry-content ul > li::before { display: none !important; }
body.page-id-1118 .entry-content ul > li { border-left: 4px solid var(--pg-red); padding-left: 16px !important; }

/* Handy: lange deutsche Woerter (Widerrufsbelehrung) sauber trennen statt abschneiden */
@media (max-width: 768px) {
  body.page:not(.home) .entry-hero .entry-title {
    font-size: min(11vw, 52px) !important;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  body.page-id-5102 .torii-faq-hero::after { opacity: .3; font-size: 110px; right: -4vw; }
}

/* ============================================================
   SHOP + KATEGORIEN: gleicher dunkler Kopf wie die Seiten (22.10.2026)
   Das sind Produktlisten (body.archive), keine Seiten - eigene Selektoren.
   ============================================================ */
body.archive.woocommerce .entry-hero.product-archive-hero-section {
  position: relative;
  overflow: hidden;
  background: var(--pg-ink) !important;
  border-top: 4px solid var(--pg-red);
  margin-bottom: clamp(28px, 4vw, 48px);
}
body.archive.woocommerce .entry-hero.product-archive-hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .07;
  background-image: var(--pg-noise);
}
body.archive.woocommerce .entry-hero .entry-hero-container-inner { background: transparent !important; }
body.archive.woocommerce .entry-hero .entry-header {
  position: relative;
  z-index: 1;
  min-height: clamp(200px, 26vw, 320px) !important;
  padding: clamp(36px, 5vw, 64px) 0 !important;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start !important;
  text-align: left !important;
}
body.archive.woocommerce .entry-hero .entry-header::before {
  content: "日本のストリートウェア";
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .35em;
  color: var(--pg-red);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
body.archive.woocommerce .entry-hero .entry-header::after {
  content: "商品";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(110px, 16vw, 230px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .2);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
/* Die Kicker-Zeile sitzt jetzt am Header, nicht mehr in der H1 (aus torii-v3.css) */
body.archive.woocommerce .archive-title::before { display: none !important; }
body.archive.woocommerce .entry-hero .archive-title {
  font-family: "Bebas Neue", sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(52px, 7.5vw, 112px) !important;
  line-height: .9 !important;
  color: #fff !important;
  margin: 0 !important;
  position: relative;
  z-index: 1;
  max-width: 70%;
}
body.archive.woocommerce .entry-hero .archive-description {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 18px 0 0 !important;
  color: #cfcfcf !important;
  font-size: 15px;
  line-height: 1.6;
  text-align: left !important;
}
body.archive.woocommerce .entry-hero .archive-description p { color: inherit !important; margin: 0; }
@media (max-width: 768px) {
  body.archive.woocommerce .entry-hero .entry-header::after { opacity: .35; top: auto; bottom: -8%; transform: none; font-size: 120px; right: -6%; }
  body.archive.woocommerce .entry-hero .archive-title { max-width: 100%; font-size: min(13vw, 60px) !important; }
}
/* Zeichen je Kategorie */
body.archive.woocommerce.post-type-archive-product .entry-hero .entry-header::before { content: "オンラインショップ"; }
body.archive.woocommerce.term-35 .entry-hero .entry-header::after  { content: "半袖"; }
body.archive.woocommerce.term-36 .entry-hero .entry-header::after  { content: "上着"; }
body.archive.woocommerce.term-150 .entry-hero .entry-header::after,
body.archive.woocommerce.term-152 .entry-hero .entry-header::after,
body.archive.woocommerce.term-153 .entry-hero .entry-header::after { content: "ジップ"; }
body.archive.woocommerce.term-151 .entry-hero .entry-header::after { content: "ズボン"; }
