/*
 * PaintEasy Japan (paintezshop.jp) — Dedicated Japanese Editorial Gallery Aesthetic
 * Palette: Washi Off-White (#faf8f4), Sumi Ink (#1e2220), Aizome Indigo (#1c3557), Vermilion Accent (#b64636)
 * Typography: Shippori Mincho (Display) + Noto Sans JP (UI & Body)
 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Shippori+Mincho:wght@500;600;700&display=swap');

body.pe-market-jp {
  --pe-navy: #1c3557;
  --pe-navy-deep: #14263f;
  --pe-navy-mid: #274772;
  --pe-gold: #b64636;
  --pe-gold-hover: #9a3729;
  --pe-blue: #1c3557;
  --pe-bg: #faf8f4;
  --pe-surface: #ffffff;
  --pe-text: #1f2321;
  --pe-muted: #626864;
  --pe-border: #e7e2d9;
  --pe-radius: 6px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  letter-spacing: 0.03em;
  background: var(--pe-bg);
  color: var(--pe-text);
  font-variant-numeric: tabular-nums;
}

/* Announcement — quiet, refined sumi strip */
body.pe-market-jp .pe-announcement {
  background: #1f2321;
  color: #f3efe8;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 8px 16px;
}

/* Header — crisp gallery white with hairline border */
body.pe-market-jp .pe-header {
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(8px);
  color: var(--pe-text);
  border-bottom: 1px solid var(--pe-border);
}
body.pe-market-jp .pe-logo img {
  height: 42px;
  width: auto;
  filter: none;
  background: transparent;
  padding: 0;
}
body.pe-market-jp .pe-logo-badge {
  background: transparent;
  color: #b64636;
  border: 1px solid #b64636;
  border-radius: 3px;
  font-weight: 700;
}
body.pe-market-jp .pe-nav a,
body.pe-market-jp .pe-nav a.pe-nav-hot,
body.pe-market-jp .pe-nav a.pe-nav-gold {
  color: var(--pe-text);
  font-weight: 500;
  font-size: 13.5px;
}
body.pe-market-jp .pe-nav a:hover {
  color: #b64636;
}
body.pe-market-jp .pe-search-form {
  background: #fff;
  border: 1px solid #d8d1c5;
  border-radius: 4px;
}
body.pe-market-jp .pe-search-form button {
  background: #1c3557;
  padding: 0 14px;
}
body.pe-market-jp .pe-cart-link {
  background: #fff;
  color: var(--pe-text);
  border: 1px solid #d8d1c5;
  border-radius: 4px;
  font-weight: 500;
}
body.pe-market-jp .pe-cart-link:hover {
  border-color: #1c3557;
  background: #f3efe8;
}
body.pe-market-jp .pe-cart-badge {
  background: #b64636;
  color: #fff;
}

/* Circular category bar — soft washi gallery strip */
body.pe-market-jp .pe-discover {
  background: #f3efe8;
  border-bottom: 1px solid var(--pe-border);
  padding: 14px 0;
}
body.pe-market-jp .pe-discover-item {
  color: #2c312e;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}
body.pe-market-jp .pe-discover-item:hover {
  color: #b64636;
}
body.pe-market-jp .pe-discover-thumb {
  width: 56px;
  height: 56px;
  border: 1.5px solid #d6cec0;
  box-shadow: 0 2px 8px rgba(31, 35, 33, 0.08);
  background: #fff;
}

/* Hero — Refined Japanese Gallery Editorial Opening */
body.pe-market-jp .pe-hero {
  background-color: #f3efe8;
  background-image:
    linear-gradient(90deg, rgba(250, 248, 244, 0.96) 0%, rgba(250, 248, 244, 0.88) 44%, rgba(250, 248, 244, 0.25) 75%, rgba(250, 248, 244, 0.05) 100%),
    url('https://cdn.shopify.com/s/files/1/0697/2470/0862/files/painteasy-hero-starry-night-v5.png?v=1792491849&width=1600');
  background-size: cover;
  background-position: center right;
  color: #1f2321;
  padding: 78px 0 72px;
  border-bottom: 1px solid var(--pe-border);
}
body.pe-market-jp .pe-rating-pill {
  color: #8c5a2b;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
body.pe-market-jp .pe-hero h1 {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.42;
  color: #1a1e1c;
  text-shadow: none;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  margin-bottom: 18px;
}
body.pe-market-jp .pe-hero-sub {
  color: #444a46;
  font-size: 15px;
  line-height: 1.8;
  max-width: 500px;
}
body.pe-market-jp .pe-btn {
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 13px 24px;
}
body.pe-market-jp .pe-btn-primary {
  background: #1c3557;
  color: #fff;
}
body.pe-market-jp .pe-btn-primary:hover {
  background: #13253e;
}
body.pe-market-jp .pe-btn-outline {
  background: rgba(255, 255, 255, 0.85);
  color: #1f2321;
  border: 1px solid #bfb6a6;
}
body.pe-market-jp .pe-btn-outline:hover {
  background: #fff;
  border-color: #1c3557;
}

/* Trust Strip — clean light Japanese reassurance bar */
body.pe-market-jp .pe-trust-strip {
  background: #fff;
  color: #1f2321;
  border-top: none;
  border-bottom: 1px solid var(--pe-border);
  padding: 16px 0;
}
body.pe-market-jp .pe-trust-item {
  color: #1c3557;
  font-size: 13px;
  font-weight: 500;
}
body.pe-market-jp .pe-trust-item span {
  color: #2e3430;
}

/* Section Headings & Gallery Product Cards */
body.pe-market-jp .pe-section-head h2 {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  color: #1a1e1c;
  letter-spacing: 0.05em;
}
body.pe-market-jp .pe-card {
  border-radius: 4px;
  border: 1px solid #e7e2d9;
  background: #fff;
}
body.pe-market-jp .pe-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31, 35, 33, 0.06);
  border-color: #cfc6b6;
}
body.pe-market-jp .pe-card-title {
  font-size: 14px;
  font-weight: 500;
  color: #242926;
}
body.pe-market-jp .pe-card-price {
  color: #1c3557;
  font-weight: 700;
  font-size: 15.5px;
}
body.pe-market-jp .pe-tax-tag {
  font-size: 11px;
  font-weight: 400;
  color: #6b726d;
  margin-left: 3px;
}

/* Custom Photo Banner — refined Aizome indigo card */
body.pe-market-jp .pe-banner {
  background: #1c3557;
  border-radius: 6px;
  box-shadow: none;
}
body.pe-market-jp .pe-banner h2 {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}
body.pe-market-jp .pe-banner .pe-btn-primary {
  background: #faf8f4;
  color: #1c3557;
}
body.pe-market-jp .pe-banner .pe-btn-primary:hover {
  background: #eee9df;
}

/* Footer — quiet charcoal/sumi */
body.pe-market-jp .pe-footer {
  background: #1d211f;
  color: #d6d2ca;
}
body.pe-market-jp .pe-footer h3 {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  letter-spacing: 0.05em;
}
body.pe-market-jp .pe-footer a:hover {
  color: #f0d788;
}

@media (max-width: 960px) {
  body.pe-market-jp .pe-hero {
    background-image:
      linear-gradient(180deg, rgba(250, 248, 244, 0.92) 0%, rgba(250, 248, 244, 0.96) 100%),
      url('https://cdn.shopify.com/s/files/1/0697/2470/0862/files/painteasy-hero-starry-night-v5.png?v=1792491849&width=1600');
    padding: 46px 0 42px;
  }
}
