/*
Theme Name: FDS Shop Theme
Description: Eigenes WooCommerce-Theme mit Domainlayouts und Gutenberg-Blöcken.
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: fs-shop
*/
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: #19241e; background: #faf9f5; font: 1rem/1.6 system-ui, sans-serif; }
a { color: var(--fs-accent, #235b4b); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
img { max-width: 100%; height: auto; }
.fs-wrap { width: min(100% - 2rem, 75rem); margin-inline: auto; }
.fs-header, .fs-footer { background: #fff; }
.fs-header { border-bottom: 1px solid #ddd; }
.fs-footer { border-top: 1px solid #ddd; padding-block: 2rem; }
.fs-brand, .fs-footer-line, .fs-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.fs-brand { justify-content: space-between; padding-block: 1rem; }
.fs-brand > a { font-size: 1.4rem; font-weight: 700; text-decoration: none; }
.custom-logo { display: block; width: auto; max-height: 4rem; }
.fs-nav ul { list-style: none; padding: 0; }
.fs-nav ul ul { display: block; padding-inline-start: 1rem; }
.fs-special { padding: .5rem 1rem; text-align: center; border-bottom: 1px solid #ddd; font-weight: 600; }
.fs-main { padding-block: clamp(1.5rem, 4vw, 4rem); }
.fs-content { min-width: 0; }
.fs-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 22%); gap: 2rem; }
.fs-footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1.5rem; }
.woocommerce.fs-view-list ul.products li.product { width: 100%; float: none; margin-inline: 0; display: flow-root; }
.woocommerce.fs-view-list ul.products li.product img { max-width: 9rem; float: inline-start; margin-inline-end: 1rem; }
.woocommerce.fs-card-compact ul.products li.product { padding: .75rem; border: 1px solid #ddd; }
.woocommerce.fs-card-compact ul.products li.product img { aspect-ratio: 4 / 3; object-fit: contain; }
.fs-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(12rem, 32%, 20rem); gap: 1rem; overflow-x: auto; scroll-snap-type: inline mandatory; padding: .5rem; }
.fs-carousel > * { scroll-snap-align: start; min-width: 0; }
.fs-slider { grid-auto-columns: 100%; }
.fs-product-tile { background: #fff; padding: .75rem; }
.fs-product-tile h3 { margin-block: .5rem; }
.fs-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); align-items: center; gap: 1.5rem; background: #fff; padding: clamp(1rem, 3vw, 2.5rem); }
.fs-skip { position: absolute; top: 0; left: 1rem; z-index: 1000; background: #fff; padding: .5rem; }
.fs-skip:not(:focus) { clip-path: inset(50%); }
@media (max-width: 48rem) { .fs-with-sidebar { grid-template-columns: minmax(0, 1fr); } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fs-tab-controls { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: .75rem; }
.fs-tab-controls button { font: inherit; border: 1px solid #777; border-radius: .25rem; background: #fff; padding: .35rem .75rem; cursor: pointer; }
.fs-tab-controls [aria-selected="true"] { color: #fff; background: #222; }
.fs-carousel-controls { display: flex; gap: .5rem; margin-block: .5rem 1rem; }
.fs-carousel-controls button { font: inherit; padding: .3rem .75rem; cursor: pointer; }
