/*
Theme Name: Vino7
Theme URI: https://vino7.de
Description: Shop-Theme der Vinothek Vino7 im Treff.clubhaus2. Child-Theme von Twenty Twenty-Five mit WooCommerce und Germanized.
Author: DigitalerCaddy
Author URI: https://digitalercaddy.de
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: vino7
*/

/* Design read: E-Commerce-Weinhandel für Restaurantgäste 40+ und Geschenkkäufer.
   Lane: dunkles Leder + Gold (Weinkarte der Vinothek), eine Akzentfarbe (Gold) für Aktionen,
   ruhige Bewegung (nur Hover/Fokus), große gut lesbare Grundschrift. */

:root {
	--v7-radius: 2px;
	--v7-line: color-mix(in srgb, var(--wp--preset--color--gold) 28%, transparent);
	--v7-line-strong: color-mix(in srgb, var(--wp--preset--color--gold) 55%, transparent);
	--v7-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Lederkorn: feine Textur auf einem fixierten Pseudo-Element (kein Repaint beim Scrollen) */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wp-site-blocks { position: relative; z-index: 1; }

::selection { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--base); }

/* Fokus: immer sichtbar, goldener Ring */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--gold-light);
	outline-offset: 3px;
	border-radius: var(--v7-radius);
}

/* ---------- Header ---------- */
.v7-header {
	border-bottom: 1px solid var(--v7-line);
	background: color-mix(in srgb, var(--wp--preset--color--base) 92%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	position: sticky;
	top: 0;
	z-index: 20;
}
.v7-header .v7-logo img { display: block; height: 52px; width: auto; }
.v7-header .wp-block-navigation { font-size: var(--wp--preset--font-size--small); letter-spacing: .04em; }
.v7-header .wp-block-navigation-item__content { padding-block: .4rem; border-bottom: 1px solid transparent; transition: border-color .25s var(--v7-ease), color .25s var(--v7-ease); }
.v7-header .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--gold-light); border-bottom-color: var(--v7-line-strong); }
.v7-header .wc-block-mini-cart__button { color: var(--wp--preset--color--cream); }
.v7-header .wc-block-mini-cart__badge { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--base); }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--cream) !important; }
@media (max-width: 781px) {
	.v7-header .v7-logo img { height: 42px; }
}

/* ---------- Typo-Helfer ---------- */
.v7-seo-h1 {
	font-family: var(--wp--preset--font-family--jost) !important;
	font-size: var(--wp--preset--font-size--x-small) !important;
	font-weight: 500 !important;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold) !important;
	margin: 0;
}
.v7-display {
	font-family: var(--wp--preset--font-family--cormorant);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.v7-display em { font-style: italic; font-weight: 500; color: var(--wp--preset--color--gold-light); padding-bottom: .05em; }
.v7-lead { font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--cream); max-width: 34ch; line-height: 1.55; }
.v7-muted { color: var(--wp--preset--color--muted); }
.v7-ornament { display: flex; align-items: center; gap: .9rem; color: var(--wp--preset--color--gold); }
.v7-ornament::before, .v7-ornament::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--v7-line-strong), transparent); }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link, .wc-block-components-button:not(.is-link), .woocommerce .button, .single_add_to_cart_button {
	transition: transform .2s var(--v7-ease), background-color .25s var(--v7-ease), color .25s var(--v7-ease), border-color .25s var(--v7-ease);
}
.wp-element-button:active, .wp-block-button__link:active, .wc-block-components-button:active, .single_add_to_cart_button:active { transform: translateY(1px); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--cream);
	border: 1px solid var(--v7-line-strong);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--wp--preset--color--gold); color: var(--wp--preset--color--gold-light); }

/* ---------- Hero ---------- */
.v7-hero { position: relative; overflow: hidden; }
.v7-hero__media { position: relative; margin: 0; }
.v7-hero__media .v7-hero__photo {
	display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
	border-radius: 999px 999px var(--v7-radius) var(--v7-radius);
	border: 1px solid var(--v7-line-strong);
	box-shadow: 0 30px 80px -30px rgb(0 0 0 / .7);
}
.v7-hero__seal {
	position: absolute; left: -2.5rem; bottom: 2rem; width: clamp(96px, 11vw, 150px); height: auto;
	filter: drop-shadow(0 14px 28px rgb(0 0 0 / .55));
}
@media (max-width: 781px) {
	.v7-hero__seal { left: auto; right: .75rem; bottom: -1.25rem; width: 92px; }
	.v7-hero__media .v7-hero__photo { aspect-ratio: 4 / 4.2; border-radius: 240px 240px var(--v7-radius) var(--v7-radius); }
}

/* ---------- Länder ---------- */
.v7-laender { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: var(--wp--preset--spacing--40); list-style: none; padding: 0; margin: 0; }
.v7-laender a { display: grid; justify-items: center; gap: .55rem; text-decoration: none; color: var(--wp--preset--color--cream); padding: .75rem .25rem; border-radius: var(--v7-radius); transition: background-color .25s var(--v7-ease); }
.v7-laender a:hover { background: color-mix(in srgb, var(--wp--preset--color--gold) 8%, transparent); }
.v7-laender img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 2px var(--wp--preset--color--base), 0 0 0 3.5px var(--wp--preset--color--gold); transition: transform .3s var(--v7-ease); }
.v7-laender a:hover img { transform: translateY(-2px); }
.v7-laender .v7-land-name { font-family: var(--wp--preset--font-family--cormorant); font-size: 1.3rem; font-weight: 600; line-height: 1.1; }
.v7-laender .v7-land-count { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); }
@media (max-width: 781px) {
	.v7-laender { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 104px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
	.v7-laender li { scroll-snap-align: start; }
}

/* ---------- Kategorien (Bento, 6 Kacheln) ---------- */
.v7-sorten { display: grid; gap: var(--wp--preset--spacing--30); grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); list-style: none; padding: 0; margin: 0; }
.v7-sorten li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.v7-sorten li:nth-child(2) { grid-column: span 2; }
.v7-sorten li:nth-child(5), .v7-sorten li:nth-child(6) { grid-column: span 2; }
.v7-sorten a { box-sizing: border-box; position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 190px; padding: var(--wp--preset--spacing--40); overflow: hidden; border: 1px solid var(--v7-line); border-radius: var(--v7-radius); color: var(--wp--preset--color--cream); text-decoration: none; isolation: isolate; }
.v7-sorten img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; z-index: -2; filter: blur(2px) brightness(.9); transform: scale(1.06); transition: transform .6s var(--v7-ease), filter .6s var(--v7-ease); }
.v7-sorten a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(23 12 15 / .25) 0%, rgb(23 12 15 / .82) 55%, rgb(23 12 15 / .96) 100%); }
.v7-sorten a:hover img { transform: scale(1.1); filter: blur(1px) brightness(1); }
.v7-sorten .v7-sorte-name { font-family: var(--wp--preset--font-family--cormorant); font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 600; line-height: 1.05; }
.v7-sorten li:nth-child(1) .v7-sorte-name { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.v7-sorten .v7-sorte-desc { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--cream); max-width: 32ch; margin-top: .35rem; }
.v7-sorten .v7-sorte-count { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--gold-light); letter-spacing: .08em; margin-top: .6rem; }
@media (max-width: 781px) {
	.v7-sorten { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(150px, auto); }
	.v7-sorten li:nth-child(1) { grid-column: span 2; grid-row: span 1; }
	.v7-sorten li:nth-child(2), .v7-sorten li:nth-child(5) { grid-column: span 1; }
	.v7-sorten li:nth-child(6) { grid-column: span 2; }
}

/* ---------- Produktkarten (Product Collection) ---------- */
.v7-grid .wc-block-product-template { gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40) !important; }
.v7-grid .wc-block-product { display: flex; flex-direction: column; text-align: left; height: 100%; }
.v7-grid .wc-block-components-product-image { margin-bottom: var(--wp--preset--spacing--30) !important; overflow: hidden; border: 1px solid var(--v7-line); border-radius: var(--v7-radius); background: var(--wp--preset--color--base-2); }
.v7-grid .wc-block-components-product-image img { aspect-ratio: 3 / 4 !important; object-fit: cover; object-position: top center; transition: transform .6s var(--v7-ease); }
.v7-grid .wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.03); }
.v7-grid .taxonomy-product_brand, .v7-brand { font-size: var(--wp--preset--font-size--x-small); letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--gold); margin: 0 0 .25rem; overflow-wrap: anywhere; }
.v7-grid .taxonomy-product_brand a, .v7-brand a { color: inherit; text-decoration: none; }
.v7-grid .wp-block-post-title { font-family: var(--wp--preset--font-family--cormorant); font-weight: 600; font-size: 1.45rem !important; line-height: 1.15; margin: 0 0 .5rem; text-align: left !important; }
.v7-grid .wp-block-post-title a { text-decoration: none; }
.v7-grid .wp-block-post-title a:hover { color: var(--wp--preset--color--gold-light); }
.v7-grid .wc-block-components-product-price { text-align: left !important; font-size: 1.15rem; color: var(--wp--preset--color--cream); }
.v7-grid .wp-block-woocommerce-gzd-product-price-label { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); text-align: left !important; margin: .1rem 0 0; }
.v7-grid .wp-block-button, .v7-grid .wc-block-components-product-button { margin-top: auto !important; padding-top: var(--wp--preset--spacing--30); justify-content: flex-start !important; text-align: left !important; }
.v7-grid .wc-block-components-product-button .wp-block-button__link { width: 100%; }

/* Rubrik-Chips (Kategorien / Länder) */
.v7-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.v7-chips a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border: 1px solid var(--v7-line); border-radius: 999px; color: var(--wp--preset--color--cream); text-decoration: none; font-size: var(--wp--preset--font-size--small); transition: border-color .25s var(--v7-ease), background-color .25s var(--v7-ease); min-height: 44px; }
.v7-chips a:hover { border-color: var(--wp--preset--color--gold); }
.v7-chips a[aria-current="page"] { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--base); border-color: var(--wp--preset--color--gold); }
.v7-chips img { width: 20px; height: 20px; border-radius: 50%; }
@media (max-width: 781px) {
	.v7-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; scroll-snap-type: x proximity; }
	.v7-chips li { flex: none; scroll-snap-align: start; }
}

/* ---------- Leder-Band (Raritäten) ---------- */
.v7-leder {
	background:
		radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--wp--preset--color--leather-2) 85%, transparent), transparent 60%),
		var(--wp--preset--color--leather);
	border-block: 1px solid var(--v7-line-strong);
}

/* ---------- Abholung ---------- */
.v7-abholung img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--v7-radius); border: 1px solid var(--v7-line); }
.v7-fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); margin: 0; }
.v7-fakten dt { font-size: var(--wp--preset--font-size--x-small); letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--gold); }
.v7-fakten dd { margin: .15rem 0 0; font-size: var(--wp--preset--font-size--small); }

/* ---------- Einzelprodukt ---------- */
.v7-single .woocommerce-product-gallery, .v7-single .wc-block-components-product-image { border: 1px solid var(--v7-line); border-radius: var(--v7-radius); overflow: hidden; background: var(--wp--preset--color--base-2); }
@media (min-width: 782px) { .v7-single .v7-sticky { position: sticky; top: 110px; } }
.v7-single h1.wp-block-post-title { font-size: clamp(2.1rem, 4vw, 3.2rem) !important; line-height: 1.05; margin-top: .25rem; }
.v7-single .wc-block-components-product-price, .v7-single .wp-block-woocommerce-product-price { font-size: 1.9rem !important; color: var(--wp--preset--color--gold-light); font-family: var(--wp--preset--font-family--cormorant); font-weight: 600; }
.v7-kurz { margin-bottom: var(--wp--preset--spacing--30); }
.v7-kurz p { margin: 0 0 .4rem; }
.vino7-claim { font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-size: 1.5rem; color: var(--wp--preset--color--gold-light); line-height: 1.25; margin: 0 0 .5rem; }
.v7-single .wp-block-woocommerce-gzd-product-price-label { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); margin: .1rem 0; }
.v7-single .wp-block-woocommerce-gzd-product-price-label a { color: var(--wp--preset--color--cream); }
.v7-steckbrief { border-top: 1px solid var(--v7-line); border-bottom: 1px solid var(--v7-line); padding-block: var(--wp--preset--spacing--40); margin-block: var(--wp--preset--spacing--40); }
.v7-steckbrief .v7-fakten img { width: 18px; height: 18px; border-radius: 50%; vertical-align: -3px; margin-right: .35rem; }
.v7-auszeichnungen { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: var(--wp--preset--spacing--30) 0 0; }
.v7-auszeichnungen li { border: 1px solid var(--v7-line-strong); border-radius: 999px; padding: .3rem .8rem; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--gold-light); }
.v7-single form.cart { display: flex; gap: .75rem; align-items: stretch; flex-wrap: wrap; margin-top: var(--wp--preset--spacing--40); }
.v7-single form.cart .quantity input { height: 100%; min-height: 52px; width: 5rem; background: var(--wp--preset--color--base-2); color: var(--wp--preset--color--cream); border: 1px solid var(--v7-line-strong); border-radius: var(--v7-radius); text-align: center; font-size: 1.1rem; }
.v7-single form.cart .single_add_to_cart_button { min-height: 52px; padding-inline: 2rem !important; }

/* Produkt-Details (Tabs) */
.wp-block-woocommerce-product-details .wc-tabs { border-bottom: 1px solid var(--v7-line) !important; }
.wp-block-woocommerce-product-details .wc-tabs li a { color: var(--wp--preset--color--muted) !important; }
.wp-block-woocommerce-product-details .wc-tabs li.active a { color: var(--wp--preset--color--cream) !important; border-bottom: 2px solid var(--wp--preset--color--gold); }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { text-align: left; padding: .7rem .5rem; vertical-align: top; }
.woocommerce-product-attributes tr + tr th, .woocommerce-product-attributes tr + tr td { border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--gold) 14%, transparent); }
.woocommerce-product-attributes th { width: 34%; font-weight: 500; color: var(--wp--preset--color--gold); font-size: var(--wp--preset--font-size--small); }
.woocommerce-product-attributes td p { margin: 0; }

/* ---------- WooCommerce-Komponenten auf Dunkel ---------- */
.wc-block-breadcrumbs, .woocommerce-breadcrumb { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); }
.wc-block-breadcrumbs a, .woocommerce-breadcrumb a { color: var(--wp--preset--color--cream); }
.wc-block-components-text-input input, .wc-block-components-textarea, .wc-blocks-components-select__select, .wc-block-components-combobox .wc-block-components-combobox-control input,
.woocommerce input.input-text, .woocommerce select, .woocommerce textarea, .wc-block-components-quantity-selector {
	background: var(--wp--preset--color--base-2) !important;
	color: var(--wp--preset--color--cream) !important;
	border-color: var(--v7-line-strong) !important;
}
.wc-block-components-text-input label, .wc-block-components-combobox label, .wc-blocks-components-select__label { color: var(--wp--preset--color--muted) !important; }
.wc-block-components-quantity-selector input, .wc-block-components-quantity-selector button { color: var(--wp--preset--color--cream) !important; }
.wc-block-components-panel, .wc-block-components-totals-wrapper, .wc-block-components-order-summary, .wc-block-cart-items, .wc-block-components-sidebar-layout .wc-block-components-main { border-color: var(--v7-line) !important; }
.wc-block-cart-items th, .wc-block-components-product-metadata, .wc-block-components-formatted-money-amount { color: inherit; }
.wc-block-components-notice-banner { background: var(--wp--preset--color--base-2) !important; color: var(--wp--preset--color--cream) !important; border-color: var(--v7-line-strong) !important; }
.wc-block-components-notice-banner svg { fill: var(--wp--preset--color--gold) !important; }
.wc-block-components-radio-control__option, .wc-block-components-checkbox label { color: var(--wp--preset--color--cream); }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] { background: var(--wp--preset--color--base-2); border-color: var(--v7-line-strong); }
.wc-block-mini-cart__drawer .components-modal__content, .wc-block-mini-cart__drawer .wc-block-components-drawer__content { background: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--cream) !important; }
.wc-block-catalog-sorting select, .woocommerce-ordering select { background: var(--wp--preset--color--base-2); color: var(--wp--preset--color--cream); border: 1px solid var(--v7-line-strong); border-radius: var(--v7-radius); padding: .5rem .75rem; min-height: 44px; }
.wp-block-query-pagination a, .wp-block-query-pagination span { color: var(--wp--preset--color--cream); }
.wp-block-query-pagination .current { color: var(--wp--preset--color--gold-light); }

/* Rechtsseiten-Platzhalter */
.vino7-hinweis { border: 1px dashed var(--v7-line-strong); border-radius: var(--v7-radius); padding: var(--wp--preset--spacing--40); background: color-mix(in srgb, var(--wp--preset--color--gold) 7%, transparent); color: var(--wp--preset--color--cream); }

/* ---------- Footer ---------- */
.v7-footer { border-top: 1px solid var(--v7-line); }
.v7-footer a { color: var(--wp--preset--color--cream); text-decoration: none; }
.v7-footer a:hover { color: var(--wp--preset--color--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.v7-footer .v7-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: var(--wp--preset--font-size--small); }
.v7-footer .v7-emblem { width: 120px; height: auto; }
.v7-footer .wp-block-woocommerce-germanized-footer, .v7-footer .footer-info { color: var(--wp--preset--color--muted); }

/* Bewegung nur, wenn erwünscht */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Kasse: helle Standardflächen der Checkout-Blöcke auf Dunkel umstellen */
.wc-block-components-order-summary.is-large, .wc-block-components-order-summary { background: var(--wp--preset--color--base-2) !important; }
.wc-block-components-order-summary-item__quantity { background: var(--wp--preset--color--gold) !important; color: var(--wp--preset--color--base) !important; border-color: var(--wp--preset--color--gold) !important; box-shadow: none !important; }
.wc-blocks-components-select__container { background: var(--wp--preset--color--base-2) !important; }
.wc-blocks-components-select__select option { background: var(--wp--preset--color--base-2); color: var(--wp--preset--color--cream); }
.wc-block-components-radio-control__input, .wc-block-components-checkbox__input { background: var(--wp--preset--color--base-2) !important; border-color: var(--v7-line-strong) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--wp--preset--color--gold) !important; }
.wc-block-components-checkbox__mark { fill: var(--wp--preset--color--gold) !important; }
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button { min-height: 56px; }
.wc-block-components-checkout-step__description, .wc-block-components-address-card, .wc-block-components-totals-item__description { color: var(--wp--preset--color--muted); }
.wc-block-components-product-metadata .vino7-claim { font-size: 1.05rem; }

/* Mini-Warenkorb: geschlossener Drawer nicht per Tastatur erreichbar (axe aria-hidden-focus) */
.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer { visibility: hidden; transition: visibility 0s linear .35s; }
.wc-block-components-drawer__screen-overlay:not(.wc-block-components-drawer__screen-overlay--is-hidden) .wc-block-mini-cart__drawer { visibility: visible; transition-delay: 0s; }

/* ===== QA-Runde 2: Mobil/Tablet ===== */
h1, h2, h3, h4, .v7-display { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* Weingut-Zeile darf umbrechen (verursachte seitliches Scrollen) */
.v7-brand, .v7-brand a, .wp-block-post-terms.v7-brand { white-space: normal !important; overflow-wrap: anywhere; word-break: break-word; }

/* Produktkarten: Rechtstexte kompakt, Button einzeilig */
.wp-block-woocommerce-gzd-product-price-label { margin: 0 !important; line-height: 1.45; }
.v7-grid .wc-block-components-product-price { margin-bottom: .35rem !important; }
.v7-grid .wc-block-components-product-button .wp-block-button__link,
.v7-grid .wp-block-button .wp-block-button__link { white-space: nowrap; padding-inline: .75rem !important; min-height: 48px; }
@media (max-width: 599px) {
	.v7-grid .wp-block-post-title { font-size: 1.22rem !important; }
	.v7-grid .taxonomy-product_brand, .v7-brand { letter-spacing: .08em; }
	.v7-grid .wc-block-components-product-button .wp-block-button__link { font-size: .95rem; letter-spacing: .01em; }
}

/* Einzelprodukt: großer Preis nur oben, nicht in "Das könnte Ihnen auch schmecken" */
.v7-single .v7-grid .wc-block-components-product-price, .v7-single .v7-grid .wp-block-woocommerce-product-price { font-size: 1.15rem !important; color: var(--wp--preset--color--cream); font-family: var(--wp--preset--font-family--jost); font-weight: 400; }
/* Galerie sofort zeigen (WooCommerce blendet sie sonst erst per JS ein, schlecht für LCP) */
.woocommerce-product-gallery { opacity: 1 !important; }

/* Navigation: bis 1023 px Burger-Menü (vorher zweizeilig auf Tablets) */
@media (min-width: 600px) and (max-width: 1023px) {
	.v7-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.v7-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
.v7-header .wp-block-navigation__responsive-container-open,
.v7-header .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; align-items: center; justify-content: center; }
.v7-header .wc-block-customer-account__link, .v7-header .wc-block-mini-cart__button { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.35rem; padding-block: .6rem; }

/* Touch: kleine Textlinks bekommen eine unsichtbar größere Trefferfläche */
@media (pointer: coarse) {
	.wc-block-breadcrumbs a, .woocommerce-breadcrumb a, .wp-block-woocommerce-gzd-product-price-label a, .v7-more-link, .v7-steckbrief a { position: relative; }
	.wc-block-breadcrumbs a::after, .woocommerce-breadcrumb a::after, .wp-block-woocommerce-gzd-product-price-label a::after, .v7-more-link::after, .v7-steckbrief a::after { content: ""; position: absolute; inset: -12px -6px; }
	.v7-footer .v7-footer-links { gap: 0; }
	.v7-footer .v7-footer-links a, .v7-footer p a { display: inline-block; padding-block: .6rem; }
}

/* FAQ */
.v7-faq details { border-top: 1px solid var(--v7-line); }
.v7-faq details:last-child { border-bottom: 1px solid var(--v7-line); }
.v7-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 0; min-height: 44px; font-family: var(--wp--preset--font-family--cormorant); font-size: 1.4rem; font-weight: 600; line-height: 1.25; }
.v7-faq summary::-webkit-details-marker { display: none; }
.v7-faq summary::after { content: "+"; color: var(--wp--preset--color--gold); font-family: var(--wp--preset--font-family--jost); font-size: 1.5rem; font-weight: 300; transition: transform .25s var(--v7-ease); }
.v7-faq details[open] summary::after { transform: rotate(45deg); }
.v7-faq details p { margin: 0 0 1.2rem; max-width: 65ch; color: var(--wp--preset--color--cream); }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
@media (pointer: coarse) {
	.v7-fakten a, .entry-content a[href^="tel:"], .entry-content a[href^="mailto:"] { display: inline-block; padding-block: .6rem; }
}
.v7-grid .wp-block-post-title, .v7-sorten .v7-sorte-name, .v7-laender .v7-land-name { hyphens: manual; -webkit-hyphens: manual; }
.wp-site-blocks main .v7-chips { justify-content: center; }
@media (max-width: 781px) { .wp-site-blocks main .v7-chips { justify-content: flex-start; } }
