/*
 * SH IWAG Shop — WooCommerce-Stile: Mini-Warenkorb, Anmelden, Hinweise, Preise,
 * Mengenfeld, Produktseite, Produktkarten/Karussell. Warenkorb, Kasse, Konto folgen.
 */

/* Preise — Beträge wie WoodMart in der Akzentfarbe, innerhalb von .price wie der Preis selbst */
.amount { color: var(--sht-primary); font-weight: 600; }
.price .amount { color: inherit; font-size: inherit; font-weight: inherit; }
.price { color: inherit; }
.price del { opacity: .6; font-weight: 400; }
.price ins { text-decoration: none; }

/* Hinweise */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	position: relative;
	margin: 0 0 20px;
	padding: 15px 20px;
	border-radius: 0;
	list-style: none;
	color: #fff;
	font-weight: 600;
	line-height: 1.4;
}
.woocommerce-message { background: #459647; }
.woocommerce-info { background: #2a2a2a; }
.woocommerce-error { background: #e01020; }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { color: #fff; text-decoration: underline; }
.woocommerce-message .button, .woocommerce-info .button { float: right; min-height: 32px; margin-left: 15px; background: rgba(255, 255, 255, .15); box-shadow: none; text-decoration: none; }

/* Mini-Warenkorb im Seitenpanel */
.sht-minicart { display: flex; flex-direction: column; min-height: 100%; }
.sht-minicart .woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }
.sht-minicart .woocommerce-mini-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 65px 1fr;
	gap: 0 15px;
	padding: 15px 35px 15px 15px;
	border-bottom: 1px solid var(--sht-border);
	color: var(--sht-text);
	font-size: 14px;
	line-height: 1.4;
}
.sht-minicart .woocommerce-mini-cart-item > a:not(.remove) { display: contents; color: var(--sht-entities); font-family: var(--sht-font-entities); font-weight: 500; }
.sht-minicart .woocommerce-mini-cart-item img { grid-row: 1 / span 3; width: 65px; height: 65px; object-fit: contain; }
.sht-minicart .woocommerce-mini-cart-item .quantity { grid-column: 2; color: var(--sht-muted); }
.sht-minicart .woocommerce-mini-cart-item .quantity .amount { color: var(--sht-primary); font-weight: 600; }
.sht-minicart .remove { position: absolute; right: 8px; top: 11px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: var(--sht-text, #767676) !important; line-height: 1; }
.sht-minicart .remove .sht-icon { display: block; }
.sht-minicart .remove:hover, .sht-minicart .remove:focus-visible { color: var(--sht-primary) !important; background-color: var(--sht-surface, #f5f5f5); }
.sht-minicart .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: auto 0 0; padding: 15px; border-top: 1px solid var(--sht-border); color: var(--sht-title); font-size: 16px; }
.sht-minicart .woocommerce-mini-cart__total .amount { color: var(--sht-primary); font-weight: 600; }
.sht-minicart .woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; padding: 0 15px 15px; }
.sht-minicart .woocommerce-mini-cart__buttons .button { width: 100%; }
.sht-minicart .woocommerce-mini-cart__buttons .button:not(.checkout) { background: var(--sht-gray-100); color: #333; box-shadow: none; }
.sht-minicart .woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: #efefef; }
.sht-minicart .woocommerce-mini-cart__empty-message { margin: 0; padding: 40px 15px; text-align: center; color: var(--sht-title); font-weight: 600; }

/* Anmeldeformular (Seitenpanel und Konto-Seite) */
.woocommerce-form-login .form-row { margin: 0 0 15px; }
.woocommerce-form-login label { display: block; margin-bottom: 5px; font-size: 14px; }
.woocommerce-form-login .required { color: var(--sht-primary); border: 0; text-decoration: none; }
.woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 7px; color: var(--sht-title); font-weight: 400; }
.woocommerce-form-login__submit { width: 100%; margin-top: 5px; }
.woocommerce-LostPassword { margin: 10px 0 0; text-align: center; font-size: 14px; }
.woocommerce-LostPassword a { color: var(--sht-text); }
.woocommerce-LostPassword a:hover { color: var(--sht-title); }
.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 7px; }
.woocommerce-password-strength { margin-top: 5px; font-size: 13px; }
.password-input { position: relative; display: block; }
.show-password-input { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; opacity: .5; background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.6'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }

/* Mengenfeld (WoodMart: − 25 px · Feld 30 px · + 25 px, 42 px hoch, 2 px Rahmen) */
.quantity { display: inline-flex; align-items: stretch; vertical-align: top; }
.quantity input.qty { width: 30px; height: 42px; padding: 0; border-inline-width: 0; color: var(--sht-text); font-size: 14px; text-align: center; -moz-appearance: textfield; }
.quantity:not(.sht-qty) input.qty { width: 50px; border-inline-width: 2px; }
.quantity input.qty::-webkit-outer-spin-button, .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sht-qty__btn { width: 25px; height: 42px; padding: 0 5px; border: 2px solid var(--sht-form-border); color: var(--sht-text); font-size: 13px; font-weight: 600; line-height: 1.2; }
.sht-qty__btn:hover { background: var(--sht-gray-100); }

/* ========== Produktseite (Masse wie WoodMart «Standard» auf vircom) ========== */
.sht-content--product { padding-top: 40px; }
.sht-content--product > .sht-container:empty, .sht-content--product > .sht-container > .woocommerce-notices-wrapper:empty { display: none; }
.sht-product__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; margin-bottom: 40px; }

/* Galerie */
.sht-gallery__main { position: relative; }
.sht-gallery__slide { margin: 0; }
.sht-gallery__slide[hidden] { display: none; }
.sht-gallery__slide img { display: block; width: 100%; height: auto; }
.sht-gallery__link { display: block; cursor: zoom-in; }
.sht-gallery__zoom { position: absolute; left: 15px; bottom: 15px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: #333; box-shadow: 0 0 5px rgba(0, 0, 0, .08); transition: box-shadow .25s ease; }
.sht-gallery__zoom:hover { box-shadow: 0 0 9px rgba(0, 0, 0, .15); }
.sht-gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.sht-gallery__thumb { display: block; opacity: .5; transition: opacity .25s ease; }
.sht-gallery__thumb img { display: block; width: 100%; height: auto; }
.sht-gallery__thumb.is-active, .sht-gallery__thumb:hover { opacity: 1; }

/* Etiketten: Galerie oben rechts, Karten oben links */
.sht-labels { position: absolute; top: 15px; right: 15px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.sht-label { display: inline-flex; align-items: center; justify-content: center; }
.sht-label--sale { min-width: 50px; min-height: 55px; padding: 7px 12px; border-left: 5px solid var(--sht-primary); border-radius: 6px; background: #1b1b1b; color: #fff; font-family: var(--sht-font-title); font-size: 14px; font-weight: 800; line-height: 1; letter-spacing: 1px; text-transform: uppercase; }
.sht-label--out { padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--sht-title); font-size: 12px; font-weight: 600; line-height: 1.2; text-transform: uppercase; white-space: nowrap; box-shadow: 0 0 4px rgba(0, 0, 0, .1); }

/* Zusammenfassung */
.sht-product__crumbs { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.sht-product__crumbs a { color: var(--sht-text); }
.sht-product__crumbs a:hover { color: #555; }
.sht-product__crumbs .sht-crumbs__sep { margin-inline: 8px; }
.sht-product__crumbs .sht-crumbs__last { color: var(--sht-title); font-weight: 600; }
.sht-product__brand { float: right; display: flex; margin: 0 0 20px 10px; }
.sht-product__brand a, .sht-product__brand > span { display: flex; align-items: center; padding: 10px; background: #fff; box-shadow: 0 0 2px rgba(0, 0, 0, .12); }
.sht-product__brand-img { display: block; width: auto; height: auto; max-width: 130px; max-height: 52px; }
.sht-product__brand-name { color: var(--sht-title); font-weight: 700; text-transform: uppercase; }
.sht-product .product_title { margin: 0 0 20px; color: var(--sht-entities); font-family: var(--sht-font-entities); font-size: 34px; font-weight: 500; line-height: 1.2; }
.sht-product__summary > .price { margin: 0 0 20px; color: var(--sht-primary); font-size: 23.25px; font-weight: 600; line-height: 1.2; }
.sht-product__summary > .price del { color: #bbb; font-size: .9em; font-weight: 400; opacity: 1; }
.sht-product__summary > .price ins { color: var(--sht-primary); }
.sht-product__summary .woocommerce-product-details__short-description { margin-bottom: 20px; }
.sht-product__summary .woocommerce-product-details__short-description > :last-child { margin-bottom: 0; }
.sht-product__summary p.stock { margin: 0 0 20px; color: #333; font-weight: 600; line-height: 18px; }
/* Wie WoodMart: Lieferzeit immer dunkelgrau mit rotem Häkchen (überstimmt die Ampelfarben aus sh-iwag-core). */
.sht-product__summary p.stock:is(.in-stock, .available-on-backorder) { color: #333; }
.sht-product__summary p.stock.in-stock::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-inline-end: .3em; vertical-align: -2px; background: var(--sht-primary); -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5 11-11'/%3E%3C/svg%3E"); mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5 11-11'/%3E%3C/svg%3E"); }
.sht-product__summary p.stock.out-of-stock { color: #b50808; }
.sht-product__summary form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 20px; }
.sht-product__summary form.cart .single_add_to_cart_button { border-radius: 999px; box-shadow: none; }
.sht-product__summary form.cart .single_add_to_cart_button.loading { opacity: .6; }
.sht-product__summary .ppcp-messages:not(:empty) { margin-bottom: 20px; }
.sht-meta { clear: both; margin: 0 0 10px; padding-top: 20px; border-top: 1px solid var(--sht-border); }
.sht-meta > span { display: block; margin-bottom: 10px; }
.sht-meta > span:last-child { margin-bottom: 0; }
.sht-meta__label { color: #333; font-weight: 600; }
.sht-meta a { color: var(--sht-text); }
.sht-meta a:hover { color: #333; }
.sht-share { display: flex; flex-wrap: wrap; align-items: center; }
.sht-share__label { color: #333; font-weight: 600; }
.sht-share__link { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 27px; border-radius: 50%; color: rgba(0, 0, 0, .6); }
.sht-share__link:hover { color: #333; }
.sht-share__link .sht-icon--facebook, .sht-share__link .sht-icon--x { stroke-width: 2; }

/* Reiter: Band über die volle Breite, roter Strich oben am aktiven Reiter */
.sht-tabs { margin-bottom: 40px; padding: 40px 0; border-top: 1px solid var(--sht-border); border-bottom: 1px solid var(--sht-border); }
.sht-tabs__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 30px; margin: -40px 0 30px; padding: 0; list-style: none; }
.sht-tabs__nav li { margin: 0; }
.sht-tabs__tab span { display: block; padding: 1px 0; line-height: 1.2; }
.sht-tabs__tab { position: relative; padding: 30px 0 10px; color: rgba(51, 51, 51, .7); font-family: var(--sht-font-title); font-size: 16px; font-weight: 700; line-height: 1.4; text-transform: uppercase; }
.sht-tabs__tab::after { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--sht-primary); transition: width .3s var(--sht-ease); }
.sht-tabs__tab:hover, .sht-tabs__tab.is-active { color: #333; }
.sht-tabs__tab:hover::after, .sht-tabs__tab.is-active::after { width: 100%; }
.sht-tabs__acc { display: none; }
.sht-tabs__panel[hidden] { display: none; }
.sht-tabs__panel .sht-entry > :last-child { margin-bottom: 0; }
.sht-tabs .shop_attributes { margin: 0; }
.sht-tabs .shop_attributes th { width: 25%; color: var(--sht-title); font-family: var(--sht-font-text); font-size: 15px; font-weight: 700; text-transform: none; }
.sht-tabs .shop_attributes td p { margin: 0; }

/* Karussell und Produktkarten */
.sht-carousel-section { margin-bottom: 0; }
.sht-carousel-section__title { margin: 0 0 20px; font-size: 22px; line-height: 1.4; }
.sht-carousel { position: relative; }
.sht-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; margin: 0; padding: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; }
.sht-carousel__track::-webkit-scrollbar { display: none; }
.sht-carousel__track > li { scroll-snap-align: start; }
/* Pfeile höchstens bis kurz vor den Bildschirmrand (0.5.4): Mit −80 px plus 30 px Einblend-Versatz liefen Produktseiten
   seitlich über – bei 1100 px um 95 px, am Handy um 14 px (gemessen live 09.11.2026). Eingeblendet wird jetzt per Zoom,
   der keinen Versatz nach aussen hat. (100% − 100vw) / 2 = Abstand Karussell–Bildschirmrand. */
.sht-carousel__arrow { position: absolute; top: 50%; z-index: 3; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-top: -25px; color: #333; opacity: 0; transform: scale(.8); transition: opacity .25s ease, transform .25s ease; }
.sht-carousel__arrow--prev { left: max(-80px, calc((100% - 100vw) / 2 + 10px)); }
.sht-carousel__arrow--next { right: max(-80px, calc((100% - 100vw) / 2 + 10px)); }
.sht-carousel:hover .sht-carousel__arrow, .sht-carousel__arrow:focus-visible { opacity: 1; transform: none; }
.sht-carousel__arrow:disabled { opacity: 0 !important; pointer-events: none; }
.sht-carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 21px; }
.sht-carousel__dot { width: 10px; height: 10px; padding: 0; border: 2px solid #bbb; border-radius: 10px; }
.sht-carousel__dot.is-active, .sht-carousel__dot:hover { border-color: #333; background: #333; }
.sht-cards--grid { display: grid; grid-template-columns: repeat(var(--sht-cols, 4), minmax(0, 1fr)); gap: 20px; margin: 0 0 30px; padding: 0; list-style: none; }
.sht-card { position: relative; margin: 0; border-radius: 10px; color: var(--sht-text); font-size: 15px; line-height: 1.4; text-align: center; }
.sht-card__thumb { position: relative; }
.sht-card__img { display: block; }
.sht-card__img img { display: block; width: 100%; height: auto; }
.sht-card .sht-labels { top: 7px; left: 7px; right: auto; align-items: flex-start; }
.sht-card .sht-label--sale { min-height: 40px; font-size: 12px; }
.sht-card__cart { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 50%; color: #333; opacity: 0; transition: opacity .25s ease, color .25s ease; }
.sht-card:hover .sht-card__cart, .sht-card__cart:focus-visible { opacity: 1; }
.sht-card__cart:hover { color: var(--sht-primary); }
.sht-card__cart.loading { opacity: .5; pointer-events: none; }
.sht-card__cart.added::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 10px; height: 10px; border-radius: 50%; background: #459647; }
.sht-card + .added_to_cart, .sht-card__thumb .added_to_cart { display: none; }
@media (hover: none) { .sht-card__cart { opacity: 1; } }
/* Abstände wie die WoodMart-Karte: Titel −3 px, Kategorien +6, Preis +7, Lieferampel +14 */
.sht-card__info { display: flex; flex-direction: column; align-items: center; padding: 12px 10px; }
.sht-card__title { margin: -3px 0 0; color: var(--sht-entities); font-family: var(--sht-font-entities); font-size: 15px; font-weight: 500; line-height: 1.4; }
.sht-card__info > .sht-card__cats { margin-top: 6px; }
.sht-card__info > .price { display: block; margin-top: 7px; }
.sht-card__info > .sh-lieferstatus-badge { margin-top: 14px; }
.sht-card__title a { color: var(--sht-entities); }
.sht-card__title a:hover { color: var(--sht-primary); }
.sht-card__cats { color: #a5a5a5; font-size: .95em; line-height: 1.4; }
.sht-card__cats a { color: inherit; }
.sht-card__cats a:hover { color: #555; }
.sht-card .price { color: #1b1b1b; font-family: var(--sht-font-title); font-size: 15px; font-weight: 800; line-height: 1.4; }
.sht-card .price del { color: #a5a5a5; font-weight: 600; }

/* ========== Tabellen (Warenkorb, Kasse, Konto) wie WoodMart ========== */
.shop_table { width: 100%; margin: 0; border-collapse: collapse; color: var(--sht-text); font-size: 15px; line-height: 1.4; }
.shop_table th { padding: 15px 10px; border-bottom: 2px solid rgba(0, 0, 0, .075); color: var(--sht-title); font-family: var(--sht-font-title); font-size: 16px; font-weight: 700; line-height: 1.4; text-transform: uppercase; text-align: start; vertical-align: middle; }
.shop_table td { padding: 15px 12px; border-bottom: 1px solid var(--sht-border); vertical-align: middle; text-align: start; }
.shop_table :is(th, td):first-child { padding-inline-start: 0; }
.shop_table :is(th, td):last-child { padding-inline-end: 0; text-align: end; }
.shop_table small { color: var(--sht-text); font-size: 12px; font-weight: 400; }
.shop_table .includes_tax .amount, .shop_table small .amount { color: var(--sht-primary); }
button[disabled], input[disabled], .button.disabled, .button:disabled { opacity: .6 !important; cursor: default !important; }

/* ========== Warenkorb: Tabelle ⅔ | Summen ⅓ ========== */
.sht-cart { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.sht-cart > .woocommerce-cart-form { grid-column: 1; }
.sht-cart > .cart-collaterals { grid-column: 2; }
.sht-cart .shop_table thead th { white-space: nowrap; }
.sht-cart .product-remove { width: 44px; padding-inline: 0; text-align: end; }
.sht-cart .product-remove .remove { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: var(--sht-text, #767676) !important; transition: color .2s ease, background-color .2s ease; }
.sht-cart .product-remove .remove .sht-icon { display: block; }
.sht-cart .product-remove .remove:hover, .sht-cart .product-remove .remove:focus-visible { color: var(--sht-primary) !important; background-color: var(--sht-surface, #f5f5f5); }
.sht-cart .product-thumbnail { width: 104px; }
.sht-cart .product-thumbnail img { display: block; width: 80px; height: auto; }
.sht-cart .product-name a { color: var(--sht-entities); font-family: var(--sht-font-entities); font-weight: 500; }
.sht-cart .product-name a:hover { color: var(--sht-primary); }
.sht-cart .product-name .variation, .sht-cart .product-name dl { margin: 5px 0 0; font-size: 14px; }
.sht-cart .product-price .amount { color: var(--sht-text); font-weight: 400; }
.sht-cart .product-subtotal .amount { color: var(--sht-primary); font-weight: 600; }
.sht-cart td.actions { padding: 0; border-bottom: 0; text-align: end; }
.sht-cart__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px 10px; margin-top: 30px; }
.sht-cart__actions .coupon { display: flex; flex-wrap: wrap; gap: 10px; }
.sht-cart__actions .coupon .input-text { width: 230px; }
.sht-cart__actions > :not(.coupon):not(button[name="update_cart"]) { flex-basis: 100%; text-align: start; }
.sht-cart__actions > :not(.coupon):not(button[name="update_cart"]):empty { display: none; }
.cart-totals-inner, .cart_totals { color: var(--sht-text); }
.sht-cart .cart_totals { padding: 25px; border: 3px solid rgba(0, 0, 0, .075); }
.sht-cart .cart_totals h2 { margin: 0 0 15px; font-size: 22px; text-transform: uppercase; }
.sht-cart .cart_totals .shop_table th { width: auto; padding: 15px 10px 15px 0; border-bottom: 1px solid var(--sht-border); font-size: 15px; text-transform: none; }
.sht-cart .cart_totals .shop_table td { padding: 15px 0 15px 12px; text-align: end; }
.sht-cart .cart_totals .order-total :is(th, td) { border-bottom: 0; }
.sht-cart .cart_totals .order-total .amount { color: var(--sht-primary); font-size: 1.3em; font-weight: 600; }
.sht-cart .cart_totals .order-total small .amount { font-size: 1em; }
.sht-cart .cart_totals .woocommerce-shipping-totals td { font-size: 14px; }
.sht-cart .wc-proceed-to-checkout { margin-top: 15px; padding-top: 30px; }
.sht-cart .wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; border-radius: 999px; }
.sht-cart__cross { margin-top: 40px; }

/* ========== Kasse: Kundendaten | Bestellung (grau, gezackter Rand) ========== */
:is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) > .woocommerce-info { display: inline-flex; flex-wrap: wrap; gap: 5px 7px; margin: 0 0 25px; padding: 0; background: none; color: var(--sht-title); font-weight: 600; line-height: 1.6; }
.woocommerce-form-login-toggle .woocommerce-info a, .woocommerce-form-coupon-toggle .woocommerce-info a { color: var(--sht-primary); text-decoration: underline; }
form.checkout_coupon, .woocommerce-checkout form.woocommerce-form-login { max-width: 500px; margin: 0 0 30px; padding: 25px; border: 2px dashed var(--sht-border); }
form.checkout_coupon p:first-child { margin: 0 0 10px; }
form.checkout_coupon .form-row { margin: 0 0 10px; }
.sht-checkout { display: grid; grid-template-columns: calc(50% - 30px) 50%; gap: 30px; align-items: start; }
.sht-checkout__kunde { padding-top: 30px; min-width: 0; }
.sht-checkout h3 { margin: 0 0 20px; font-size: 22px; text-transform: uppercase; }
.sht-checkout .woocommerce-billing-fields, .sht-checkout .woocommerce-shipping-fields, .sht-checkout .woocommerce-account-fields, .sht-checkout .woocommerce-additional-fields { margin-bottom: 20px; }
.woocommerce form .form-row { margin: 0 0 20px; padding: 0; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { float: left; width: 48%; }
.woocommerce form .form-row-last { float: right; }
.woocommerce form .form-row-wide, .woocommerce form .form-row::after { clear: both; }
.woocommerce form .form-row::after { content: ""; display: table; }
.woocommerce form .form-row label { margin-bottom: 5px; }
.woocommerce form .form-row .required { color: var(--sht-primary); border: 0; text-decoration: none; }
.woocommerce form .form-row .optional { color: #bbb; font-size: 12px; }
.woocommerce form .form-row.woocommerce-invalid :is(input, select, .select2-selection) { border-color: #e01020; }
.woocommerce form .form-row .woocommerce-input-wrapper { display: block; }
.woocommerce-checkout .select2-container .select2-selection--single { height: 42px; border: 2px solid var(--sht-form-border); border-radius: 0; }
.woocommerce-checkout .select2-container .select2-selection__rendered { padding: 0 30px 0 15px; color: var(--sht-text); font-size: 14px; line-height: 38px; }
.woocommerce-checkout .select2-container .select2-selection__arrow { height: 38px; right: 8px; }
.sht-checkout__review { position: relative; padding: 30px; background: #f7f7f7; }
.sht-checkout__review::before, .sht-checkout__review::after { content: ""; position: absolute; left: 0; width: 100%; height: 10px; background: radial-gradient(farthest-side, transparent 6px, #f7f7f7 0) repeat-x; background-size: 15px 15px; }
.sht-checkout__review::before { top: -10px; background-position: 0 6px; }
.sht-checkout__review::after { bottom: -10px; background-position: 0 -1px; }
.sht-checkout__review #order_review_heading { text-align: center; }
.sht-review-table { margin-bottom: 20px; padding: 5px 25px; overflow-x: auto; background: #fff; box-shadow: 1px 1px 2px rgba(0, 0, 0, .05); }
.woocommerce-checkout-review-order-table th { padding-inline-end: 10px; }
.woocommerce-checkout-review-order-table tfoot th { font-size: 15px; text-transform: none; }
.woocommerce-checkout-review-order-table tbody td.product-name { padding-inline-end: 12px; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--sht-title); font-weight: 600; }
.woocommerce-checkout-review-order-table tfoot :is(th, td) { border-bottom: 1px solid var(--sht-border); }
.woocommerce-checkout-review-order-table tfoot tr:last-child :is(th, td) { border-bottom: 0; }
.woocommerce-checkout-review-order-table .cart-subtotal .amount { color: var(--sht-primary); font-weight: 600; }
.woocommerce-checkout-review-order-table .order-total .amount { color: var(--sht-primary); font-size: 1.3em; font-weight: 600; }
.woocommerce-checkout-review-order-table .order-total small .amount { font-size: 1em; }
#payment .wc_payment_methods { margin: 0 0 20px; padding: 0 0 20px; border-bottom: 1px solid var(--sht-border); list-style: none; }
#payment .wc_payment_method { margin: 0 0 15px; }
#payment .wc_payment_method:last-child { margin-bottom: 0; }
#payment .wc_payment_method > label { display: inline; margin: 0; color: var(--sht-title); cursor: pointer; }
#payment .wc_payment_method > label img { display: inline-block; max-height: 24px; margin-inline-start: 5px; vertical-align: middle; }
#payment .payment_box { margin-top: 15px; padding: 15px; background: #fff; box-shadow: 1px 1px 2px rgba(0, 0, 0, .05); font-size: 14px; }
#payment .payment_box p:last-child { margin-bottom: 0; }
#payment .place-order { margin: 0; padding: 0; }
.woocommerce-privacy-policy-text p { margin: 0 0 20px; }
.woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-link { color: var(--sht-title); font-weight: 600; }
#place_order { width: 100%; min-height: 48px; padding: 5px 28px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.sht-cart__actions button[name="update_cart"] { box-shadow: none; }
.woocommerce-terms-and-conditions-wrapper .form-row { margin-bottom: 20px; }

/* ========== Mein Konto (Gäste): Anmelden | Registrieren (WoodMart «register tabs») ========== */
.sht-login { display: flex; flex-wrap: wrap; max-width: 1080px; margin: 0 auto -80px; }
.sht-login__col { flex: 0 0 50%; max-width: 50%; margin-bottom: 80px; padding: 0 40px; }
.sht-login:not(.sht-login--reg) .sht-login__col--login { flex-basis: 100%; max-width: 540px; margin-inline: auto; }
.sht-login__title { margin: 0 0 20px; font-size: 24px; }
.sht-login .form-row { margin: 0 0 20px; }
.sht-login label { font-size: 15px; line-height: 1.6; }
.sht-login .woocommerce-form-login__submit { margin-top: 0; }
.sht-login .woocommerce-form-login__submit, .sht-login .woocommerce-form-register__submit { width: 100%; border-radius: 999px; }
.sht-login__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
.sht-login__footer .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; margin: 0; color: var(--sht-title); }
.sht-login__footer .lost_password { margin: 0; color: var(--sht-primary); font-size: 15px; }
.sht-login__footer .lost_password:hover { color: var(--sht-primary-hover); }
.sht-login__col--text { border-left: 1px solid var(--sht-border); text-align: center; }
.sht-login__text p { margin: 0 0 20px; }
.sht-login__switch { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 5px 20px; background: #f7f7f7; color: #333; font-size: 13px; font-weight: 600; line-height: 1.2; text-transform: uppercase; transition: background-color .25s ease; }
.sht-login__switch:hover { background: #efefef; }
.sht-login__or { display: none; }
/* Ohne JavaScript beide Formulare, mit JavaScript umschaltbar. */
.sht-login:not(.is-js) .sht-login__col--text { display: none; }
.sht-login.is-js[data-modus="login"] .sht-login__col--register,
.sht-login.is-js[data-modus="register"] .sht-login__col--login,
.sht-login.is-js[data-modus="login"] .sht-login__text--login,
.sht-login.is-js[data-modus="register"] .sht-login__text--register { display: none; }
.sht-login.is-js .sht-login__col--register { order: 0; }
.sht-login.is-js .sht-login__col--text { order: 1; }

/* ========== Mein Konto (angemeldet): Menü links, Inhalt rechts (WoodMart-Standard) ========== */
.sht-account { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 30px; align-items: start; }
.sht-account__side { padding-inline-end: 30px; border-inline-end: 1px solid var(--sht-border); }
.sht-account__title { margin: 0 0 15px; padding: 0 10px 10px 15px; border-bottom: 1px solid var(--sht-border); font-size: 18px; text-transform: uppercase; }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-MyAccount-navigation li > a { display: flex; align-items: center; min-height: 42px; padding: 5px 15px; color: var(--sht-title); font-weight: 600; }
.woocommerce-MyAccount-navigation li > a:hover { background: rgba(0, 0, 0, .03); color: var(--sht-title); }
.woocommerce-MyAccount-navigation li.is-active > a { background: rgba(0, 0, 0, .06); }
.sht-account__content > *:not(:last-child) { margin-bottom: 20px; }
.sht-account__content > .button, .sht-account__content > div > .button { border-radius: 999px; }
.sht-account__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; }
.sht-account__tile a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; min-height: 160px; padding: 20px; border-radius: 0; color: var(--sht-title); font-weight: 600; text-align: center; transition: box-shadow .3s ease, background-color .3s ease; }
.sht-account__tile a:hover { box-shadow: 0 0 4px rgba(0, 0, 0, .18); color: var(--sht-title); }
.sht-account__icon { color: #ccc; transition: color .3s ease; }
.sht-account__tile a:hover .sht-account__icon { color: var(--sht-primary); }
.woocommerce-orders-table .button, .woocommerce-MyAccount-content .woocommerce-button { min-height: 36px; padding: 5px 14px; font-size: 12px; border-radius: 999px; }
.woocommerce-orders-table__cell-order-actions .button:not(:last-child) { margin-inline-end: 5px; }
.woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.woocommerce-Address-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.woocommerce-Address-title h2, .woocommerce-Address-title h3 { margin: 0; font-size: 20px; }
.woocommerce-Address-title .edit { color: var(--sht-link); font-size: 1.1em; }
.woocommerce-Address address { font-style: normal; line-height: 1.7; }
.woocommerce-EditAccountForm fieldset { margin: 40px 0 20px; padding: 0; border: 0; }
.woocommerce-EditAccountForm legend { margin-bottom: 20px; color: var(--sht-title); font-family: var(--sht-font-title); font-size: 20px; font-weight: 700; text-transform: uppercase; }
:is(button[name="save_account_details"], button[name="save_address"]) { border-radius: 999px; }

/* ========== Bestellbestätigung (WoodMart: grüner gestrichelter Kasten) ========== */
:is(.woocommerce-thankyou-order-received, .woocommerce-thankyou-order-failed) { width: 100%; margin: 0 0 30px; padding: 3%; border: 2px dashed #7a9c59; color: #7a9c59; font-size: 22px; font-weight: 600; line-height: 1.4; text-align: center; }
.woocommerce-thankyou-order-failed { border-color: #b50808; color: #b50808; }
.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 15px 0; margin: 0 0 40px; padding: 0; list-style: none; }
.woocommerce-order-overview li { flex: 1 1 auto; margin: 0; padding: 0 20px; border-inline-end: 1px dashed var(--sht-border); color: var(--sht-text); font-size: 12px; line-height: 1.6; text-transform: uppercase; }
.woocommerce-order-overview li:first-child { padding-inline-start: 0; }
.woocommerce-order-overview li:last-child { border-inline-end: 0; }
.woocommerce-order-overview li strong { display: block; color: var(--sht-title); font-size: 15px; text-transform: none; }
.woocommerce-order-overview li strong .amount { color: var(--sht-primary); }
.woocommerce-order-details, .woocommerce-order-downloads, .woocommerce-customer-details { margin-bottom: 40px; }
:is(.woocommerce-order-details, .woocommerce-customer-details, .woocommerce-order-downloads) > h2 { margin-bottom: 20px; font-size: 22px; text-transform: uppercase; }
.woocommerce-order-details .shop_table tfoot th { font-size: 15px; text-transform: none; }
.woocommerce-order-details .order_item .product-quantity { color: var(--sht-title); font-weight: 600; }
.woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.woocommerce-columns--addresses h2 { font-size: 20px; }
.woocommerce-customer-details address { margin: 0; font-style: normal; line-height: 1.7; }
.woocommerce-bacs-bank-details { margin-bottom: 40px; }
.wc-bacs-bank-details-heading { font-size: 22px; text-transform: uppercase; }
.wc-bacs-bank-details { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 0 0 20px; padding: 0; list-style: none; }
.wc-bacs-bank-details li { margin: 0; padding: 0 20px; border-inline-end: 1px dashed var(--sht-border); font-size: 12px; text-transform: uppercase; }
.wc-bacs-bank-details li:first-child { padding-inline-start: 0; }
.wc-bacs-bank-details li strong { display: block; color: var(--sht-title); font-size: 15px; text-transform: none; }

/* «Warenkorb anzeigen»-Link nach dem Hinzufügen: der Mini-Warenkorb öffnet sich ohnehin */
.sht-product__summary .added_to_cart { display: none; }

/* Grossansicht der Galerie */
.sht-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 40px; border: 0; background: rgba(0, 0, 0, .92); }
.sht-lightbox::backdrop { background: transparent; }
.sht-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.sht-lightbox__img { max-width: 100%; max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; }
.sht-lightbox__close, .sht-lightbox__nav { position: absolute; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; color: #fff; font-size: 40px; line-height: 1; }
.sht-lightbox__close { top: 10px; right: 10px; }
.sht-lightbox__nav--prev { left: 10px; top: 50%; margin-top: -25px; }
.sht-lightbox__nav--next { right: 10px; top: 50%; margin-top: -25px; }

@media (max-width: 1024px) {
	.sht-cart, .sht-checkout { grid-template-columns: minmax(0, 1fr); }
	.sht-account__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sht-cart > .cart-collaterals { grid-column: 1; }
}

@media (max-width: 768px) {
	/* Warenkorb als Karten: Bild links, Angaben rechts (WooCommerce «responsive» wie WoodMart) */
	.sht-cart .shop_table_responsive thead { display: none; }
	.sht-cart .shop_table_responsive tbody, .sht-cart .shop_table_responsive tr, .sht-cart .shop_table_responsive td { display: block; }
	.sht-cart .woocommerce-cart-form__cart-item { position: relative; min-height: 115px; margin-bottom: 15px; padding: 0 0 15px 115px; border-bottom: 1px solid var(--sht-border); }
	.sht-cart .woocommerce-cart-form__cart-item td { padding: 0; border: 0; text-align: end; }
	.sht-cart .woocommerce-cart-form__cart-item .product-thumbnail { position: absolute; left: 0; top: 0; width: 100px; }
	.sht-cart .woocommerce-cart-form__cart-item .product-thumbnail img { width: 100px; }
	.sht-cart .woocommerce-cart-form__cart-item .product-remove { position: absolute; top: -6px; right: -8px; width: auto; }
	.sht-cart .woocommerce-cart-form__cart-item .product-name { padding: 0 30px 5px 0; text-align: start; } /* Platz für den Mülleimer oben rechts */
	.sht-cart .woocommerce-cart-form__cart-item :is(.product-price, .product-quantity, .product-subtotal) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 5px; margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px dashed var(--sht-border); }
	.sht-cart .woocommerce-cart-form__cart-item .product-subtotal { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
	.sht-cart .woocommerce-cart-form__cart-item :is(.product-price, .product-quantity, .product-subtotal)::before { content: attr(data-title) ":"; color: var(--sht-title); font-weight: 600; }
	.sht-cart .woocommerce-cart-form__cart-item .product-subtotal small { flex-basis: 100%; text-align: end; }
	.sht-cart .woocommerce-cart-form__cart-item .sht-qty input.qty, .sht-cart .woocommerce-cart-form__cart-item .sht-qty__btn { height: 30px; }
	.sht-cart td.actions { display: flow-root; }
	/* Summen am Handy: Beschriftung links, Betrag rechts in einer Zeile (wie WoodMart) */
	.sht-cart .cart_totals .shop_table_responsive th { display: none; }
	.sht-cart .cart_totals .shop_table_responsive td { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 10px; padding: 15px 0; text-align: end; }
	.sht-cart .cart_totals .shop_table_responsive td::before { content: attr(data-title); color: var(--sht-title); font-family: var(--sht-font-title); font-weight: 700; text-align: start; }
	.sht-cart .cart_totals .shop_table_responsive td small { flex-basis: 100%; }
	.sht-cart__actions { flex-direction: column; align-items: stretch; gap: 30px; margin-top: 15px; }
	.sht-cart__actions button[name="update_cart"] { order: -2; width: 100%; }
	.sht-cart__actions > :not(.coupon):not(button[name="update_cart"]) { order: -1; }
	.sht-cart__actions .coupon { flex-direction: column; padding: 25px; border: 2px dashed var(--sht-border); }
	.sht-cart__actions .coupon .input-text, .sht-cart__actions .coupon .button { width: 100%; }
	.sht-account { grid-template-columns: minmax(0, 1fr); }
	.sht-account__side { padding-inline-end: 0; border-inline-end: 0; }
	.sht-account__tiles { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-Addresses, .woocommerce-columns--addresses { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-order-overview { flex-direction: column; }
	.woocommerce-order-overview li { padding: 0 0 10px; border-inline-end: 0; border-bottom: 1px dashed var(--sht-border); }
	.shop_table_responsive.woocommerce-orders-table thead { display: none; }
	.shop_table_responsive.woocommerce-orders-table :is(tbody, tr, td, th) { display: block; }
	.shop_table_responsive.woocommerce-orders-table tr { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--sht-border); }
	.shop_table_responsive.woocommerce-orders-table :is(td, th) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px; padding: 0 0 5px; border-bottom: 1px dashed var(--sht-border); text-align: end; }
	.shop_table_responsive.woocommerce-orders-table :is(td, th)::before { content: attr(data-title); color: #333; font-weight: 600; }
	.sht-login { margin: 0 0 -30px; }
	.sht-login__col { flex-basis: 100%; max-width: 100%; margin-bottom: 30px; padding: 0; }
	.sht-login__col--text { border-left: 0; }
	.sht-login__or { display: flex; align-items: center; gap: 15px; margin: 0 0 20px; color: var(--sht-title); font-family: var(--sht-font-title); font-size: 15px; font-weight: 700; line-height: 1.4; text-transform: uppercase; }
	.sht-login__or::before, .sht-login__or::after { content: ""; flex: 1; border-top: 1px solid var(--sht-border); }
	.sht-checkout__kunde { padding-top: 0; }
	.sht-checkout__review { padding: 20px; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { float: none; width: 100%; }
}

@media (max-width: 768px) {
	.sht-content--product { padding-top: 20px; }
	.sht-lightbox { padding: 10px; }
	.sht-product__top { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 20px; }
	.sht-labels { top: 10px; right: 10px; }
	.sht-label--sale { min-height: 40px; font-size: 10px; }
	.sht-gallery__zoom { width: 45px; height: 45px; }
	.sht-product__crumbs { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
	.sht-product__crumbs .sht-crumbs__last, .sht-product__crumbs .sht-crumbs__sep:last-of-type { display: none; }
	.sht-product__brand { float: none; margin: 0 0 20px; }
	.sht-product__brand a, .sht-product__brand > span { padding: 0; background: none; box-shadow: none; }
	.sht-product__brand-img { max-width: 100px; max-height: 40px; }
	.sht-product .product_title { font-size: 20px; }
	.sht-product__summary > .price { margin-bottom: 15px; font-size: 19.5px; }
	.sht-tabs { margin-bottom: 20px; padding: 0; border-top: 0; }
	.sht-tabs__nav { display: none; }
	.sht-tabs__item { border-top: 1px solid var(--sht-border); }
	.sht-tabs__acc { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 0; color: var(--sht-title); font-size: 16px; font-weight: 700; line-height: 1.6; text-align: start; }
	.sht-tabs__item.is-open .sht-tabs__acc { color: var(--sht-primary); }
	.sht-tabs__chev { color: #bbb; transition: transform .3s ease; }
	.sht-tabs__item.is-open .sht-tabs__chev { transform: rotate(180deg); }
	.sht-tabs__panel { padding-bottom: 20px; }
	.sht-carousel__track { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
	.sht-carousel__arrow { width: 40px; height: 40px; margin-top: -20px; opacity: 1; transform: none; }
	.sht-carousel__arrow--prev { left: max(-28px, calc((100% - 100vw) / 2 + 4px)); }
	.sht-carousel__arrow--next { right: max(-28px, calc((100% - 100vw) / 2 + 4px)); }
	.sht-carousel__dots { display: none; }
	.sht-carousel-section { padding-bottom: 16px; }
	.sht-card__cart { opacity: 1; }
	.sht-cards--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* Leerer Warenkorb (Inhalt, Feinschliff in Phase 3) */
.cart-empty.woocommerce-info { background: none; color: var(--sht-title); text-align: center; font-family: var(--sht-font-title); font-size: 48px; font-weight: 700; line-height: 1.2; padding: 160px 0 0; position: relative; }
.cart-empty.woocommerce-info::before { content: ""; position: absolute; top: 20px; left: 50%; width: 140px; height: 140px; transform: translateX(-50%); background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6e6e6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 3.5h2.6l2.3 11.2h11l2-8H6.3'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.4'/%3E%3Ccircle cx='17' cy='19.5' r='1.4'/%3E%3Cpath d='M10.5 7.5l5 4M15.5 7.5l-5 4'/%3E%3C/svg%3E"); }
.return-to-shop { text-align: center; margin-top: 30px; }
@media (max-width: 768px) { .cart-empty.woocommerce-info { font-size: 28px; padding-top: 130px; } .cart-empty.woocommerce-info::before { width: 110px; height: 110px; } }
