/* ==========================================================================
   Twenty Wine : blanc monochrome, Questrial, filets fins.
   ========================================================================== */

@font-face {
	font-family: "Questrial";
	src: url("../fonts/questrial-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #000;
	--text: #222;
	--muted: #6f6f6f;
	--line: #e4e4e4;
	--soft: #f5f5f3;
	--bg: #fff;
	--wine: #8b2252;
	--font: "Questrial", "Helvetica Neue", Arial, sans-serif;
	--pad: clamp(16px, 4vw, 48px);
	--marquee-h: 36px;
	--radius: 4px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 14px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body.tw-locked {
	overflow: hidden;
}

img,
video,
svg {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 400;
	line-height: 1.1;
	color: var(--ink);
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

[hidden] {
	display: none !important;
}

:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tw-skip {
	position: absolute;
	left: 8px;
	top: -60px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
}

.tw-skip:focus {
	top: 8px;
}

/* ---------- Boutons ---------- */

.tw-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--ink);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.2;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s;
}

.tw-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--ink);
	color: #fff;
}

.tw-btn--solid,
.woocommerce a.button.checkout,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-block-components-button:not(.is-link) {
	background: var(--ink);
	color: #fff;
}

.tw-btn--solid:hover,
.woocommerce a.button.checkout:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover {
	background: #2a2a2a;
	color: #fff;
}

.woocommerce button.button.disabled,
.woocommerce button.button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.tw-arrow-link {
	display: inline-flex;
	gap: 10px;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink);
}

.tw-arrow-link span {
	transition: transform 0.25s var(--ease);
}

.tw-arrow-link:hover span {
	transform: translateX(5px);
}

.tw-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
}

.tw-eyebrow {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
	color: var(--ink);
}

.tw-badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.3;
}

.tw-badge--out {
	background: #fff;
	color: var(--ink);
	border: 1px solid var(--ink);
}

/* ---------- Bandeau défilant ---------- */

.tw-marquee {
	position: relative;
	z-index: 30;
	height: var(--marquee-h);
	overflow: hidden;
	background: var(--ink);
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
}

.tw-marquee__track {
	display: flex;
	width: max-content;
	height: 100%;
	animation: tw-marquee 48s linear infinite;
}

.tw-marquee:hover .tw-marquee__track {
	animation-play-state: paused;
}

.tw-marquee__group {
	display: flex;
	align-items: center;
	justify-content: space-around;
	min-width: 50vw;
	flex-shrink: 0;
}

.tw-marquee__group li {
	padding: 0 28px;
}

.tw-marquee__group li::after {
	content: "｜";
	margin-left: 56px;
	opacity: 0.5;
}

@keyframes tw-marquee {
	to {
		transform: translateX(-25%);
	}
}

/* ---------- En-tête ---------- */

.tw-header {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 14px;
	padding: 28px var(--pad) 20px;
}

.tw-logo__img {
	display: block;
	width: 118px;
	height: auto;
}

.tw-burger {
	position: absolute;
	top: 22px;
	right: calc(var(--pad) - 10px);
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: none;
}

.tw-burger__lines,
.tw-burger__lines::before {
	position: absolute;
	left: 9px;
	width: 30px;
	height: 1.5px;
	background: var(--ink);
	content: "";
}

.tw-burger__lines {
	top: 19px;
}

.tw-burger__lines::before {
	left: 0;
	top: 8px;
}

.tw-cart-link,
.tw-hero__cart {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 4px;
	font-size: 13px;
}

.tw-cart-count {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: 11px;
	line-height: 1;
}

/* ---------- Panneaux latéraux ---------- */

.tw-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(0, 0, 0, 0.42);
	animation: tw-fade 0.25s var(--ease);
}

.tw-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	width: min(400px, 100vw);
	padding: 0 24px 24px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--bg);
	animation: tw-slide 0.32s var(--ease);
}

.tw-drawer__head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 -24px 8px;
	padding: 10px 14px 10px 24px;
	border-bottom: 1px solid var(--line);
	background: var(--bg);
}

.tw-drawer__title {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
}

.tw-drawer__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
}

@keyframes tw-slide {
	from {
		transform: translateX(100%);
	}
}

@keyframes tw-fade {
	from {
		opacity: 0;
	}
}

.tw-menu-list {
	padding: 16px 0;
}

.tw-menu-list a {
	display: block;
	padding: 9px 0;
	font-size: 22px;
	line-height: 1.2;
	color: var(--ink);
}

.tw-menu-list a:hover,
.tw-menu-list .current-menu-item > a {
	color: var(--wine);
}

.tw-drawer__secondary {
	margin-top: auto;
	border-top: 1px solid var(--line);
}

.tw-menu-list--small a {
	padding: 6px 0;
	font-size: 13px;
	color: var(--muted);
}

/* ---------- Panier latéral (mini-panier WooCommerce) ---------- */

.widget_shopping_cart_content {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.woocommerce-mini-cart {
	flex: 1;
}

.woocommerce-mini-cart__empty-message {
	margin: 40px 0;
	text-align: center;
	color: var(--muted);
}

.woocommerce-mini-cart-item {
	position: relative;
	display: block;
	min-height: 121px;
	padding: 16px 28px 16px 92px;
	border-bottom: 1px solid var(--line);
	font-size: 13px;
}

.woocommerce-mini-cart-item > a:not(.remove) {
	display: block;
	padding-right: 4px;
	color: var(--ink);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.woocommerce-mini-cart-item img {
	position: absolute;
	left: 0;
	top: 16px;
	width: 76px;
	height: 101px;
	object-fit: cover;
	background: var(--soft);
}

.woocommerce-mini-cart-item .remove {
	position: absolute;
	right: -8px;
	top: 8px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	font-size: 20px;
	line-height: 1;
	color: var(--muted);
}

.woocommerce-mini-cart-item .remove:hover {
	color: var(--ink);
}

.woocommerce-mini-cart-item .variation {
	margin: 4px 0;
	color: var(--muted);
}

.woocommerce-mini-cart-item .variation dt,
.woocommerce-mini-cart-item .variation dd,
.woocommerce-mini-cart-item .variation p {
	display: inline;
	margin: 0;
}

.woocommerce-mini-cart-item .quantity {
	display: block;
	margin-top: 4px;
	color: var(--muted);
}

.woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 18px 0;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink);
}

.woocommerce-mini-cart__total strong {
	font-weight: 400;
}

.woocommerce-mini-cart__buttons {
	display: grid;
	gap: 10px;
	margin: 0;
}

.woocommerce-mini-cart__buttons .button {
	width: 100%;
}

/* ---------- Accueil ---------- */

.tw-hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: calc(100vh - var(--marquee-h));
	min-height: calc(100dvh - var(--marquee-h));
	padding: 72px var(--pad);
	overflow: hidden;
	background: #111;
	color: #fff;
	isolation: isolate;
}

.tw-hero__video {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tw-hero__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(0, 0, 0, 0.56);
}

.tw-hero__center {
	display: grid;
	gap: 26px;
	justify-items: start;
}

.tw-hero__logo {
	margin: 0;
	line-height: 0;
}

.tw-hero__logo-img {
	display: block;
	width: clamp(150px, 16vw, 200px);
	height: auto;
}

.tw-hero__menu {
	display: grid;
	gap: 2px;
}

.tw-hero__menu a {
	position: relative;
	display: inline-block;
	padding: 7px 0;
	font-size: 15px;
	line-height: 1.2;
	color: #fff;
	transition: transform 0.25s var(--ease), opacity 0.25s;
}

.tw-hero__menu:hover a {
	opacity: 0.55;
}

.tw-hero__menu a:hover,
.tw-hero__menu a:focus-visible {
	opacity: 1;
	transform: translateX(8px);
}

.tw-hero :focus-visible {
	outline-color: #fff;
}

.tw-hero__cart {
	position: absolute;
	top: 18px;
	right: var(--pad);
	color: #fff;
}

.tw-hero__cart .tw-cart-count {
	background: #fff;
	color: var(--ink);
}

.tw-hero__tagline {
	position: absolute;
	left: var(--pad);
	bottom: 22px;
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.8;
}

.tw-hero__pause {
	position: absolute;
	right: var(--pad);
	bottom: 12px;
	min-height: 44px;
	padding: 0 4px;
	border: 0;
	background: none;
	color: #fff;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.8;
}

.tw-hero__pause:hover {
	opacity: 1;
}

.tw-section {
	padding: clamp(56px, 8vw, 104px) var(--pad) clamp(40px, 6vw, 72px);
}

.tw-section .tw-eyebrow {
	margin-bottom: clamp(28px, 4vw, 48px);
}

.tw-section__more {
	margin: clamp(32px, 5vw, 56px) 0 0;
	text-align: center;
}

.tw-club {
	max-width: 640px;
	margin: 0 auto;
	padding: clamp(48px, 8vw, 104px) var(--pad);
	border-top: 1px solid var(--line);
	text-align: center;
}

.tw-club__title {
	margin-bottom: 20px;
	font-size: clamp(30px, 5vw, 52px);
	letter-spacing: -0.02em;
	text-transform: uppercase;
	line-height: 0.98;
}

.tw-club__text {
	margin-bottom: 28px;
	font-size: 15px;
	color: var(--text);
}

/* ---------- Grille de produits ---------- */

ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(28px, 3.4vw, 52px) clamp(12px, 1.6vw, 24px);
	max-width: 1320px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

ul.products::before,
ul.products::after {
	content: none !important;
}

ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

.tw-card__link {
	display: block;
	text-align: center;
}

.tw-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--soft);
}

.tw-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: opacity 0.45s var(--ease), transform 0.9s var(--ease);
}

.tw-card__img--hover {
	opacity: 0;
}

.tw-card__link:hover .tw-card__media.has-hover .tw-card__img--hover,
.tw-card__link:focus-visible .tw-card__media.has-hover .tw-card__img--hover {
	opacity: 1;
}

.tw-card__link:hover .tw-card__media:not(.has-hover) .tw-card__img {
	transform: scale(1.035);
}

.tw-card__media .tw-badge {
	position: absolute;
	top: 10px;
	left: 10px;
}

.tw-card__title {
	margin: 16px 8px 6px;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.3;
}

.tw-card__price {
	display: block;
	font-size: 13px;
	color: var(--ink);
}

.price del,
.tw-card__price del {
	margin-right: 6px;
	color: var(--muted);
	font-size: 0.85em;
}

.price ins,
.tw-card__price ins {
	text-decoration: none;
}

/* ---------- Boutique ---------- */

.tw-shop {
	padding: 8px var(--pad) clamp(56px, 8vw, 96px);
}

.tw-shop__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1560px;
	margin: 0 auto 20px;
}

.tw-shop__title {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.tw-shop__tools {
	display: flex;
	align-items: center;
	gap: 8px;
}

.woocommerce-ordering {
	margin: 0;
	float: none;
}

.woocommerce-ordering select {
	height: 44px;
	padding: 0 30px 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
	font-size: 12px;
	appearance: none;
	-webkit-appearance: none;
}

.tw-shop__search {
	max-width: 1560px;
	margin: 0 auto 24px;
}

.tw-search {
	display: flex;
	gap: 10px;
	max-width: 520px;
	margin-left: auto;
}

.tw-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0 16px;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--bg);
}

.tw-shop__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 150px;
	gap: 32px;
	max-width: 1560px;
	margin: 0 auto;
}

.tw-shop__nav {
	position: sticky;
	top: 24px;
	align-self: start;
	text-align: right;
}

.tw-shop__nav li + li {
	margin-top: 2px;
}

.tw-shop__nav a {
	display: inline-block;
	padding: 3px 6px;
	font-size: 13px;
	color: var(--text);
}

.tw-shop__nav a:hover {
	color: var(--wine);
}

.tw-shop__nav a[aria-current="page"] {
	background: var(--ink);
	color: #fff;
}

.woocommerce-pagination {
	margin-top: 56px;
	text-align: center;
}

.woocommerce-pagination ul,
.nav-links {
	display: inline-flex;
	gap: 4px;
}

.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span,
.nav-links .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	border-radius: var(--radius);
	color: var(--ink);
}

.woocommerce-pagination .page-numbers .current,
.nav-links .page-numbers.current {
	background: var(--ink);
	color: #fff;
}

/* ---------- Fiche produit ---------- */

.tw-single {
	padding: 12px var(--pad) clamp(56px, 8vw, 96px);
}

.tw-product {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 88px);
	max-width: 1440px;
	margin: 0 auto;
}

.tw-product__gallery {
	display: grid;
	gap: 2px;
}

.tw-product__figure {
	margin: 0;
	background: var(--soft);
}

.tw-product__img {
	display: block;
	width: 100%;
	height: auto;
}

.tw-product__sticky {
	position: sticky;
	top: 24px;
	float: none !important;
	width: auto !important;
	max-width: 480px;
	padding-top: clamp(0px, 3vw, 44px);
}

.tw-product__sticky > .tw-badge {
	margin-bottom: 18px;
}

.product_title {
	margin: 0 0 16px;
	font-size: clamp(34px, 4.2vw, 54px);
	letter-spacing: -0.025em;
	text-transform: uppercase;
	line-height: 0.96;
	overflow-wrap: break-word;
}

.tw-product__sticky .price {
	margin: 0 0 22px;
	font-size: 20px;
	color: var(--ink);
}

.woocommerce-product-details__short-description {
	margin-bottom: 26px;
	color: var(--text);
}

.woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

/* Choix de taille */

table.variations {
	width: 100%;
	margin: 0 0 4px;
	border-collapse: collapse;
}

table.variations tr,
table.variations th,
table.variations td {
	display: block;
	padding: 0;
	text-align: left;
}

table.variations label,
.tw-field-label {
	display: block;
	margin-bottom: 8px;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

table.variations select {
	width: 100%;
	height: 48px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg);
}

.tw-swatches-ready select {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.tw-swatches {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
	gap: 6px;
}

.tw-swatch {
	min-height: 46px;
	padding: 0 8px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.tw-swatch:hover {
	border-color: var(--ink);
}

.tw-swatch[aria-pressed="true"] {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.tw-swatch:disabled {
	color: #b5b5b5;
	text-decoration: line-through;
	cursor: not-allowed;
	border-color: var(--line);
}

.reset_variations {
	display: none !important;
}

.tw-size-help {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--muted);
}

.tw-size-help a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.single_variation_wrap {
	margin-top: 18px;
}

.woocommerce-variation-price {
	display: none;
}

.woocommerce-variation-availability,
.tw-product__sticky .stock {
	margin: 0 0 12px;
	font-size: 12px;
	color: var(--muted);
}

/* Achat */

form.cart {
	margin: 0 0 8px;
}

.woocommerce-variation-add-to-cart,
form.cart:not(.variations_form) {
	display: grid;
	gap: 10px;
}

form.cart:not(.variations_form) {
	margin-top: 4px;
}

/* La quantité se règle dans le panier. */
.woocommerce div.product form.cart div.quantity {
	display: none !important;
}

form.cart .single_add_to_cart_button,
form.cart .tw-buy-now {
	width: 100%;
	min-height: 56px;
	float: none;
}

/* « Ajouter au panier » en contour, « Acheter maintenant » en plein. */
.woocommerce form.cart button.single_add_to_cart_button,
.woocommerce form.cart button.single_add_to_cart_button.disabled {
	background: var(--bg);
	color: var(--ink);
	opacity: 1;
	cursor: pointer;
}

.woocommerce form.cart button.single_add_to_cart_button:hover {
	background: var(--ink);
	color: #fff;
}

.tw-form-msg {
	margin: 0;
	padding: 10px 14px;
	border-left: 2px solid var(--wine);
	background: var(--soft);
	font-size: 13px;
	color: var(--ink);
}

/* Rubriques dépliables */

.tw-accordions {
	margin-top: 34px;
	border-bottom: 1px solid var(--line);
}

.tw-accordion {
	border-top: 1px solid var(--line);
}

.tw-accordion summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}

.tw-accordion summary::-webkit-details-marker {
	display: none;
}

.tw-plus {
	transition: transform 0.25s var(--ease);
}

.tw-accordion[open] .tw-plus {
	transform: rotate(45deg);
}

.tw-accordion__body {
	padding: 0 0 20px;
	color: var(--text);
}

.tw-accordion__body p:last-child {
	margin-bottom: 0;
}

/* Produits associés */

.tw-product__after {
	max-width: 1440px;
	margin: 0 auto;
}

.tw-product__after > section {
	margin-top: clamp(64px, 9vw, 120px);
}

.tw-product__after > section > h2 {
	margin-bottom: clamp(24px, 4vw, 44px);
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
}

/* ---------- Pages ---------- */

.tw-page {
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(20px, 4vw, 48px) var(--pad) clamp(56px, 8vw, 104px);
}

.tw-page--wide {
	max-width: 1180px;
}

.tw-page--center {
	text-align: center;
}

.tw-page__title {
	margin-bottom: clamp(24px, 4vw, 44px);
	font-size: clamp(32px, 5vw, 54px);
	letter-spacing: -0.025em;
	text-transform: uppercase;
	line-height: 0.98;
}

.tw-page--wide .tw-page__title {
	text-align: center;
}

.tw-prose {
	font-size: 15px;
	line-height: 1.65;
}

.tw-prose h2 {
	margin: 2em 0 0.7em;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.tw-prose h3 {
	margin: 1.6em 0 0.5em;
	font-size: 18px;
}

.tw-prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tw-prose a:hover {
	color: var(--wine);
}

.tw-prose ul,
.tw-prose ol {
	margin: 0 0 1em;
	padding-left: 1.2em;
	list-style: revert;
}

.tw-prose table {
	width: 100%;
	border-collapse: collapse;
}

.tw-prose th,
.tw-prose td {
	padding: 10px 12px 10px 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	font-weight: 400;
}

.tw-prose th {
	color: var(--muted);
}

.tw-entry {
	padding: 24px 0;
	border-top: 1px solid var(--line);
}

.tw-entry__title {
	margin-bottom: 8px;
	font-size: 22px;
}

/* ---------- Formulaires et messages WooCommerce ---------- */

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.tw-prose input[type="text"],
.tw-prose input[type="email"],
.tw-prose input[type="password"],
.tw-prose input[type="tel"],
.tw-prose textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #bdbdbd;
	border-radius: var(--radius);
	background: var(--bg);
}

.woocommerce form .form-row label {
	font-size: 12px;
	color: var(--muted);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper > * {
	max-width: 1440px;
	margin: 0 auto 20px;
	padding: 14px 18px;
	border: 0;
	border-left: 2px solid var(--ink);
	background: var(--soft);
	color: var(--ink);
	list-style: none;
}

.woocommerce-error {
	border-left-color: var(--wine);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	content: none;
}

.woocommerce-message .button,
.woocommerce-info .button {
	min-height: 0;
	margin-left: 12px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	background: none;
	color: inherit;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover {
	background: none;
	color: var(--wine);
}

.woocommerce-MyAccount-navigation ul {
	padding: 0;
	list-style: none;
}

.woocommerce-MyAccount-navigation a {
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
}

.woocommerce-MyAccount-navigation .is-active a {
	color: var(--wine);
}

/* Blocs panier et commande */

.wc-block-cart,
.wc-block-checkout {
	font-size: 14px;
}

.wc-block-components-product-name {
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.wc-block-components-button:not(.is-link) {
	min-height: 56px;
}

/* ---------- Pied de page ---------- */

.tw-footer {
	display: grid;
	justify-items: center;
	gap: 22px;
	padding: clamp(40px, 6vw, 64px) var(--pad) 32px;
	border-top: 1px solid var(--line);
	text-align: center;
}

.tw-footer__mark {
	width: min(240px, 62vw);
	height: auto;
}

.tw-footer__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 22px;
}

.tw-footer__links a {
	display: inline-block;
	padding: 6px 0;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text);
}

.tw-footer__links a:hover,
.tw-footer__legal a:hover {
	color: var(--wine);
}

.tw-footer__legal {
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--muted);
}

/* ---------- Mode drop ---------- */

.tw-btn--light {
	border-color: #fff;
	background: #fff;
	color: var(--ink);
}

.tw-btn--light:hover {
	background: transparent;
	color: #fff;
}

.tw-badge--drop {
	background: var(--wine);
}

.tw-menu-drop > a {
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.tw-menu-list .tw-menu-drop > a {
	color: var(--wine);
}

.tw-hero__menu .tw-menu-drop > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 10px;
	border-radius: 50%;
	background: #fff;
	vertical-align: middle;
	animation: tw-pulse 1.6s ease-in-out infinite;
}

.tw-countdown {
	display: inline-flex;
	gap: 0.5em;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum";
	line-height: 1;
	color: inherit;
}

.tw-countdown__unit {
	display: inline-flex;
	align-items: baseline;
	gap: 0.12em;
}

.tw-countdown__value {
	display: inline-block;
	min-width: 1.25em;
	text-align: right;
}

.tw-countdown__label {
	font-size: 0.32em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	opacity: 0.7;
}

.tw-live-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 10px;
	border: 1px solid currentColor;
	border-radius: 50%;
	vertical-align: middle;
}

.tw-live-dot.is-live {
	background: currentColor;
	animation: tw-pulse 1.6s ease-in-out infinite;
}

@keyframes tw-pulse {
	50% {
		opacity: 0.25;
	}
}

/* Accueil : le drop occupe le bas de la vidéo. */

.tw-hero--drop {
	align-content: center;
	padding-bottom: clamp(220px, 30vh, 280px);
}

.tw-hero__drop {
	position: absolute;
	left: var(--pad);
	right: var(--pad);
	bottom: clamp(20px, 4vh, 40px);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: end;
	gap: 12px 32px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.tw-hero__drop-name {
	grid-row: 1 / span 2;
	align-self: end;
	margin: 0;
	font-size: clamp(30px, 4.6vw, 64px);
	letter-spacing: -0.02em;
	text-transform: uppercase;
	line-height: 0.95;
}

.tw-hero__drop-name .tw-live-dot {
	width: 10px;
	height: 10px;
	margin-bottom: 0.35em;
}

.tw-hero__drop-status {
	grid-column: 2;
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
	opacity: 0.85;
}

.tw-countdown--hero {
	grid-column: 2;
	justify-self: center;
	font-size: clamp(34px, 5.2vw, 72px);
	letter-spacing: -0.02em;
}

.tw-hero__drop .tw-btn {
	grid-column: 3;
	grid-row: 1 / span 2;
	justify-self: end;
	align-self: end;
}

.tw-hero--drop .tw-hero__pause {
	top: 12px;
	bottom: auto;
	left: var(--pad);
	right: auto;
}

/* Section de l'accueil et page du drop */

.tw-drop-title {
	margin-bottom: 12px;
	font-size: clamp(40px, 8vw, 112px);
	letter-spacing: -0.035em;
	text-transform: uppercase;
	line-height: 0.9;
	text-align: center;
}

.tw-drop-sub {
	margin: 0 0 clamp(28px, 4vw, 52px);
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
	color: var(--ink);
}

/* Un drop compte souvent moins de quatre pièces : la rangée reste centrée. */
.tw-section--drop ul.products {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.tw-section--drop ul.products li.product {
	flex: 0 1 calc((100% - 3 * clamp(12px, 1.6vw, 24px)) / 4);
	min-width: min(42vw, 220px);
}

.tw-drop-banner {
	display: grid;
	justify-items: center;
	gap: 14px;
	max-width: 1560px;
	margin: 0 auto clamp(28px, 4vw, 48px);
	padding: clamp(28px, 5vw, 56px) 16px;
	background: var(--ink);
	color: #fff;
	text-align: center;
}

.tw-drop-banner p {
	margin: 0;
}

.tw-drop-banner__status {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.tw-countdown--banner {
	font-size: clamp(36px, 6vw, 80px);
	letter-spacing: -0.02em;
}

.tw-drop-banner__text {
	max-width: 46ch;
	opacity: 0.85;
}

/* Fiche d'un produit du drop pas encore en vente */

.tw-drop-wait {
	display: grid;
	gap: 16px;
	margin-top: 8px;
	padding: 22px;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
}

.tw-drop-wait__status {
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
}

.tw-countdown--product {
	font-size: clamp(30px, 3.4vw, 44px);
	color: var(--ink);
}

.tw-drop-note {
	margin: 4px 0 0;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wine);
}

@media (max-width: 760px) {
	.tw-hero--drop {
		padding-bottom: 300px;
	}

	.tw-hero__drop {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.tw-hero__drop-name,
	.tw-hero__drop-status,
	.tw-countdown--hero,
	.tw-hero__drop .tw-btn {
		grid-column: 1;
		grid-row: auto;
		justify-self: center;
	}

	.tw-hero__drop .tw-btn {
		width: 100%;
		margin-top: 6px;
	}
}

/* ---------- Accès restreint ---------- */

.tw-gate-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

.tw-gate {
	display: grid;
	flex: 1;
	align-content: center;
	justify-items: center;
	gap: 26px;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
	padding: 56px 20px 32px;
	text-align: center;
}

.tw-gate__logo {
	margin: 0 0 14px;
	line-height: 0;
	perspective: 600px;
}

.tw-gate__logo-img {
	width: 132px;
	height: auto;
	animation: tw-sway 7s ease-in-out infinite;
}

@keyframes tw-sway {
	0%,
	100% {
		transform: rotateY(-28deg);
	}

	50% {
		transform: rotateY(28deg);
	}
}

.tw-gate__title {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink);
}

.tw-gate__title span {
	display: block;
}

.tw-gate__drop {
	display: grid;
	justify-items: center;
	gap: 8px;
}

.tw-gate__drop p {
	margin: 0;
	font-size: 10px;
	letter-spacing: 0.12em;
	white-space: nowrap;
	text-transform: uppercase;
	color: var(--muted);
}

.tw-countdown--gate {
	font-size: 30px;
	color: var(--ink);
}

.tw-gate__form,
.tw-gate__code form {
	display: grid;
	gap: 6px;
	width: 100%;
}

.tw-gate input[type="text"],
.tw-gate input[type="tel"],
.tw-gate input[type="email"],
.tw-gate input[type="password"] {
	width: 100%;
	height: 44px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #cfcfcf;
	border-radius: 0;
	background: none;
	font-size: 14px;
	color: var(--ink);
	transition: border-color 0.2s;
}

.tw-gate input::placeholder {
	color: #767676;
	opacity: 1;
}

.tw-gate input:focus {
	outline: none;
	border-bottom-color: var(--ink);
}

.tw-gate input:focus-visible {
	box-shadow: 0 1px 0 var(--ink);
}

.tw-gate__submit {
	justify-self: center;
	min-height: 44px;
	margin-top: 14px;
	padding: 0 12px;
	border: 0;
	background: none;
	font-size: 14px;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 5px;
	transition: text-decoration-color 0.2s;
}

.tw-gate__submit:hover {
	text-decoration-color: currentColor;
}

.tw-gate__trap {
	position: absolute;
	left: -9999px;
}

.tw-gate__consent {
	margin: 10px 0 0;
	font-size: 11px;
	line-height: 1.5;
	color: var(--muted);
}

.tw-gate__consent a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tw-gate__error {
	margin: 0;
	padding: 10px 14px;
	border-left: 2px solid var(--wine);
	background: var(--soft);
	font-size: 13px;
	text-align: left;
	color: var(--ink);
}

.tw-gate__code {
	width: 100%;
}

.tw-gate__code summary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 12px;
	color: var(--muted);
	cursor: pointer;
	list-style: none;
}

.tw-gate__code summary::-webkit-details-marker {
	display: none;
}

.tw-gate__code summary:hover {
	color: var(--ink);
}

.tw-gate__footer {
	display: flex;
	justify-content: center;
	gap: 18px;
	padding: 20px;
	font-size: 11px;
	color: var(--muted);
}

.tw-gate__footer a:hover {
	color: var(--ink);
}

/* ---------- Écrans moyens et petits ---------- */

@media (max-width: 1100px) {
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 899px) {
	.tw-shop__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.tw-shop__nav {
		position: static;
		order: -1;
		margin: 0 calc(var(--pad) * -1);
		padding: 0 var(--pad);
		overflow-x: auto;
		text-align: left;
		scrollbar-width: none;
	}

	.tw-shop__nav::-webkit-scrollbar {
		display: none;
	}

	.tw-shop__nav ul {
		display: flex;
		gap: 6px;
		width: max-content;
	}

	.tw-shop__nav li + li {
		margin-top: 0;
	}

	.tw-shop__nav a {
		padding: 12px 14px;
		border: 1px solid var(--line);
		border-radius: 999px;
		white-space: nowrap;
	}

	.tw-shop__nav a[aria-current="page"] {
		border-color: var(--ink);
	}

	.tw-product {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.tw-single {
		padding-top: 0;
		overflow-x: clip;
	}

	.tw-product__gallery {
		display: flex;
		gap: 2px;
		margin: 0 calc(var(--pad) * -1);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.tw-product__gallery::-webkit-scrollbar {
		display: none;
	}

	.tw-product__figure {
		flex: 0 0 100%;
		scroll-snap-align: start;
	}

	.tw-product__figure:not(:only-child) {
		flex-basis: 88%;
	}

	.tw-product__sticky {
		position: static;
		max-width: none;
		padding-top: 0;
	}
}

@media (max-width: 640px) {
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tw-header {
		padding-top: 22px;
	}

	.tw-burger {
		top: 14px;
	}

	.tw-logo__img {
		width: 104px;
	}

	.tw-shop__title {
		font-size: 11px;
	}

	.tw-hero__tagline {
		bottom: 58px;
		right: var(--pad);
		text-align: center;
	}

	.tw-hero__pause {
		left: var(--pad);
		text-align: center;
	}

	.tw-search {
		flex-direction: column;
	}
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.tw-marquee__track {
		width: 100%;
		justify-content: center;
		animation: none;
	}

	.tw-marquee__group[aria-hidden="true"],
	.tw-marquee__group li:not(:first-child) {
		display: none;
	}

	.tw-marquee__group li::after {
		content: none;
	}
}
