/*
Theme Name: OSTSEE Storefront
Template: storefront
Description: OSTSEE-Look für den Shop (Kind-Theme von Storefront). Ändert keine Dateien des Eltern-Themes.
Version: 0.3.0
Text Domain: ostsee-storefront
*/

@font-face{font-family:"Inter";src:url(fonts/Inter.ttf) format("truetype");font-weight:100 900;font-display:swap}
@font-face{font-family:"Unbounded";src:url(fonts/unbounded-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Unbounded";src:url(fonts/unbounded-latin-800-normal.woff2) format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:"Tilt Neon";src:url(fonts/tilt-neon-latin-400-normal.woff2) format("woff2");font-display:swap}
@font-face{font-family:"Neonderthaw";src:url(fonts/neonderthaw-latin-400-normal.woff2) format("woff2");font-display:swap}

:root{--ost-bg:#f7f5fb;--ost-fg:#17131f;--ost-mut:#5b5566;--ost-line:#e3deec;--ost-card:#fff;--ost-soft:#f3eff9;--ost-acc:#c3127f;--ost-acc2:#7b2ff0;--ost-dark:#0e0c16;--ost-r:16px}

body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--ost-bg);color:var(--ost-fg);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
h1,h2,h3,.site-title,.product_title,.woocommerce-products-header__title{font-family:Unbounded,Inter,sans-serif;letter-spacing:-.015em;color:var(--ost-fg)}
h1,.product_title{font-size:clamp(1.45rem,1.1rem + 1.2vw,2.1rem);font-weight:800;line-height:1.2}
a{color:var(--ost-acc)}a:focus-visible,button:focus-visible{outline:3px solid var(--ost-acc);outline-offset:2px}

/* Kopf: dunkel wie die Website */
.site-header{background:var(--ost-dark)!important;color:#fff;border:0;padding-top:14px!important;margin-bottom:0!important}
.site-header .site-branding{margin-bottom:12px}
.site-header .custom-logo-link img{max-height:46px;width:auto}
.site-header .site-title a{color:#fff}
.storefront-primary-navigation{background:var(--ost-dark)!important}
.main-navigation ul li a,.main-navigation ul.menu>li>a{color:#e9e5f3!important;font-weight:600}
.main-navigation ul li a:hover{color:#fff!important}
.site-header .site-search .widget_product_search input[type=search]{background:#fff;border-radius:12px;min-height:46px;font-size:16px;padding-left:44px}
.site-header-cart .cart-contents{color:#fff!important;font-weight:700}
.site-header-cart .cart-contents .count{background:var(--ost-acc);color:#fff;opacity:1}
.storefront-handheld-footer-bar{background:var(--ost-dark)}
.storefront-handheld-footer-bar ul li>a{color:#fff}
.storefront-handheld-footer-bar ul li.cart .count{background:var(--ost-acc);color:#fff;border-color:var(--ost-dark)}

/* Inhalt ohne Seitenleiste */
.right-sidebar .content-area,.left-sidebar .content-area{width:100%;float:none;margin:0}
.widget-area{display:none}
.site-content{padding-top:0}
.woocommerce-breadcrumb{background:transparent;margin:0 0 6px;padding:14px 0 0;font-size:14px;color:var(--ost-mut)}
.storefront-breadcrumb{margin:0;padding:0;background:transparent}

/* Shop-Leiste: Suche + Bereiche */
.ost-shopbar{position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--ost-bg) 92%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);margin:0 -1em;padding:12px 1em 4px;border-bottom:1px solid var(--ost-line)}
.ost-search{display:flex;gap:8px}
.ost-search input[type=search]{flex:1;min-height:52px;font:inherit;font-size:17px;padding:0 16px;border:1.5px solid var(--ost-line);border-radius:14px;background:#fff}
.ost-search input[type=search]:focus{outline:none;border-color:var(--ost-acc);box-shadow:0 0 0 3px rgba(195,18,127,.18)}
.ost-search button{min-height:52px;padding:0 20px;border-radius:14px;border:0;background:var(--ost-fg);color:#fff;font-weight:700}
.ost-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:10px 0 8px}
.ost-chips::-webkit-scrollbar{display:none}
.ost-chip{flex:0 0 auto;display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:99px;border:1px solid var(--ost-line);background:#fff;color:var(--ost-fg);font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap}
.ost-chip:hover{border-color:var(--ost-acc);color:var(--ost-fg)}
.ost-chip.on{background:var(--ost-fg);border-color:var(--ost-fg);color:#fff}
.ost-chip small{margin-left:6px;opacity:.6;font-weight:500}
.ost-intro{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px;margin:18px 0 12px}
.ost-intro h1{margin:0;font-size:clamp(1.3rem,1.05rem + .9vw,1.8rem)}
.ost-intro p{margin:0;color:var(--ost-mut)}
.woocommerce-result-count{display:none}
.woocommerce-ordering{margin-bottom:12px}
.woocommerce-ordering select{min-height:44px;border-radius:10px;padding:0 10px}

/* Produktkarten */
ul.products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px;margin:0 0 24px!important}
ul.products::before,ul.products::after{display:none!important}
ul.products li.product{width:auto!important;float:none!important;margin:0!important;display:flex;flex-direction:column;text-align:left!important;background:var(--ost-card);border:1px solid var(--ost-line);border-radius:var(--ost-r);overflow:hidden;transition:transform .2s,box-shadow .2s,border-color .2s}
ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(23,19,31,.12);border-color:color-mix(in srgb,var(--ost-acc) 40%,var(--ost-line))}
ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;color:inherit;text-decoration:none}
ul.products li.product img{margin:0!important;aspect-ratio:1/1;object-fit:cover;width:100%;border-radius:0}
ul.products li.product .woocommerce-loop-product__title{font-family:Inter,sans-serif;font-size:17px!important;font-weight:700;line-height:1.3;padding:14px 16px 0!important;margin:0!important;color:var(--ost-fg)}
.ost-card-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:6px 16px 0;font-size:14.5px;line-height:1.45;color:var(--ost-mut)}
ul.products li.product .price{display:block;margin:10px 16px 0!important;font-size:18px;font-weight:800;color:var(--ost-fg)!important}
ul.products li.product .button{margin:12px 16px 16px!important;display:flex;justify-content:center;align-items:center;min-height:46px;border-radius:12px;font-weight:700}
.ost-badge{position:absolute;margin:10px;padding:4px 10px;border-radius:99px;background:rgba(14,12,22,.78);color:#fff;font-size:12.5px;font-weight:700;z-index:2}
ul.products li.product{position:relative}
ul.products li.product .onsale{display:none}

/* Knöpfe */
.button,button.button,.single_add_to_cart_button,#place_order,.checkout-button,.wc-proceed-to-checkout .button{background:linear-gradient(135deg,#d0158a,#7b2ff0)!important;color:#fff!important;border:0!important;border-radius:12px!important;font-weight:800!important;min-height:48px;box-shadow:0 8px 24px rgba(195,18,127,.22)}
.button:hover,.single_add_to_cart_button:hover{filter:brightness(1.08)}
.button.disabled,.single_add_to_cart_button:disabled{opacity:.45!important;box-shadow:none}
.button.alt.osk-special-btn,.osk-special-btn{display:inline-flex;align-items:center}
.ost-ghost{background:#fff!important;color:var(--ost-fg)!important;border:1.5px solid var(--ost-line)!important;box-shadow:none!important}

/* Produktseite */
.single-product div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:32px;align-items:start;margin-top:10px}
.single-product div.product .woocommerce-product-gallery,.single-product div.product .summary{width:auto!important;float:none!important;margin:0!important}
.single-product div.product .woocommerce-product-gallery{position:sticky;top:20px;border-radius:var(--ost-r);overflow:hidden;background:#fff}
.single-product div.product .woocommerce-tabs,.single-product div.product .related,.single-product div.product .upsells{grid-column:1/-1}
.single-product .summary .price{font-size:20px;font-weight:800;color:var(--ost-fg)!important}
.single-product .woocommerce-product-details__short-description{color:var(--ost-mut);font-size:16px}
.ost-example{margin:0;padding:6px 12px;font-size:13px;color:var(--ost-mut);background:#fff}
.single-product form.cart{display:block;padding:0;margin:0 0 16px!important}
.single-product form.cart .quantity{margin:0 10px 0 0!important}
.single-product form.cart .quantity .qty{min-height:48px;width:5em;border-radius:12px;font-size:16px}
.single-product form.cart .single_add_to_cart_button{min-width:220px;font-size:17px!important}
.product_meta{display:none}
.single-product table.variations td,.single-product table.variations th{display:block;padding:4px 0}
.single-product table.variations select{min-height:48px;border-radius:12px;padding:0 12px;font-size:16px;width:100%}
.single-product .woocommerce-variation-price .price{font-size:22px}
.reset_variations{font-size:14px}
.ost-trust{display:flex;flex-wrap:wrap;gap:8px 18px;margin:8px 0 0;padding:0;list-style:none;font-size:14.5px;color:var(--ost-mut)}
.ost-trust li::before{content:"✓ ";color:#067647;font-weight:800}

/* Warenkorb / Kasse */
.woocommerce-cart-form,.cart_totals,.woocommerce-checkout-review-order,#customer_details{background:#fff;border:1px solid var(--ost-line);border-radius:var(--ost-r);padding:16px}
table.shop_table{border:0}
table.cart td.product-name dl.variation{font-size:14px;color:var(--ost-mut);display:grid;grid-template-columns:auto 1fr;gap:2px 10px;margin-top:6px}
table.cart td.product-name dl.variation dt{font-weight:600;color:var(--ost-fg)}
table.cart td.product-name dl.variation dd{margin:0}
table.cart td.product-name dl.variation dd p{margin:0}
.woocommerce-checkout h3{font-size:19px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.select2-container .select2-selection--single{min-height:48px;border-radius:12px!important;font-size:16px;border:1.5px solid var(--ost-line)!important;background:#fff}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:46px}
.woocommerce-info,.woocommerce-message,.woocommerce-error,.woocommerce-noreviews{border-radius:12px}
.woocommerce-error{background:#b42318}

/* Fuß */
.site-footer{background:var(--ost-dark);color:#cfcadb}
.site-footer a{color:#fff}
.ost-foot{display:flex;flex-wrap:wrap;gap:8px 18px;justify-content:space-between;align-items:center;padding:18px 0;font-size:14.5px}
.ost-foot nav{display:flex;flex-wrap:wrap;gap:8px 16px}
.ost-help{margin:24px 0;padding:18px;border-radius:var(--ost-r);background:linear-gradient(135deg,#1a1027,#24113a);color:#fff;display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;justify-content:space-between}
.ost-help p{margin:0;font-size:16px}.ost-help strong{font-family:Unbounded,Inter,sans-serif;font-size:17px;display:block;margin-bottom:2px}
.ost-help a.button{background:#fff!important;color:#17131f!important;box-shadow:none}

@media (max-width:767px){
  .single-product div.product{grid-template-columns:1fr;gap:16px}
  .single-product div.product .woocommerce-product-gallery{position:static}
  ul.products{grid-template-columns:1fr 1fr;gap:10px}
  ul.products li.product .woocommerce-loop-product__title{font-size:15.5px!important;padding:10px 10px 0!important}
  .ost-card-desc{margin:4px 10px 0;font-size:13.5px}
  ul.products li.product .price{margin:8px 10px 0!important;font-size:16px}
  ul.products li.product .button{margin:10px!important;font-size:14px;padding:0 8px}
  .ost-search button{padding:0 14px}
  .site-header .site-search{display:none}
  .col-full{padding-left:16px!important;padding-right:16px!important}
  .ost-shopbar{margin:0 -16px;padding:10px 16px 2px}
  body.single-product{padding-bottom:84px}
}
@media (max-width:360px){ul.products{grid-template-columns:1fr}}

/* Kompakter Kopf: Produkte früh sichtbar */
.woocommerce-products-header{display:none}
.site-main{margin-bottom:0;padding-top:0}
.home.page .entry-header,.page-template-default .woocommerce-products-header{display:none}
.woocommerce-ordering{display:none}
.ost-intro{margin:14px 0 14px}
@media (min-width:768px){
  .site-header .site-branding{float:left;width:auto;margin:6px 24px 10px 0}
  .site-header .site-search{width:34%!important;float:right!important;margin:4px 0 0!important}
  .storefront-primary-navigation{clear:both}
  .main-navigation{width:auto!important;float:left!important}
  .site-header-cart{width:auto!important;float:right!important}
  .main-navigation ul.menu>li>a{padding:.9em 1em}
}
.single-product div.product::before,.single-product div.product::after{display:none!important;content:none!important}
ul.products li.product .price .osk-from-tax,ul.products li.product .price .ost-tax{display:block;font-size:12.5px;font-weight:500;color:var(--ost-mut)}
.ost-tax{font-size:13px;font-weight:500;color:var(--ost-mut)}
.single-product form.cart .quantity .qty{font-size:17px!important;font-weight:700;text-align:center}
/* Positionsdetails im Warenkorb lesbar untereinander */
table.cart td.product-name dl.variation,.woocommerce-checkout-review-order-table dl.variation,.woocommerce-table--order-details dl.variation{display:block!important;margin:8px 0 0;font-size:14px;line-height:1.45}
table.cart td.product-name dl.variation dt,.woocommerce-checkout-review-order-table dl.variation dt{display:inline;float:none;font-weight:600;margin:0 4px 0 0;color:var(--ost-fg)}
table.cart td.product-name dl.variation dd,.woocommerce-checkout-review-order-table dl.variation dd{display:inline;margin:0;color:var(--ost-mut)}
table.cart td.product-name dl.variation dd::after,.woocommerce-checkout-review-order-table dl.variation dd::after{content:"";display:block}
table.cart td.product-name dl.variation dd p,.woocommerce-checkout-review-order-table dl.variation dd p{display:inline;margin:0}
table.cart td.product-name{min-width:260px}
table.cart .product-thumbnail img{max-width:72px;border-radius:10px}
.woocommerce-cart .entry-header,.woocommerce-checkout .entry-header{padding:10px 0 0;margin:0}
.woocommerce-cart .entry-title,.woocommerce-checkout .entry-title{font-size:1.6rem;text-align:left}
ul.products li.product .woocommerce-loop-product__title{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word}
.ost-search input[type=search]{min-width:0}
@media (max-width:767px){
  .ost-shopbar{margin:0 -16px;padding:10px 16px 2px;box-sizing:border-box;width:auto}
  .ost-search{gap:6px}
  .ost-search input[type=search]{font-size:16px;padding:0 12px}
  .ost-search button{flex:0 0 auto;padding:0 12px}
  .single-product div.product .woocommerce-product-gallery img{max-height:42vh;object-fit:cover}
  .single-product .product_title{font-size:1.45rem;margin-bottom:4px}
  .ost-trust{display:none}
  .woocommerce-breadcrumb{font-size:13px;padding-top:8px}
}
@media (max-width:767px){body.single-product .storefront-handheld-footer-bar{display:none}}
@media (max-height:520px){.site-header{padding-top:6px!important}.site-header .site-branding{margin-bottom:6px}.site-header .custom-logo-link img{max-height:34px}.osk-testbar{padding:3px 8px!important;font-size:12px!important}}
/* Sticky (Vorschau/Preis) braucht Eltern ohne overflow:hidden – clip verhindert trotzdem seitliches Scrollen */
body,.site{overflow-x:clip!important;overflow-y:visible!important}
.single-product div.product{overflow:visible!important}
.osk-steps.single-product div.product .woocommerce-product-gallery{position:relative!important;top:auto!important}
.ost-withdraw{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:10px;border:1.5px solid #fff;color:#fff!important;font-weight:700;text-decoration:none}
.ost-withdraw:hover{background:#fff;color:#17131f!important}
/* Bereichs-Reihen auf der Startseite */
.ost-sec{margin:26px 0 8px}
.ost-sec-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}
.ost-sec-h h2{margin:0;font-size:clamp(1.15rem,1rem + .6vw,1.45rem)}
.ost-sec-h a{font-weight:700;color:var(--ost-acc);text-decoration:none;white-space:nowrap}
.ost-sec ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:900px){.ost-sec ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
.osk-ask{color:var(--ost-fg)}
.main-navigation ul.menu ul.sub-menu{background:#1a1726;border-radius:12px;padding:6px;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.main-navigation ul.menu ul.sub-menu li a{color:#e9e5f3!important;padding:.65em 1em;border-radius:8px;width:260px}
.main-navigation ul.menu ul.sub-menu li a:hover{background:rgba(255,255,255,.08)}
@media (max-width:600px){.ost-sec-h{flex-direction:column;align-items:flex-start;gap:2px}}
ul.products li.product p.wc-gzd-additional-info-loop{font-size:12.5px;line-height:1.35;color:var(--ost-mut);margin:2px 16px 0!important;padding:0}
ul.products li.product p.wc-gzd-additional-info-loop a{display:inline;margin:0;padding:0;color:var(--ost-mut);text-decoration:underline}
ul.products li.product p.wc-gzd-additional-info-loop.tax-info,ul.products li.product p.wc-gzd-additional-info-loop.shipping-costs-info{display:inline-block;margin-right:0!important}
ul.products li.product p.wc-gzd-additional-info-loop.tax-info{margin-left:16px!important}
ul.products li.product p.wc-gzd-additional-info-loop.shipping-costs-info{margin-left:4px!important}
ul.products li.product .delivery-time-info{display:none}
@media (max-width:767px){ul.products li.product p.wc-gzd-additional-info-loop.tax-info{margin-left:10px!important}}
/* Hinweise (z. B. „…wurde Ihrem Warenkorb hinzugefügt“): Knopf sauber unter/neben dem Text statt darüber */
.woocommerce-message,.woocommerce-info{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 18px}
.woocommerce-message .button,.woocommerce-info .button{float:none!important;order:2;margin:0!important;flex:0 0 auto;line-height:1.2;padding:.7em 1.2em}
@media (max-width:767px){.woocommerce-message,.woocommerce-info{padding-right:20px!important}.woocommerce-message .button,.woocommerce-info .button{width:100%;text-align:center}}
/* Kasse am Handy: Bestellübersicht passt in die Breite (vorher rechts abgeschnitten) */
@media (max-width:767px){#order_review table.shop_table{table-layout:fixed;width:100%!important}#order_review table.shop_table th,#order_review table.shop_table td{padding:10px 8px!important;overflow-wrap:break-word;hyphens:manual;font-size:14px}#order_review table.shop_table thead th{font-size:13px}#order_review table.shop_table tr.woocommerce-shipping-totals th,#order_review table.shop_table tr.woocommerce-shipping-totals td{display:block;width:100%;box-sizing:border-box;text-align:left}#order_review table.shop_table tr.woocommerce-shipping-totals td{padding-top:0!important}#order_review table.shop_table thead th.product-name,#order_review table.shop_table td.product-name{width:58%}#order_review table.shop_table .product-total{text-align:right}#order_review table.shop_table ul#shipping_method li{margin:0 0 6px}}
