/* Product page in the sassyclassy layout (operator's reference, 08.10.2026) – tokens from build/DESIGN.md
   thumbnails left · large image · info right (sticky) · description open · shelves · story · handmade · categories */

/* ---------- two columns: gallery left, info right ---------- */
@media (min-width: 981px) {
	.kp-pdp-row { align-items: flex-start; }
	.kp-pdp-row > .kp-pdp-gallery { flex: 0 0 54% !important; max-width: 54% !important; }
	.kp-pdp-row > .kp-buybox { flex: 1 1 0 !important; max-width: none !important; align-self: flex-start; }
}
@media (min-width: 981px) and (min-height: 760px) {
	.kp-pdp-gallery.et_pb_column { position: sticky !important; top: 24px; }
	.admin-bar .kp-pdp-gallery.et_pb_column { top: 56px; }
}
@media (max-width: 980px) {
	.kp-pdp-row { display: flex; flex-direction: column; }
	.kp-pdp-gallery { margin-bottom: 20px !important; }
}

/* ---------- gallery: thumbnails in a column on the left, large image right ----------
   (thumbnail rules need the long selector: Divi prints its own !important grid for the gallery module) */
.kp-pdp-gallery .woocommerce-product-gallery { margin: 0 !important; position: relative; }
.kp-pdp-gallery .woocommerce-product-gallery__image img { border-radius: 8px; }
.kp-pdp-gallery .flex-control-thumbs { list-style: none; padding: 0 !important; }
.kp-pdp-gallery .flex-control-thumbs li { width: auto !important; margin: 0 !important; float: none !important; }
.kp-pdp-gallery .flex-control-thumbs img { border-radius: 6px; border: 1.5px solid transparent; opacity: .75 !important; cursor: pointer; transition: opacity .2s, border-color .2s; }
.kp-pdp-gallery .flex-control-thumbs img:hover { opacity: 1 !important; }
.kp-pdp-gallery .flex-control-thumbs img.flex-active { border-color: #1B1F1C; opacity: 1 !important; }
@media (min-width: 768px) {
	.kp-pdp-gallery .woocommerce-product-gallery { display: grid !important; grid-template-columns: 84px 1fr; gap: 14px; }
	.kp-pdp-gallery .woocommerce-product-gallery > .flex-viewport,
	.kp-pdp-gallery .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { grid-column: 2; grid-row: 1; }
	html body.et-db #et-boc .et-l .kp-pdp-gallery.et_pb_column ol.flex-control-thumbs.flex-control-nav { grid-column: 1; grid-row: 1; display: flex !important; flex-direction: column; gap: 10px !important; margin: 0 !important; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
	.kp-pdp-gallery .flex-control-thumbs::-webkit-scrollbar { display: none; }
	.kp-pdp-gallery .woocommerce-product-gallery__trigger { right: 12px; left: auto; }
}
@media (max-width: 767px) {
	html body.et-db #et-boc .et-l .kp-pdp-gallery.et_pb_column ol.flex-control-thumbs.flex-control-nav { display: grid !important; grid-template-columns: repeat(5, 1fr) !important; gap: 8px !important; margin: 10px 0 0 !important; }
}
.kp-pdp-gallery .flex-direction-nav { list-style: none; margin: 0; padding: 0; }
.kp-pdp-gallery .flex-direction-nav a { position: absolute; top: 50%; z-index: 5; width: 40px; height: 40px; margin-top: -20px; overflow: hidden; text-indent: -999px; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 2px 10px rgba(27, 31, 28, .12); }
.kp-pdp-gallery .flex-direction-nav a::before { content: ""; position: absolute; top: 14px; width: 10px; height: 10px; border-top: 2px solid #1B1F1C; border-right: 2px solid #1B1F1C; }
.kp-pdp-gallery .flex-direction-nav .flex-prev { left: 12px; }
.kp-pdp-gallery .flex-direction-nav .flex-prev::before { left: 16px; transform: rotate(-135deg); }
.kp-pdp-gallery .flex-direction-nav .flex-next { right: 12px; }
.kp-pdp-gallery .flex-direction-nav .flex-next::before { left: 12px; transform: rotate(45deg); }
.kp-pdp-gallery .flex-direction-nav .flex-disabled { display: none; }
@media (min-width: 768px) { .kp-pdp-gallery .flex-direction-nav .flex-prev { left: 110px; } }

/* ---------- info column: open, calm, no card ---------- */
.kp-buybox .et_pb_module { margin-bottom: 0 !important; }
.kp-buybox.et_pb_column { gap: 0 !important; row-gap: 0 !important; }
.kp-buybox .et_pb_text p { margin: 0; }
.kp-buybox .et_pb_text p:last-child { padding-bottom: 0 !important; }
.kp-buybox .et_pb_text:has(> .et_pb_text_inner:empty), .kp-buybox .et_pb_text:empty { display: none !important; }
.kp-buybox .et_pb_wc_title { margin-bottom: 4px !important; }
.kp-buybox .et_pb_wc_rating { margin-top: 8px !important; }
.kp-buybox .et_pb_wc_price { margin-top: 16px !important; }
.kp-buybox .et_pb_wc_price .price { margin: 0 !important; }
.kp-buybox .et_pb_text + .et_pb_text { margin-top: 6px !important; }
.kp-buybox .kp-ship { color: #4E7F5D; font-weight: 700; letter-spacing: .01em; margin-top: 2px !important; }

/* stock / delivery line: green dot */
.kp-buybox .kp-stock { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-weight: 700; font-size: 14px; }
.kp-buybox .kp-stock--in { color: #4E7F5D; }
.kp-buybox .kp-stock--in::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: #4E7F5D; }
.kp-buybox .kp-stock--out { color: #5B635D; }

/* add to cart: full width, dark like sassyclassy */
.kp-buybox .et_pb_wc_add_to_cart { margin-top: 14px !important; }
.kp-buybox form.cart { display: block !important; margin: 0 !important; }
.kp-buybox form.cart .quantity { display: none !important; }
.kp-buybox .single_add_to_cart_button { width: 100% !important; margin: 0 !important; transition: background-color .2s, border-color .2s; }
.kp-buybox .single_add_to_cart_button:hover { background: #4E7F5D !important; border-color: #4E7F5D !important; color: #FFFFFF !important; }

/* checks under the button */
.kp-buybox .kp-checks { list-style: none; margin: 16px 0 0 !important; padding: 16px 0 0 !important; border-top: 1px solid #E3E0D6; display: grid; gap: 8px; }
.kp-buybox .kp-checks li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.4; color: #1B1F1C; }
.kp-buybox .kp-checks li::before { content: ""; position: absolute; left: 3px; top: 3px; width: 6px; height: 11px; border: solid #4E7F5D; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* variations as tiles instead of dropdowns */
.kp-buybox table.variations { margin: 0 0 12px !important; border: 0 !important; }
.kp-buybox table.variations th, .kp-buybox table.variations td { display: block; padding: 0 !important; border: 0 !important; background: none !important; }
.kp-buybox table.variations select.kp-hidden-select { position: absolute !important; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.kp-buybox table.variations .reset_variations { display: none !important; }
.kp-var-label { display: block; margin: 14px 0 8px; font-size: 15px; color: #1B1F1C; }
.kp-var-label strong { font-weight: 700; }
.kp-var-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.kp-var-opt { position: relative; min-width: 56px; padding: 9px 14px; border: 1px solid #E3E0D6; border-radius: 999px; background: #FFFFFF; color: #1B1F1C; font-size: 14px; cursor: pointer; transition: border-color .15s; }
.kp-var-opt:hover { border-color: #1B1F1C; }
.kp-var-opt.is-active { border: 1.5px solid #1B1F1C; font-weight: 700; }
.kp-var-opt.is-active::after { content: "✓"; position: absolute; top: -7px; right: -5px; width: 17px; height: 17px; border-radius: 50%; background: #1B1F1C; color: #FFFFFF; font-size: 10px; line-height: 17px; text-align: center; }
.kp-var-opt[disabled] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.kp-buybox .woocommerce-variation-price { display: none; }

/* toggles: thin lines with a chevron, description open; each opens on its own */
.kp-buybox .kp-tg-first { border-top: 1px solid #E3E0D6 !important; margin-top: 20px !important; }
.kp-buybox .et_pb_toggle { border: 0 !important; border-bottom: 1px solid #E3E0D6 !important; margin: 0 !important; border-radius: 0 !important; padding: 18px 0 !important; box-shadow: none !important; }
.kp-buybox .et_pb_toggle_title { padding-right: 32px !important; }
.kp-buybox .et_pb_toggle_title::before { content: "" !important; right: 6px !important; width: 9px; height: 9px; margin-top: -7px !important; border: solid #1B1F1C; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s; font-size: 0 !important; }
.kp-buybox .et_pb_toggle_open .et_pb_toggle_title::before { transform: rotate(-135deg); margin-top: -2px !important; display: block !important; }
.kp-buybox .et_pb_toggle_content { padding-top: 12px !important; }
.kp-buybox .et_pb_toggle_content p { margin: 0 0 12px; }
.kp-buybox .et_pb_toggle_content ul { margin: 0 0 4px; padding-left: 0; list-style: none; }
.kp-buybox .et_pb_toggle_content ul li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.kp-buybox .et_pb_toggle_content ul li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 5px; height: 10px; border: solid #4E7F5D; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- shelves below (complete the look, more products) ---------- */
.kp-pdp-shelf ul.products { margin-bottom: 0 !important; }
.kp-pdp-shelf .et_pb_wc_related_products h2:empty, .kp-pdp-shelf .et_pb_wc_related_products > .et_pb_module_inner > section > h2 { display: none; }

/* ---------- story (text only until the founder photo is in place) ---------- */
.kp-story-solo { text-align: center; }
.kp-story-solo .et_pb_text_inner, .kp-story-solo .et_pb_text { margin-left: auto !important; margin-right: auto !important; }
.kp-story h2 em { display: block; }

/* ---------- shelves as sliders (sassyclassy): 4 cards visible, round arrows on the right ---------- */
.kp-shelf-title, .kp-pdp-shelf h2.kp-shelf-title { margin: 0 0 20px !important; font-size: 26px !important; font-weight: 700 !important; text-align: center; color: #1B1F1C; }
@media (max-width: 767px) { .kp-shelf-title, .kp-pdp-shelf h2.kp-shelf-title { font-size: 21px !important; } }
.kp-slider-wrap { position: relative; }
html body #et-boc .et-l .kp-pdp-shelf ul.products.kp-slider { display: flex !important; flex-wrap: nowrap !important; gap: 20px !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 !important; padding: 0 !important; grid-template-columns: none !important; }
.kp-pdp-shelf ul.products.kp-slider::-webkit-scrollbar { display: none; }
html body #et-boc .et-l .kp-pdp-shelf ul.products.kp-slider > li.product { flex: 0 0 calc((100% - 60px) / 4) !important; width: auto !important; max-width: none !important; margin: 0 !important; float: none !important; scroll-snap-align: start; }
@media (max-width: 980px) { html body #et-boc .et-l .kp-pdp-shelf ul.products.kp-slider > li.product { flex-basis: calc((100% - 20px) / 2.3) !important; } }
.kp-slider-nav { position: absolute; top: 34%; right: -60px; display: flex; flex-direction: column; gap: 10px; }
.kp-slider-nav[hidden] { display: none; }
.kp-slider-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #1B1F1C; color: #FFFFFF; cursor: pointer; transition: background-color .2s, opacity .2s; }
.kp-slider-btn:hover { background: #4E7F5D; }
.kp-slider-btn--prev { background: #B9B6AD; }
.kp-slider-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 1360px) { .kp-slider-nav { right: 6px; top: 30%; z-index: 4; } }
@media (max-width: 767px) { .kp-slider-nav { display: none; } }

/* buy box details like sassyclassy: lighter title, price with "inkl. MwSt." inline, stock label bold green */
.kp-buybox .et_pb_wc_title h1 { font-weight: 500 !important; letter-spacing: -.01em; }
.kp-buybox .kp-stock--in strong { color: #4E7F5D; }
.kp-buybox .kp-stock--in span { color: #5B635D; font-weight: 400; }
/* alternating photo/text rows: on phones the photo always comes first */
@media (max-width: 980px) { .kp-alt-row .kp-handmade-img { order: -1; } }
/* story signature: name, role on the line below */
.kp-sign { margin-top: 22px !important; line-height: 1.35 !important; }
.kp-sign strong { font-size: 18px; font-weight: 700; color: #1B1F1C; }
.kp-sign span { font-size: 14px; color: #5B635D; letter-spacing: .02em; }
/* handwritten signature (operator's own signature, media #358) instead of the typed name */
.kp-sign__img { display: block; width: 210px; max-width: 70%; height: auto; margin: 0 0 6px -4px; }
.kp-sign span { display: block; }
/* "Zuletzt angesehen" without products (first page view) takes no space */
.kp-recent:not(:has(ul.products)) { display: none !important; }

/* ---------- customer voices: summary left, cards running continuously (pauses on hover) ---------- */
.kp-rv { display: flex; align-items: stretch; gap: 40px; }
.kp-rv__intro { flex: 0 0 220px; display: flex; flex-direction: column; justify-content: center; padding-right: 36px; border-right: 1px solid #DDD9CE; }
.kp-rv__title { margin: 0 0 10px !important; font-size: 24px; font-weight: 700; line-height: 1.25; color: #1B1F1C; }
.kp-rv__stars { margin: 0 0 12px !important; color: #4E7F5D; letter-spacing: .14em; font-size: 15px; }
.kp-rv__stars--big { font-size: 20px; }
.kp-rv__note { margin: 0 !important; font-size: 12px; }
.kp-rv__note a { color: #5B635D !important; text-decoration: underline; text-underline-offset: 3px; }
.kp-rv__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); }
.kp-rv__track { display: flex; gap: 20px; width: max-content; animation: kpRv 48s linear infinite; }
.kp-rv__dup { display: contents; }
.kp-rv:hover .kp-rv__track { animation-play-state: paused; }
@keyframes kpRv { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }
.kp-rv__card { flex: 0 0 330px; display: flex; flex-direction: column; margin: 0; padding: 24px 24px 22px; border: 1px solid #E3E0D6; border-radius: 14px; background: #FFFFFF; box-shadow: 0 6px 24px rgba(27, 31, 28, .05); }
.kp-rv__card blockquote { flex: 1 1 auto; margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; font-size: 15px; line-height: 1.6; font-style: normal; color: #1B1F1C; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.kp-rv__card figcaption { display: flex; align-items: center; gap: 12px; }
.kp-rv__avatar { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: #4E7F5D; color: #FFFFFF; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.kp-rv__card figcaption strong { display: block; font-size: 15px; color: #1B1F1C; }
.kp-rv__card figcaption small { display: block; font-size: 12.5px; color: #5B635D; }
@media (max-width: 980px) {
	.kp-rv { flex-direction: column; gap: 24px; }
	.kp-rv__intro { flex-basis: auto; padding: 0; border: 0; text-align: center; align-items: center; }
	.kp-rv__card { flex-basis: 280px; }
}
@media (prefers-reduced-motion: reduce) { .kp-rv__track { animation: none; } .kp-rv__viewport { overflow-x: auto; } }
/* images are not clickable */
.woocommerce-product-gallery__image a { cursor: default; }
.woocommerce-product-gallery__trigger { display: none !important; }

/* customer voices v2 (operator 10.10.2026): title + stars centred above the band, band as wide as the other sections */
.kp-rv { flex-direction: column; gap: 28px; }
.kp-rv__intro { flex: 0 0 auto; padding: 0; border: 0; align-items: center; text-align: center; }
.kp-rv__title { font-size: 26px; margin: 0 0 6px !important; }
.kp-rv__stars--big { margin: 0 !important; }
.kp-rv__viewport { width: 100%; }
@media (max-width: 767px) { .kp-rv__title { font-size: 21px; } }

