/* ── Page Tanto Japonais (ID 6590) ────────────────────────────────────── */
/* Le thème (abisko) définit une échelle Hn globale énorme dans theme.json
   (H1:160px / H2:90px / H3:56px / H4:48px). Tous les titres de cette page
   reçoivent donc une taille personnalisée ci-dessous pour ne PAS hériter
   de cette échelle, tout en restant des Hn sémantiques (SEO). */

/* H1 "Tanto Japonais Artisanal" (rendu par le template via wp:post-title) */
h1.wp-block-post-title {
    font-size: 56px !important;
}
@media (max-width: 600px) {
    h1.wp-block-post-title {
        font-size: 34px !important;
    }
}

/* Kicker japonais en haut de page */
.tanto-kicker {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--wp--preset--color--primary);
}
.tanto-kicker-jp {
    font-size: 20px;
    letter-spacing: 0.06em;
    color: var(--wp--preset--color--foreground);
    text-transform: none;
}

/* Titre de section "Tanto disponibles" */
.tanto-section-heading {
    text-align: center;
    text-transform: lowercase;
    font-size: 30px !important;
}
@media (max-width: 600px) {
    .tanto-section-heading {
        font-size: 22px !important;
    }
}

/* Titres de section article H2 (Qu'est-ce qu'un tanto..., Couteau tanto..., etc.) */
h2.tanto-h2-section {
    font-size: 32px !important;
}
@media (max-width: 600px) {
    h2.tanto-h2-section {
        font-size: 24px !important;
    }
}

/* Sous-titres article H3 */
h3.tanto-h3-sub {
    font-family: "Lora", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 21px !important;
}
@media (max-width: 600px) {
    h3.tanto-h3-sub {
        font-size: 18px !important;
    }
}

/* Sous-sous-titres H4 (le bois / façonnage / collage / finition) */
h4.tanto-h4-sub {
    font-size: 12.5px !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--wp--preset--color--primary);
}

/* Questions FAQ H3 */
h3.tanto-h3-faq {
    font-family: inherit;
    font-style: normal !important;
    font-weight: 500;
    font-size: 16.5px !important;
}

/* Sommaire (TOC) */
.tanto-toc {
    max-width: 720px;
    margin: 56px auto 0;
    padding: 32px 40px;
    border: 1px solid #e6e6e8;
}
.tanto-toc-kicker {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--wp--preset--color--primary);
    margin: 0 0 18px 0;
}
.tanto-toc-list {
    margin: 0;
    padding-left: 1.2em;
}
.tanto-toc-list li {
    padding: 6px 0;
    font-size: 15.5px;
}
.tanto-toc-list a {
    color: var(--wp--preset--color--foreground);
    text-decoration: none;
}
.tanto-toc-list a:hover {
    color: var(--wp--preset--color--primary);
}

/* Images d'article (largeur de colonne de lecture, 760px) */
.tanto-article-image {
    max-width: 760px;
    margin: 72px auto;
}
.tanto-article-image img {
    width: 100%;
    height: auto;
}
.tanto-article-image-pair {
    max-width: 760px;
    margin: 72px auto !important;
    gap: 16px;
}
.tanto-article-image-pair img {
    width: 100%;
    height: auto;
}
@media (max-width: 900px) {
    .tanto-article-image-pair {
        grid-template-columns: 1fr !important;
    }
}

/* ── Bloc produit (spotlight) ─────────────────────────────────────────── */
.tanto-spotlight-wrap {
    max-width: 1200px;
    margin: 56px auto 0;
    padding: 0 24px;
}
.tanto-spotlight {
    align-items: flex-start !important;
}

/* Galerie : image carrée max 420px + 7 vignettes en ligne (au lieu du rail
   vertical par défaut du bloc WooCommerce, non conforme au design) */
.tanto-gallery-col .wc-block-product-gallery {
    max-width: 420px;
    flex-direction: column-reverse !important;
}
.tanto-gallery-col .wc-block-product-gallery-large-image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.tanto-gallery-col .wc-block-product-gallery-thumbnails {
    --wc-block-product-gallery-thumbnails-size: 14.2857 !important;
}

/* Fiche d'achat : encadré */
.tanto-buy {
    border: 1px solid #e6e6e8;
    background: #fff;
    padding: 36px;
}
.tanto-buy h2.wp-block-post-title {
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    font-size: 22px !important;
    line-height: 1.25;
    margin: 0 0 14px 0;
}
.tanto-buy .wp-block-woocommerce-product-price {
    font-family: "Shippori Mincho", serif;
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 20px 0;
}
.tanto-buy-spec {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-top: 1px solid #e6e6e8;
    border-bottom: 1px solid #e6e6e8;
    font-size: 13.5px;
}
.tanto-buy-cta .wp-block-button__link {
    width: 100%;
    text-align: center;
    background: var(--wp--preset--color--foreground);
    color: var(--wp--preset--color--background);
    border-radius: 0;
    padding: 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .tanto-spotlight {
        grid-template-columns: 1fr !important;
    }
}

/* Note FAQ */
.tanto-faq-note {
    font-style: italic;
    font-size: 14px;
    color: var(--wp--preset--color--primary);
    margin: 0 0 24px 0;
}
