/*
Theme Name: Messmer Pen
Theme URI: https://messmer-pen.de
Author: Messmer Pen GmbH
Description: Schlankes eigenes Theme für Homepage und Shop der Messmer Pen GmbH. Keine externen Schriften, keine Tracker.
Version: 0.5.12
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: messmer-pen
License: Proprietary
*/
/* Gestaltung: assets/css/main.css (Designsystem aus dem Prototyp) */

/* Shop: ungeschnittene Produktbilder, Mine ganz sichtbar */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,17rem),1fr));gap:var(--s-4,1.5rem);list-style:none;margin:0;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:auto;float:none;margin:0;padding:var(--s-3,1rem);border:1px solid var(--line,#e3e0d8);border-radius:8px;background:#fff;display:flex;flex-direction:column;gap:.5rem}
.woocommerce ul.products li.product a img{width:100%;height:auto;object-fit:contain;margin:0;display:block;contain-intrinsic-size:none!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.05rem;margin:.25rem 0}
.woocommerce div.product div.images img{width:100%;height:auto;object-fit:contain;background:#fff;contain-intrinsic-size:none!important}
.woocommerce div.product div.images .flex-control-thumbs img{object-fit:contain;background:#fff}

/* Minenshop: Gruppen mit Startbild */
.mm-mine-group{margin-top:var(--s-6,2.5rem)}
.mm-mine-group h2{margin-bottom:.25rem}
.mm-mine-group__start{margin:1rem 0 1.25rem;padding:1rem 1.5rem;background:#fff;border:1px solid var(--line,#e3e0d8);border-radius:8px}
.mm-mine-group__start img{display:block;width:100%;height:auto;max-height:9rem;object-fit:contain;contain-intrinsic-size:none!important}
.mm-mine-group .products li.product a img{max-height:11rem}
.woocommerce ul.products li.product.mm-mine-streifen a img{aspect-ratio:1883/202;height:auto;max-height:none;object-fit:cover;object-position:center}

/* Smartphone-Ansicht Shop (nur bis 600 px, Desktop unverändert) */
@media (max-width:600px){
.woocommerce ul.products,.mm-mine-group .products{grid-template-columns:minmax(0,1fr)!important;gap:1rem}
.woocommerce ul.products li.product{width:100%!important;max-width:none;padding:1rem}
.woocommerce ul.products li.product a img,.mm-mine-group .products li.product a img{width:100%;height:auto;max-height:none;object-fit:contain}
.woocommerce ul.products li.product.mm-mine-streifen a img{object-fit:cover}
.mm-mine-group__start{padding:.75rem}
.mm-mine-group__start img{max-height:none}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.15rem;line-height:1.3;overflow-wrap:normal;word-break:normal;hyphens:manual}
.woocommerce ul.products li.product .price{font-size:1.1rem}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .add_to_cart_button,.woocommerce ul.products li.product .product_type_variable{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:.6rem 1rem;white-space:nowrap;overflow-wrap:normal;word-break:keep-all;hyphens:none;text-align:center;box-sizing:border-box}
}

/* Shop-Startseite: sechs Kategorie-Kacheln mit Bildern (wie im Entwurf) */
.entry--bg{color:#fff;border-color:transparent;background-color:#1b1d22}.entry--bg:hover{color:#fff}.entry--bg h3,.entry--bg p,.entry--bg .entry__go{color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.45)}
    .entry--bg-weihnachten{background-image:linear-gradient(90deg,rgba(7,18,28,.82) 0%,rgba(7,18,28,.5) 55%,rgba(7,18,28,.08) 100%),url("assets/img/start-weihnachten.svg");background-size:cover;background-position:center}
    .entry--bg-neuheiten{background-image:linear-gradient(90deg,#1b1d22 0%,#1b1d22 38%,rgba(27,29,34,.55) 62%,rgba(27,29,34,0) 100%),url("assets/img/start-neuheiten.jpg");background-repeat:no-repeat;background-size:100% 100%,auto 100%;background-position:center,right center}
    .entry--bg-klassiker{background-image:linear-gradient(90deg,#101114 0%,#101114 38%,rgba(16,17,20,.55) 62%,rgba(16,17,20,0) 100%),url("assets/img/start-klassiker.jpg");background-repeat:no-repeat;background-size:100% 100%,auto 100%;background-position:center,right center}
    .entry--bg-minenshop{color:#16181d;background-image:linear-gradient(90deg,rgba(239,236,228,.97) 0%,rgba(239,236,228,.88) 38%,rgba(239,236,228,.15) 78%,rgba(239,236,228,0) 100%),url("assets/img/start-minenshop.jpg");background-size:cover;background-position:right center;border:1px solid #e0dcd0}
    .entry--bg-minenshop h3,.entry--bg-minenshop p,.entry--bg-minenshop .entry__go{color:#16181d;text-shadow:none}
    .entry--bg-sets{background-image:linear-gradient(90deg,#111214 0%,#111214 36%,rgba(17,18,20,.55) 60%,rgba(17,18,20,0) 100%),url("assets/img/start-sets.jpg");background-repeat:no-repeat;background-size:100% 100%,auto 100%;background-position:center,right center}
    .entry--bg-sale{background-image:linear-gradient(90deg,rgba(40,6,14,.9) 0%,rgba(40,6,14,.6) 50%,rgba(40,6,14,0) 100%),url("assets/img/start-sale.svg");background-size:cover;background-position:center}
    @media(max-width:40rem){.entry--bg-sets{background-image:linear-gradient(90deg,#111214 0%,#111214 55%,rgba(17,18,20,.6) 75%,rgba(17,18,20,.1) 100%),url("assets/img/start-sets.jpg")}.entry--bg-klassiker{background-image:linear-gradient(90deg,#101114 0%,#101114 55%,rgba(16,17,20,.6) 75%,rgba(16,17,20,.1) 100%),url("assets/img/start-klassiker.jpg")}.entry--bg-neuheiten{background-image:linear-gradient(90deg,#1b1d22 0%,#1b1d22 55%,rgba(27,29,34,.6) 75%,rgba(27,29,34,.1) 100%),url("assets/img/start-neuheiten.jpg")}}
.mm-shopstart .kat-tiles--big .entry{min-height:12rem}
.mm-shopstart .entry[aria-disabled="true"]{cursor:default}

/* Minenshop: Briefpapier-Werbebild mit der Handschrift des Entwurfs */
@font-face{font-family:"MPBoxScript";src:url("assets/fonts/NothingYouCouldDo-Regular.ttf") format("truetype");font-display:swap}
