/*
Theme Name: Hayashi Shop FR
Theme URI: https://www.hayashishop.fr
Description: Custom WooCommerce-thema voor HayashiShop FR naar het Claude Design-redesign. Zwart/crème/Hayashi-rood, condensed uppercase headings. Werkt samen met de hayashi-b2b plugin (zoekbalk, FR/EN-switcher, B2B-prijzen).
Author: HayashiShop FR
Version: 1.0.1
Requires PHP: 7.4
Text Domain: hayashi-theme
*/

:root {
    --hy-black: #0e0e0e;
    --hy-dark: #1a1a1a;
    --hy-red: #c8102e;
    --hy-red-dark: #a30d26;
    --hy-cream: #f5f4ef;
    --hy-paper: #faf9f5;
    --hy-white: #ffffff;
    --hy-grey: #666;
    --hy-border: #e4e2db;
    --hy-max: 1200px;
    --hy-head: 'Oswald', 'Arial Narrow', sans-serif;
    --hy-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--hy-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--hy-black);
    background: var(--hy-white);
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, .hy-heading {
    font-family: var(--hy-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.hy-container { max-width: var(--hy-max); margin: 0 auto; padding: 0 24px; }

/* ── Topbar ── */
.hy-topbar { background: var(--hy-black); color: #ddd; font-size: 12px; }
.hy-topbar .hy-container { display: flex; justify-content: center; gap: 48px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.hy-topbar span { white-space: nowrap; }

/* ── Header ── */
.hy-header { background: var(--hy-white); border-bottom: 1px solid var(--hy-border); position: sticky; top: 0; z-index: 900; }
.site-main-header-inner-wrap { display: flex; align-items: center; gap: 20px; max-width: var(--hy-max); margin: 0 auto; padding: 14px 24px; flex-wrap: wrap; }
.hy-logo { order: 1; display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.hy-logo .hy-logo-word { font-family: var(--hy-head); font-weight: 700; font-size: 28px; color: var(--hy-red); letter-spacing: 1px; }
.hy-logo .hy-logo-sub { font-size: 9px; letter-spacing: 3px; color: var(--hy-black); text-transform: uppercase; margin-top: 2px; }
.hy-logo img { max-height: 56px; width: auto; }
.hy-logo-footer { background: #fff; padding: 10px 14px; display: inline-block; border-radius: 4px; }
.hy-logo-footer img { max-height: 72px; }
.hy-nav { order: 2; display: flex; gap: 22px; flex-wrap: wrap; }
.hy-nav a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--hy-black); padding: 6px 0; border-bottom: 2px solid transparent; }
.hy-nav a:hover { color: var(--hy-red); border-bottom-color: var(--hy-red); }
#hayashi-header-search { order: 3; margin-left: auto; }
.hy-header-icons { order: 4; display: flex; align-items: center; gap: 14px; }
.hy-header-icons a { text-decoration: none; font-size: 20px; line-height: 1; position: relative; color: var(--hy-black); }
.hy-cart-count { position: absolute; top: -8px; right: -10px; background: var(--hy-red); color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
#hayashi-header-lang { order: 5; }
@media (max-width: 1024px) {
    .hy-nav { order: 5; flex-basis: 100%; gap: 16px; }
    #hayashi-header-search { order: 6; flex-basis: 100%; margin: 4px 0 0 0; max-width: 100%; }
}

/* ── Hero ── */
.hy-hero { background: var(--hy-black); color: var(--hy-white); }
.hy-hero .hy-container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hy-hero-badge { display: inline-block; background: var(--hy-red); color: #fff; font-family: var(--hy-head); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; margin-bottom: 20px; }
.hy-hero h1 { font-size: clamp(42px, 6vw, 72px); margin: 0 0 18px 0; color: #fff; }
.hy-hero p { color: #cfcfcf; max-width: 420px; margin: 0 0 28px 0; }
.hy-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hy-btn { display: inline-block; font-family: var(--hy-head); text-transform: uppercase; letter-spacing: 1px; font-size: 14px; font-weight: 600; padding: 13px 26px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .15s, color .15s; }
.hy-btn-red { background: var(--hy-red); color: #fff !important; }
.hy-btn-red:hover { background: var(--hy-red-dark); }
.hy-btn-outline { border-color: #fff; color: #fff !important; background: transparent; }
.hy-btn-outline:hover { background: #fff; color: var(--hy-black) !important; }
.hy-btn-dark { background: var(--hy-black); color: #fff !important; }
.hy-btn-dark:hover { background: #333; }
.hy-hero-visual { position: relative; }
.hy-hero-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; background: #2b2b2b; display: block; }
.hy-hero-visual::after { content: ""; position: absolute; left: -32px; bottom: -32px; width: 96px; height: 96px; background: var(--hy-red); }
@media (max-width: 860px) {
    .hy-hero .hy-container { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
    .hy-hero-visual::after { display: none; }
}

/* ── Secties ── */
.hy-section { padding: 64px 0; }
.hy-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.hy-section-head h2 { font-size: clamp(26px, 3.5vw, 38px); margin: 0; }
.hy-section-link { font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--hy-red); padding-bottom: 2px; }
.hy-section-link:hover { color: var(--hy-red); }

/* Categorie-tegels */
.hy-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hy-cat-card { text-decoration: none; display: block; }
.hy-cat-card .hy-cat-img { background: var(--hy-cream); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hy-cat-card img { width: 85%; height: 85%; object-fit: contain; transition: transform .2s; }
.hy-cat-card:hover img { transform: scale(1.05); }
.hy-cat-card h3 { font-size: 19px; margin: 14px 0 0 0; }
.hy-cat-card:hover h3 { color: var(--hy-red); }
@media (max-width: 860px) { .hy-cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* Productkaarten (homepage + WooCommerce loops) */
.hy-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hy-prod-card { text-decoration: none; display: block; position: relative; }
.hy-prod-card .hy-prod-img { background: var(--hy-cream); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hy-prod-card img { width: 85%; height: 85%; object-fit: contain; transition: transform .2s; }
.hy-prod-card:hover img { transform: scale(1.05); }
.hy-badge-wkf { position: absolute; top: 10px; left: 10px; background: var(--hy-black); color: #fff; font-family: var(--hy-head); font-size: 11px; letter-spacing: 1px; padding: 4px 9px; z-index: 2; }
.hy-prod-type { font-size: 12px; color: var(--hy-grey); margin-top: 12px; }
.hy-prod-card h3 { font-size: 16px; margin: 4px 0 6px 0; }
.hy-prod-card:hover h3 { color: var(--hy-red); }
.hy-prod-price { font-family: var(--hy-head); font-size: 17px; font-weight: 700; }
.hy-prod-price del { color: #999; font-weight: 400; margin-right: 6px; }
.hy-prod-price ins { text-decoration: none; }
@media (max-width: 860px) { .hy-prod-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* Club-band */
.hy-club { background: var(--hy-red); color: #fff; }
.hy-club .hy-container { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.hy-club h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 10px 0; color: #fff; }
.hy-club p { margin: 0; max-width: 460px; color: #ffd9de; }

/* USP-rij */
.hy-usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.hy-usp { border-top: 2px solid var(--hy-black); padding-top: 14px; }
.hy-usp h3 { font-size: 15px; margin: 0 0 6px 0; }
.hy-usp p { font-size: 13px; color: var(--hy-grey); margin: 0; }
@media (max-width: 860px) { .hy-usp-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Footer ── */
.hy-footer { background: var(--hy-black); color: #bbb; margin-top: 64px; font-size: 14px; }
.hy-footer .hy-container { padding-top: 56px; padding-bottom: 32px; }
.hy-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid #333; }
.hy-footer h3 { color: #fff; font-size: 15px; margin: 0 0 14px 0; }
.hy-footer ul { list-style: none; margin: 0; padding: 0; }
.hy-footer li { margin-bottom: 8px; }
.hy-footer a { color: #bbb; text-decoration: none; }
.hy-footer a:hover { color: #fff; }
.hy-footer .hy-logo .hy-logo-sub { color: #999; }
.hy-newsletter-form { display: flex; margin-top: 4px; }
.hy-newsletter-form input[type=email] { flex: 1; padding: 10px 12px; border: 1px solid #444; background: #1c1c1c; color: #fff; border-radius: 0; font-size: 14px; }
.hy-newsletter-form button { padding: 10px 18px; background: #fff; color: var(--hy-black); border: 0; font-weight: 700; font-family: var(--hy-head); text-transform: uppercase; letter-spacing: 1px; cursor: pointer; }
.hy-newsletter-form button:hover { background: var(--hy-red); color: #fff; }
.hy-newsletter-ok { color: #8f8; font-size: 13px; margin-top: 8px; }
.hy-footer-legal { display: flex; gap: 24px; padding-top: 20px; font-size: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .hy-footer-grid { grid-template-columns: 1fr 1fr; } }

/* ── Content / WooCommerce binnenpagina's ── */
.hy-content { max-width: var(--hy-max); margin: 0 auto; padding: 32px 24px 64px; }
.hy-content h1.page-title, .hy-content h1.entry-title { font-size: clamp(28px, 4vw, 42px); }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button,
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button,
.woocommerce #respond input#submit, .wp-element-button, button[type=submit] {
    background: var(--hy-red) !important; color: #fff !important; border-radius: 0 !important;
    font-family: var(--hy-head); text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}
.woocommerce .button:hover, .woocommerce a.button:hover { background: var(--hy-red-dark) !important; }
.woocommerce ul.products li.product { text-align: left; }
.woocommerce ul.products li.product a img { background: var(--hy-cream); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--hy-head); font-size: 16px; text-transform: uppercase; }
.woocommerce ul.products li.product .price { font-family: var(--hy-head); font-weight: 700; color: var(--hy-black); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--hy-black); font-family: var(--hy-head); font-size: 24px; }
.woocommerce div.product .product_title { font-family: var(--hy-head); text-transform: uppercase; }
.woocommerce-breadcrumb, .hayashi-breadcrumbs { font-size: 13px; color: #888; }
.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--hy-red); color: #fff; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--hy-red); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--hy-red); }
