/*
Theme Name: Mike & Carlos
Theme URI: https://fs.mfakt.com
Author: MFAKT
Author URI: https://mfakt.com
Description: Industrial Precision – ein maßgeschneidertes Theme für Mike & Carlos Signage Workshop. Basierend auf dem Design System "The Master's Workshop" mit Space Grotesk Headlines, Manrope Body und einer industriellen Farbpalette.
Version: 1.0.11
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mike-carlos
Tags: custom-logo, full-width-template, one-column, two-columns, e-commerce
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

:root {
    --mc-primary: #aa3000;
    --mc-primary-container: #d04411;
    --mc-on-primary: #ffffff;
    --mc-secondary: #5f5e5e;
    --mc-tertiary: #79542e;
    --mc-surface: #fcf9f8;
    --mc-surface-container: #f0eded;
    --mc-surface-container-low: #f6f3f2;
    --mc-surface-container-high: #eae7e7;
    --mc-surface-container-highest: #e4e2e1;
    --mc-surface-container-lowest: #ffffff;
    --mc-on-surface: #1b1c1c;
    --mc-on-surface-variant: #5a4139;
    --mc-outline: #8e7068;
    --mc-outline-variant: #e2bfb5;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.asymmetric-bleed {
    margin-right: -10%;
}

.glass-nav {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bg-industrial-texture {
    background-color: #fcf9f8;
    background-image: radial-gradient(#e2bfb5 0.5px, transparent 0.5px);
    background-size: 24px 24px;
}

.industrial-gradient {
    background: linear-gradient(135deg, #aa3000 0%, #d04411 100%);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }
}

/**
 * .container: auf allen Desktop-Breiten max. 1024px (Tailwind CDN setzt xl/2xl sonst höher).
 * !important: Stylesheet lädt vor dem Tailwind-Output im Head.
 */
@media (min-width: 768px) {
    .container {
        max-width: 1024px !important;
    }
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: #fcf9f8;
    min-height: 100dvh;
}

h1, h2, h3, h4, h5, h6, .font-headline {
    font-family: 'Space Grotesk', sans-serif;
}

/* Hero: GSAP 3D-Buchstaben (Würfel-Einblendung) */
.hero-headline {
    perspective: 1100px;
    perspective-origin: 50% 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    row-gap: 0;
}

/* Wort zusammenhalten — sonst umbrechen inline-block-Buchstaben mitten im Wort */
.hero-headline .hero-word {
    white-space: nowrap;
}

.hero-headline .hero-headline-line {
    margin: 0;
    padding: 0;
}

.hero-headline .hero-char-wrap {
    transform-style: preserve-3d;
}

.hero-headline .hero-char {
    transform-style: preserve-3d;
    backface-visibility: visible;
}

.active-step {
    color: #aa3000;
    border-color: #aa3000;
}

input:focus {
    outline: none;
    box-shadow: none;
}

/**
 * Hero Desktop: schmales Portrait (~25–30 % Viewport-Breite), Seitenverhältnis 2:3, hoher Rahmen wie Layout-Skizze.
 */
@media (min-width: 768px) {
    .hero-video-frame {
        width: clamp(15rem, 28vw, 22rem);
        aspect-ratio: 2 / 3;
        height: auto;
        max-height: min(82vh, 720px);
        max-width: 100%;
        min-height: 0;
        align-self: flex-start;
        margin-left: auto;
    }
}

/* WooCommerce Stitch-Shop */
body.mc-shop-stitch-archive .mc-shop-stitch .page-description {
    display: none;
}

body.mc-shop-stitch-archive .mc-shop-stitch ul.products.mc-stitch-product-grid {
    display: grid !important;
    float: none !important;
    clear: both;
    width: 100% !important;
}

body.mc-shop-stitch-archive .mc-shop-stitch ul.products.mc-stitch-product-grid li.product {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    clear: none !important;
    padding: 0 !important;
}

body.mc-shop-stitch-archive .mc-shop-stitch .woocommerce-breadcrumb {
    display: none;
}

body.mc-shop-stitch-archive .mc-shop-stitch .woocommerce-notices-wrapper {
    margin-bottom: 1.5rem;
}

body.mc-shop-stitch-archive .mc-shop-stitch .woocommerce-ordering select {
    font-family: Manrope, sans-serif;
    font-size: 0.875rem;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border-radius: 0.125rem;
    border: 1px solid rgba(226, 191, 181, 0.35);
    background-color: #f6f3f2;
    color: #1b1c1c;
}

body.mc-shop-stitch-archive .mc-shop-stitch nav.woocommerce-pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(226, 191, 181, 0.2);
}

body.mc-shop-stitch-archive .mc-shop-stitch nav.woocommerce-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

body.mc-shop-stitch-archive .mc-shop-stitch nav.woocommerce-pagination ul li a,
body.mc-shop-stitch-archive .mc-shop-stitch nav.woocommerce-pagination ul li span {
    display: inline-flex;
    min-width: 2.5rem;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.125rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body.mc-shop-stitch-archive .mc-shop-stitch nav.woocommerce-pagination ul li span.current {
    background-color: #aa3000;
    color: #fff;
}

body.mc-shop-stitch-archive .mc-shop-stitch nav.woocommerce-pagination ul li a {
    color: #1b1c1c;
    border: 1px solid rgba(226, 191, 181, 0.35);
}

body.mc-shop-stitch-archive .mc-shop-stitch nav.woocommerce-pagination ul li a:hover {
    border-color: #aa3000;
    color: #aa3000;
}
