/*
 * Purrshido — Design Refresh
 * Großzügigeres Spacing, nur Noto Sans JP, bessere Typografie.
 * Wird nach theme.css und shop.css geladen.
 */

/* ── Variablen überschreiben ─────────────────────────────────────────────── */

:root {
    /* Schriften — nur Noto Sans JP, keine Serifen */
    --font-primary:       'Noto Sans JP', system-ui, sans-serif;
    --font-secondary:     'Noto Sans JP', system-ui, sans-serif;

    /* Größen — etwas großzügiger */
    --font-size-base:     17px;
    --font-size-sm:       15px;
    --font-size-lg:       22px;
    --font-size-xl:       36px;
    --line-height-base:   1.7;

    /* Abstände — mehr Luft */
    --spacing-xs:         6px;
    --spacing-sm:         12px;
    --spacing-md:         20px;
    --spacing-lg:         40px;
    --spacing-xl:         80px;

    /* Container etwas breiter atmen lassen */
    --container-padding:  32px;

    /* Header etwas höher */
    --header-height:      80px;

    /* Karten */
    --product-card-radius: 6px;
    --product-card-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* ── Typografie — Überschriften ──────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 34px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 18px; }

p {
    line-height: var(--line-height-base);
    margin: 0 0 var(--spacing-md);
}

/* ── Navigation ──────────────────────────────────────────────────────────── */

.primary-menu > li > a {
    font-size: 14px;
    letter-spacing: .04em;
    padding: 6px 14px;
}

/* ── Archiv-Seite ─────────────────────────────────────────────────────────── */

.archive-page-title {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: -.03em;
    margin: 32px 0 24px;
}

/* ── Produktkarten ───────────────────────────────────────────────────────── */

.product-card {
    border-radius: var(--product-card-radius);
}

.product-card-body {
    padding: 16px 18px 20px;
    gap: 8px;
}

.product-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.01em;
}

.product-card-price {
    font-size: 16px;
    font-weight: 700;
    margin-top: 4px;
}

.product-card-price del {
    font-size: 13px;
}

/* Grid — etwas mehr Abstand zwischen Karten */
.products-grid {
    gap: 28px;
}

/* ── Single Produkt ──────────────────────────────────────────────────────── */

.product_title.entry-title {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text-muted);
}

.woocommerce-product-details__short-description p {
    font-size: inherit;
    line-height: inherit;
}

/* Preis auf Produktseite */
.summary .price {
    font-size: 26px !important;
    font-weight: 800 !important;
    letter-spacing: -.02em;
    margin-bottom: 20px !important;
}

.summary .price del {
    font-size: 18px !important;
    font-weight: 400 !important;
    opacity: .5;
    margin-right: 6px;
}

/* Variations label */
.variations th.label {
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 700;
    padding-right: 20px;
}

/* Add to cart button */
.single_add_to_cart_button {
    font-size: 15px !important;
    padding: 16px 32px !important;
    letter-spacing: .06em !important;
    border-radius: var(--btn-radius) !important;
    font-weight: 700 !important;
}

/* Tabs */
.sp-tabs-section .woocommerce-tabs ul.tabs li a {
    font-size: 13px;
    letter-spacing: .05em;
    padding: 14px 20px;
}

/* Tab content */
.woocommerce-Tabs-panel {
    font-size: 16px;
    line-height: 1.75;
    padding: 28px 0;
}

/* ── Buttons global ──────────────────────────────────────────────────────── */

.btn,
.button,
button.wp-element-button,
input[type="submit"] {
    font-size: 14px;
    letter-spacing: .05em;
    padding: 13px 26px;
    border-radius: var(--btn-radius);
    font-family: var(--font-primary);
    font-weight: 700;
}

/* ── Filter Bar ──────────────────────────────────────────────────────────── */

.ftoolbar {
    padding: 16px 0;
    margin-bottom: 4px;
}

.ftoolbar-toggle {
    font-size: 13px;
    height: 40px;
    padding: 0 20px;
    letter-spacing: .05em;
}

.fsection-head {
    font-size: 12px;
    padding: 18px 24px;
}

.fopt {
    font-size: 14px;
    padding: 10px 24px;
}

/* ── WooCommerce globale Overrides ───────────────────────────────────────── */

/* Breadcrumb */
.woocommerce-breadcrumb {
    font-size: 13px;
    margin-bottom: 24px !important;
    color: var(--color-text-muted);
    letter-spacing: .02em;
}

/* Pagination */
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    font-size: 14px;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    font-size: 15px;
    padding: 16px 20px 16px 56px;
}

/* ── Cart / Checkout ─────────────────────────────────────────────────────── */

.woocommerce-cart table.cart td,
.woocommerce-cart table.cart th {
    font-size: 15px;
    padding: 20px 16px;
}

.cart-collaterals .cart_totals h2 {
    font-size: 18px;
    letter-spacing: -.01em;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
    font-size: 14px;
    line-height: 1.7;
}

/* ── Badges ──────────────────────────────────────────────────────────────── */

.badge {
    font-size: 10px;
    letter-spacing: .06em;
    padding: 4px 10px;
}

/* ── Forms ────────────────────────────────────────────────────────────────── */

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="password"],
input[type="search"],
select,
textarea {
    font-size: 15px;
    font-family: var(--font-primary);
    padding: 12px 16px;
    border-radius: 3px;
}

label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
}

/* ── Swatch Pills (Größen) ────────────────────────────────────────────────── */

.us-swatch {
    font-size: 13px;
    min-width: 48px;
    height: 44px;
    padding: 0 16px;
    letter-spacing: .04em;
}

.us-swatch-color {
    width: 36px;
    height: 36px;
    min-width: 36px;
}

/* ── Size Guide Modal ────────────────────────────────────────────────────── */

.us-sg-title {
    font-size: 16px;
}

.us-sg-tab {
    font-size: 14px;
    padding: 14px 20px;
}

.us-sg-label {
    font-size: 13px;
}

.us-sg-input {
    font-size: 16px;
    padding: 12px 14px;
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    :root {
        --font-size-base:   16px;
        --font-size-sm:     14px;
        --container-padding: 16px;
        --spacing-lg:       28px;
    }

    .products-grid {
        gap: 16px;
    }

    .product-card-body {
        padding: 12px 14px 16px;
    }
}
