/*
Theme Name: Storefront Laser
Theme URI: https://example.com/
Description: Child Theme für Storefront – optimiert für Laser-/Acrylprodukte.
Author: 3DCapo
Author URI: https://example.com/
Template: storefront
Version: 1.0.0
Text Domain: storefront-laser
*/

/* =========================================================
   STORE FRONT LASER – BASIS
   ========================================================= */

:root {
    --laser-red: #c8102e;
    --laser-red-dark: #a50d25;
    --laser-dark: #111111;
    --laser-dark-soft: #1a1a1a;
    --laser-gray: #2b2b2b;
    --laser-light: #f7f7f7;
    --laser-white: #ffffff;
    --laser-text: #2a2a2a;
    --laser-text-soft: #666666;
    --laser-radius: 18px;
    --laser-radius-small: 12px;
    --laser-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    --laser-shadow-strong: 0 18px 40px rgba(0, 0, 0, 0.16);
    --laser-transition: all 0.25s ease;
    --laser-content-width: 1200px;
}

/* =========================================================
   GLOBAL
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--laser-light);
    color: var(--laser-text);
}

.site {
    background: var(--laser-light);
}

.col-full {
    max-width: var(--laser-content-width);
}

a {
    transition: var(--laser-transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
    color: var(--laser-white);
    border-bottom: 4px solid var(--laser-red);
    margin-bottom: 0 !important;
}

.site-header .site-title a,
.site-header .site-description,
.site-header .site-branding,
.site-header .menu a,
.site-header .main-navigation ul li a,
.site-header .widget_product_search form:before,
.site-header .site-search .widget_product_search form input[type="search"] {
    color: var(--laser-white);
}

.site-header .site-search .widget_product_search form input[type="search"] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.site-header .main-navigation ul.menu > li > a,
.site-header .main-navigation ul.nav-menu > li > a {
    font-weight: 700;
    padding: 10px 12px !important;
    font-size: 14px !important;
}

.site-header .main-navigation ul.menu > li > a:hover,
.site-header .main-navigation ul.nav-menu > li > a:hover,
.site-header .main-navigation ul.menu > li.current-menu-item > a,
.site-header .main-navigation ul.nav-menu > li.current-menu-item > a {
    color: #ffd6dd;
}

.main-navigation ul.menu,
.main-navigation ul.nav-menu {
    justify-content: center;
    flex-wrap: nowrap !important;
}

.main-navigation ul.menu li,
.main-navigation ul.nav-menu li {
    white-space: nowrap;
}

/* =========================================================
   CONTENT CONTAINERS
   ========================================================= */

.site-main,
.widget,
.hentry,
.page.type-page,
.page.type-page .entry-content,
.single-product div.product,
.woocommerce-page .site-main {
    border-radius: var(--laser-radius);
}

.hentry,
.widget,
.single-product div.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products li.product {
    background: var(--laser-white);
    box-shadow: var(--laser-shadow);
}

.hentry,
.widget,
.single-product div.product {
    padding: 24px;
}

/* =========================================================
   BUTTONS – GLOBAL
   ========================================================= */

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.added_to_cart,
.wc-block-components-button {
    background: var(--laser-red) !important;
    color: #fff !important;
    border-radius: var(--laser-radius-small) !important;
    font-weight: 700;
    border: none !important;
    transition: var(--laser-transition);
    box-shadow: none;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.added_to_cart:hover,
.wc-block-components-button:hover {
    background: var(--laser-red-dark) !important;
    transform: translateY(-1px);
}

/* Gutenberg Buttons allgemein */
.wp-block-button__link {
    background: var(--laser-red) !important;
    color: #fff !important;
    border-radius: var(--laser-radius-small) !important;
    font-weight: 700;
    border: none !important;
    transition: var(--laser-transition);
    box-shadow: none;
}

.wp-block-button__link:hover {
    background: var(--laser-red-dark) !important;
    transform: translateY(-1px);
}

/* =========================================================
   WOOCOMMERCE – PRODUKTARCHIV
   ========================================================= */

.woocommerce-page ul.products li.product,
.woocommerce ul.products li.product {
    border-radius: 22px;
    overflow: hidden;
    padding: 18px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.woocommerce-page ul.products li.product:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--laser-shadow-strong);
}

.woocommerce-page ul.products li.product img,
.woocommerce ul.products li.product img {
    border-radius: 16px;
    margin-bottom: 14px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--laser-dark);
    line-height: 1.35;
}

.woocommerce ul.products li.product .price {
    color: var(--laser-red);
    font-weight: 700;
    font-size: 1.05rem;
}

.woocommerce ul.products li.product .button {
    margin-top: 10px;
}

/* =========================================================
   SINGLE PRODUCT
   ========================================================= */

.single-product div.product {
    padding: 32px;
}

.single-product .product_title {
    color: var(--laser-dark);
    font-weight: 700;
}

.single-product div.product p.price,
.single-product div.product span.price {
    color: var(--laser-red);
    font-weight: 700;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #111111;
    color: rgba(255, 255, 255, 0.9);
    border-top: 4px solid var(--laser-red);
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover {
    color: #ffd6dd;
}

/* =========================================================
   HOMEPAGE CLEANUP
   ========================================================= */

.home .entry-title {
    display: none !important;
}

.home .entry-content {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.home .site-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.home .hentry {
    background: transparent !important;
    box-shadow: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* =========================================================
   HERO – NUR FÜR DEN BLOCK MIT KLASSE .laser-hero
   ========================================================= */

.home .laser-hero {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    min-height: 70vh;
    padding: 130px 20px !important;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 70%);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.home .laser-hero::after {
    content: "";
    position: absolute;
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(200, 16, 46, 0.12) 0%, transparent 70%);
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.home .laser-hero > * {
    position: relative;
    z-index: 1;
    max-width: 760px;
    width: 100%;
}

.home .laser-hero h1,
.home .laser-hero h2,
.home .laser-hero h3 {
    color: #fff !important;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.home .laser-hero p {
    color: #cccccc !important;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.home .laser-hero .wp-block-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.home .laser-hero .wp-block-button__link {
    padding: 14px 30px !important;
    border-radius: 10px !important;
    font-weight: 700;
    width: auto !important;
    min-width: 230px;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease !important;
}

/* Button 1 – prominent mit Glow */
.home .laser-hero .wp-block-button:first-child .wp-block-button__link {
    background: var(--laser-red) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow:
        0 0 16px rgba(200, 16, 46, 0.38),
        0 10px 24px rgba(200, 16, 46, 0.34) !important;
}

.home .laser-hero .wp-block-button:first-child .wp-block-button__link:hover {
    background: #d61032 !important;
    color: #fff !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow:
        0 0 30px rgba(200, 16, 46, 0.65),
        0 14px 34px rgba(200, 16, 46, 0.45) !important;
}

/* Button 2 – bewusst zurückhaltend */
.home .laser-hero .wp-block-button:last-child .wp-block-button__link {
    background: rgba(255,255,255,0.03) !important;
    color: #d6d6d6 !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
    box-shadow: none !important;
}

.home .laser-hero .wp-block-button:last-child .wp-block-button__link:hover {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.32) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 10px rgba(200, 16, 46, 0.16) !important;
}

/* =========================================================
   OPTIONALE HERO-FEINHEITEN
   ========================================================= */

.home .laser-hero .has-small-font-size,
.home .laser-hero .has-medium-font-size {
    color: #cccccc !important;
}

/* =========================================================
   WIDGETS / SIDEBAR – allgemein ruhig halten
   ========================================================= */

.widget {
    border-radius: var(--laser-radius);
}

.widget-title,
.widget h2,
.widget h3 {
    color: var(--laser-dark);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {
    .site-header .main-navigation ul.menu > li > a,
    .site-header .main-navigation ul.nav-menu > li > a {
        padding: 8px 9px !important;
        font-size: 13px !important;
    }

    .home .laser-hero {
        padding: 100px 20px !important;
        min-height: 60vh;
    }

    .home .laser-hero h1,
    .home .laser-hero h2,
    .home .laser-hero h3 {
        font-size: 34px;
    }

    .home .laser-hero p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hentry,
    .widget,
    .single-product div.product {
        padding: 16px;
        border-radius: 14px;
    }

    .woocommerce-page ul.products li.product,
    .woocommerce ul.products li.product {
        border-radius: 16px;
        padding: 14px !important;
    }

    .home .laser-hero {
        padding: 80px 18px !important;
        min-height: auto;
    }

    .home .laser-hero::after {
        width: 320px;
        height: 320px;
    }

    .home .laser-hero h1,
    .home .laser-hero h2,
    .home .laser-hero h3 {
        font-size: 28px;
    }

    .home .laser-hero p {
        font-size: 15px;
        line-height: 1.6;
    }

    .home .laser-hero .wp-block-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .home .laser-hero .wp-block-button {
        width: 100%;
    }

    .home .laser-hero .wp-block-button__link {
        width: 100% !important;
        min-width: 0;
    }

    .main-navigation ul.menu,
    .main-navigation ul.nav-menu {
        flex-wrap: wrap !important;
    }
}

@media (max-width: 480px) {
    .home .laser-hero {
        padding: 70px 16px !important;
    }

    .home .laser-hero h1,
    .home .laser-hero h2,
    .home .laser-hero h3 {
        font-size: 24px;
    }
}
/* =========================================================
   KATEGORIE KACHELN
   ========================================================= */

.laser-categories {
    padding: 60px 20px;
    text-align: center;
}

.laser-categories h2 {
    margin-bottom: 10px;
}

.laser-categories p {
    margin-bottom: 40px;
    color: var(--laser-text-soft);
}

/* GRID FEEL */
.laser-categories .wp-block-columns {
    gap: 28px;
}

/* DIE KACHEL */
.laser-card {
    background: #ffffff;
    padding: 30px 24px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    text-align: left;
    height: 100%;
    position: relative;
}

/* Hover Effekt */
.laser-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

/* Titel */
.laser-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--laser-dark);
}

/* Text */
.laser-card p {
    font-size: 15px;
    color: var(--laser-text-soft);
    margin-bottom: 20px;
}

/* Button sauber einrasten */
.laser-card .wp-block-button {
    margin-top: auto;
}

/* Button etwas edler */
.laser-card .wp-block-button__link {
    border-radius: 10px !important;
    padding: 12px 22px !important;
}
/* =========================================================
   KATEGORIEN – PREMIUM LOOK
   ========================================================= */

/* Hintergrund der Gesamtbox aufwerten */
.laser-categories {
    position: relative;
    padding: 70px 30px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* leichter roter Ambient Glow (sehr subtil!) */
.laser-categories::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(200,16,46,0.08) 0%, transparent 70%);
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

/* einzelne Karten */
.laser-card {
    background: #ffffff;
    padding: 30px 26px;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    position: relative;
}

/* Hover = Premium Effekt */
.laser-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.16),
        0 0 25px rgba(200,16,46,0.18);
}

/* Titel stärker */
.laser-card h3 {
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Button leicht anheben */
.laser-card .wp-block-button__link {
    box-shadow: 0 6px 16px rgba(200,16,46,0.25);
}

.laser-card .wp-block-button__link:hover {
    box-shadow: 0 10px 24px rgba(200,16,46,0.35);
}