/* ==========================================================================
   Sorai — stiluri temă
   ========================================================================== */

:root {
	--ink: #1c1317;
	--ink-deep: #120c0f;
	--ink-soft: #2b1d22;
	--wine: #7a1f2b;
	--wine-dark: #5a1520;
	--gold: #d9b36a;
	--paper: #f4eee4;
	--tint: #ebe2d4;
	--card: #f8f4ec;
	--card-media: #f1e9dc;
	--text: #2a1f22;
	--muted: #5c4b47;
	--muted-2: #6b5a52;
	--line: #d8ccb8;
	--on-dark: #efe6d6;
	--on-dark-muted: #cfc3b0;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: Manrope, "Segoe UI", system-ui, -apple-system, sans-serif;
	--pad-x: clamp(20px, 5vw, 72px);
	--max: 1296px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.drawer-open, body.nav-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--wine-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; color: inherit; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--pad-x)); margin: 0 auto; padding: 0 var(--pad-x); }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--gold); color: var(--ink); padding: 10px 16px; }
.center { display: flex; justify-content: center; margin-top: 48px; }

.eyebrow { display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--wine); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow--gold { color: var(--gold); }

/* ---------- Butoane ---------- */
.btn, .button, button.button, a.button, input.button, .wp-element-button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 30px; border: 1px solid transparent; border-radius: 0;
	background: var(--text); color: var(--paper);
	font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
	cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover, .button:hover, .wp-element-button:hover { background: var(--wine); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #e6c47f; color: var(--ink); }
.btn--ghost-light { background: transparent; border-color: #6b5a52; color: var(--on-dark); }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--outline { background: transparent; border-color: var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--paper); }
.btn--dark { background: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.button.alt, .checkout-button, #place_order, .single_add_to_cart_button { background: var(--wine); color: #fff; }
.button.alt:hover, .checkout-button:hover, #place_order:hover, .single_add_to_cart_button:hover { background: var(--wine-dark); }
.button.loading, .btn.loading { opacity: .6; pointer-events: none; }
.button:disabled, .button.disabled { opacity: .5; cursor: not-allowed; }

.icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { color: var(--gold); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }

/* ---------- Formulare ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], select, textarea, .select2-container .select2-selection--single {
	width: 100%; min-height: 50px; padding: 12px 16px;
	border: 1px solid #bfb09a; border-radius: 0; background: #fffdf9; color: var(--text); font-size: 15px;
}
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { border-color: var(--wine); outline: none; box-shadow: 0 0 0 3px rgba(122, 31, 43, .15); }
label { font-size: 14px; font-weight: 600; }
.select2-container .select2-selection--single { display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 1.4; padding-left: 0; }
.select2-dropdown { border-color: #bfb09a; border-radius: 0; }

/* ---------- Bara de sus și antet ---------- */
.topbar { background: var(--ink-deep); color: var(--on-dark-muted); font-size: 13px; letter-spacing: .04em; text-align: center; padding: 9px var(--pad-x); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-dark); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--on-dark); line-height: 1; }
.brand:hover { color: var(--on-dark); }
.brand__word { font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: .32em; }
.brand__tag { margin-top: 6px; font-size: 10px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); }
.brand__logo { max-height: 56px; width: auto; }

.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px; }
.primary-nav a { color: var(--on-dark); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 8px 0; position: relative; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .25s var(--ease); }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a, .primary-nav .current-menu-ancestor > a { color: var(--gold); }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { right: 0; }
.primary-nav li { position: relative; }
.primary-nav .sub-menu { display: none; position: absolute; top: 100%; left: -20px; min-width: 220px; flex-direction: column; gap: 0; padding: 12px 0; background: var(--ink); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.primary-nav .sub-menu a { display: block; padding: 10px 20px; text-transform: none; letter-spacing: .02em; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: flex; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.nav-toggle { display: none; }
.cart-toggle .sorai-cart-count {
	position: absolute; top: 4px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-toggle .sorai-cart-count[data-count="0"] { display: none; }

.site-search { background: var(--ink-soft); padding: 20px 0; }
.site-search form { display: flex; gap: 12px; max-width: 720px; margin: 0 auto; }
.site-search input[type="search"] { background: transparent; border-color: #6b5a52; color: var(--on-dark); }
.site-search button { background: var(--gold); color: var(--ink); border: 0; padding: 0 24px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-dark); padding: 56px 0 96px; }
.hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 64px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 26px; }
.hero__title { margin: 0; font-size: clamp(46px, 6vw, 84px); line-height: 1.02; text-wrap: balance; }
.hero__text { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.7; color: var(--on-dark-muted); }
.hero__slogan { margin: 0; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--gold); }
.hero__media { position: relative; min-height: 540px; background: var(--ink-soft); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.hero__media .cover, .split__media .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bottles { display: flex; align-items: flex-end; gap: 28px; height: 460px; padding-bottom: 0; }
.hero__bottles .bottle { width: 100px; height: 400px; }
.hero__bottles .bottle:nth-child(2) { height: 450px; width: 112px; }
.hero--404 { padding: 120px 0; }

/* ---------- Secțiuni ---------- */
.section { padding: 104px 0; }
.section--tight { padding: 64px 0 96px; }
.section--tint { background: var(--tint); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-title { margin: 0; font-size: clamp(38px, 4.4vw, 58px); line-height: 1.05; max-width: 680px; text-wrap: balance; }
.section-lead { margin: 0; max-width: 420px; color: var(--muted); line-height: 1.7; }

.ranges { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.range-card {
	display: flex; flex-direction: column; gap: 16px; min-height: 300px; padding: 40px 36px;
	background: #fff; border-top: 4px solid var(--gold); color: var(--text); text-decoration: none;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.range-card--1 { border-top-color: var(--wine); }
.range-card--2 { border-top-color: var(--text); }
.range-card:hover { color: var(--text); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(42, 31, 34, .1); }
.range-card:hover .link-arrow .icon { transform: translateX(4px); }
.range-card__name { font-family: var(--serif); font-size: 46px; font-weight: 600; line-height: 1; }
.range-card__list { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.range-card .link-arrow { margin-top: auto; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 22px; border: 1px solid var(--text); background: transparent; color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.chip:hover { background: rgba(42, 31, 34, .06); }
.chip.is-active { background: var(--text); color: var(--paper); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 72px; align-items: center; }
.split__media { position: relative; min-height: 520px; background: #d8ccb8; }
.split__copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.media-placeholder { position: absolute; inset: 0; display: flex; align-items: flex-start; padding: 24px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.newsletter { background: var(--wine); color: #f8f0e4; padding: 80px 0; }
.newsletter__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px; }
.newsletter__title { font-size: 44px; margin-bottom: 8px; }
.newsletter p { color: #f0dccf; margin: 0; }
.newsletter__form { flex: 1 1 420px; max-width: 560px; }
.newsletter__form input[type="email"], .newsletter__form input[type="text"] { background: transparent; border-color: #f0dccf; color: #fff; }
.newsletter__form input::placeholder { color: #e3c8bb; }
.newsletter__form input[type="submit"], .newsletter__form button { background: #f8f0e4; color: var(--wine); border: 0; min-height: 50px; padding: 0 28px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; cursor: pointer; }
.newsletter .wpcf7-form p { margin: 0 0 12px; }

.cta-band { background: var(--ink); color: var(--on-dark); padding: 72px 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band__slogan { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(32px, 4vw, 48px); color: var(--gold); }

/* ---------- Antet de pagină ---------- */
.page-banner { background: var(--ink); color: var(--on-dark); padding: 44px 0 60px; }
.page-banner .container { display: flex; flex-direction: column; gap: 16px; }
.page-banner__title { margin: 0; font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.page-banner__text { max-width: 640px; font-size: 17px; line-height: 1.7; color: var(--on-dark-muted); }
.page-banner__text p:last-child { margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted-2); }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--wine); }
.page-banner .breadcrumb, .story-hero .breadcrumb { color: #a89a88; }
.page-banner .breadcrumb a:hover, .story-hero .breadcrumb a:hover { color: var(--gold); }

.story-hero { position: relative; background: var(--ink); color: var(--on-dark); padding: 72px 0 96px; overflow: hidden; }
.story-hero.has-image { padding: 200px 0 80px; }
.story-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.story-hero__inner { position: relative; display: flex; flex-direction: column; gap: 18px; }
.story-hero__title { margin: 0; font-size: clamp(48px, 7vw, 96px); line-height: 1; max-width: 900px; }
.story-hero__text { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.7; color: var(--on-dark-muted); }

/* ---------- Text din editor ---------- */
.prose { font-size: 17px; line-height: 1.8; color: #4a3b38; }
.prose--page { max-width: 820px; }
.prose--story { max-width: 1000px; }
.prose h2 { font-size: clamp(32px, 3.6vw, 44px); color: var(--text); margin: 1.4em 0 .5em; }
.prose h3 { font-size: 28px; color: var(--text); margin: 1.2em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose img { margin: 1.5em 0; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.post-date { color: var(--muted-2); font-size: 14px; }
.post-image { margin-bottom: 32px; }
.wc-page { max-width: var(--max); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 32px; }
.post-card { background: var(--card); }
.post-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card__body { padding: 24px; }
.post-card__title { font-size: 28px; }
.post-card__title a { color: var(--text); text-decoration: none; }

/* ---------- Compatibilitate conținut Flatsome ---------- */
.fx-section { position: relative; margin: 0 0 48px; }
.fx-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; margin: 0 0 32px; }
.fx-col { grid-column: span var(--span, 12); min-width: 0; }
.fx-banner { position: relative; margin: 0 0 32px; }
.fx-bg { width: 100%; margin: 0 0 24px; }
.fx-gap { height: 32px; }
.fx-divider { width: 60px; margin: 16px 0 24px; border: 0; border-top: 2px solid var(--gold); }
.fx-image { width: 100%; }
.fx-acc { border-bottom: 1px solid var(--line); padding: 14px 0; }
.fx-acc summary { cursor: pointer; font-weight: 700; }
@media (max-width: 849px) { .fx-col { grid-column: span 12; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 72px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-item .icon { flex: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); color: var(--wine); }
.contact-item > div { display: flex; flex-direction: column; gap: 4px; font-size: 18px; }
.contact-item a { color: var(--text); text-decoration: none; }
.contact-item a:hover { color: var(--wine); }
.contact-form { background: var(--card); padding: 40px; }
.contact-form .wpcf7-form p { margin-bottom: 16px; }
.contact-form input[type="submit"] { width: auto; min-height: 52px; padding: 0 32px; background: var(--wine); color: #fff; border: 0; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; cursor: pointer; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.4) sepia(.15); }
.social { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-dark-muted); padding: 80px 0 36px; font-size: 14px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; line-height: 1.7; }
.footer-col p { margin: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-title { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 4px; }
.brand--footer .brand__word { font-size: 28px; color: var(--on-dark); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid #3a2e2c; font-size: 13px; color: #a89a88; }

/* ==========================================================================
   WooCommerce
   ========================================================================== */

/* ---------- Grila de produse ---------- */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); }
ul.products::before, ul.products::after { display: none; }
ul.products li.product { margin: 0; padding: 0; width: auto; float: none; display: flex; }
.product-card { display: flex; flex-direction: column; width: 100%; background: var(--card); transition: box-shadow .25s var(--ease); }
.product-card:hover { box-shadow: 0 18px 40px rgba(42, 31, 34, .1); }
.product-card__media { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 320px; padding: 24px 24px 0; background: var(--card-media); overflow: hidden; }
.product-card__img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: transform .4s var(--ease); }
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__media .bottle { width: 80px; height: 260px; }
.product-card__body { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; padding: 22px 24px 24px; }
.product-card__meta { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--wine); }
.product-card__title { margin: 0; font-size: 25px; font-weight: 600; line-height: 1.15; }
.product-card__title a { color: var(--text); text-decoration: none; }
.product-card__title a:hover { color: var(--wine); }
.product-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.product-card .price { font-size: 18px; font-weight: 700; color: var(--text); }
.product-card .button { min-height: 44px; padding: 0 16px; font-size: 12px; }
.product-card .added_to_cart { display: none; }
.home-products ul.products { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }

.price del { color: var(--muted-2); font-weight: 400; font-size: .85em; margin-right: 6px; }
.price ins { text-decoration: none; color: var(--wine); }

.badges { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { padding: 6px 10px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; background: var(--wine); color: #fff; }
.badge--sale { background: var(--gold); color: var(--ink); }
.badge--out { background: var(--muted); }

/* ---------- Magazin: filtre și bară ---------- */
.shop-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 56px; padding-bottom: 96px; }
.shop-filters { flex: 1 1 240px; max-width: 280px; position: sticky; top: 108px; }
.shop-main { flex: 999 1 560px; min-width: 0; }
.filters-toggle { display: none; }
.shop-filters__body { display: flex; flex-direction: column; gap: 32px; }
.filter-title { font-size: 24px; font-weight: 600; margin: 0 0 10px; }
.filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.filter-link, .filter-check { display: flex; align-items: center; gap: 12px; min-height: 42px; color: var(--text); text-decoration: none; font-size: 15px; }
.filter-link:hover, .filter-check:hover { color: var(--wine); }
.filter-link.is-active { font-weight: 700; color: var(--wine); }
.filter-link .count, .filter-check .count { margin-left: auto; font-size: 13px; color: var(--muted-2); }
.filter-check .box { flex: none; width: 18px; height: 18px; border: 1px solid var(--text); background: #fffdf9; position: relative; }
.filter-check.is-active .box { background: var(--wine); border-color: var(--wine); }
.filter-check.is-active .box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.filter-reset { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.promo-box { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--wine); color: #f8f0e4; }
.promo-box strong { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.promo-box span { font-size: 14px; color: #f0dccf; }

.shop-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.woocommerce-result-count { margin: 0; color: #4a3b38; font-size: 15px; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { width: auto; min-height: 44px; padding: 0 40px 0 14px; background-color: var(--card); }
.woocommerce-products-header { display: none; }

.woocommerce-pagination { margin-top: 48px; }
.woocommerce-pagination ul.page-numbers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; border: 0; }
.woocommerce-pagination .page-numbers li { border: 0; }
.page-numbers a, .page-numbers span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.page-numbers .current { background: var(--text); color: var(--paper); border-color: var(--text); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }

/* ---------- Pagina de produs ---------- */
.single-wrap { padding-top: 32px; padding-bottom: 96px; }
.single-wrap > .breadcrumb { margin-bottom: 32px; }
div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px 72px; align-items: start; position: relative; }
div.product > .badges { top: 20px; left: 20px; }
div.product > .woocommerce-tabs, div.product > .related, div.product > .upsells, div.product > section { grid-column: 1 / -1; }

.woocommerce-product-gallery { position: relative; margin: 0; background: var(--tint); }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img { width: 100%; height: auto; max-height: 720px; object-fit: contain; }
.woocommerce-product-gallery__image--placeholder { padding: 40px; }
.woocommerce-product-gallery .flex-viewport { background: var(--tint); }
.woocommerce-product-gallery__trigger { position: absolute; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; background: var(--card); border-radius: 50%; font-size: 0; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--text); border-radius: 50%; }
.woocommerce-product-gallery__trigger img { display: none !important; }
.flex-control-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.flex-control-thumbs img { cursor: pointer; opacity: .55; background: var(--tint); transition: opacity .2s; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; }

.summary { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.summary > * { margin: 0; }
.summary .product_title { font-size: clamp(40px, 4.4vw, 58px); line-height: 1.04; }
.summary .price { font-size: 30px; font-weight: 700; color: var(--text); }
.woocommerce-product-details__short-description { font-size: 17px; line-height: 1.8; color: #4a3b38; }
.woocommerce-product-details__short-description p:last-child { margin: 0; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.specs > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }
.specs dd { margin: 0; font-size: 15px; font-weight: 600; }
.stock { font-weight: 600; }
.stock.out-of-stock { color: var(--wine); }

form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
form.cart .single_add_to_cart_button { flex: 1 1 240px; min-height: 56px; }
form.variations_form { flex-direction: column; }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
table.variations { width: 100%; border-collapse: collapse; }
table.variations th, table.variations td { padding: 6px 0; text-align: left; vertical-align: middle; }
.reset_variations { font-size: 13px; margin-left: 8px; }
.sorai-notice { flex-basis: 100%; margin: 0; color: var(--wine); font-weight: 600; }

.quantity { display: inline-flex; align-items: stretch; border: 1px solid var(--text); background: #fffdf9; }
.quantity .qty { width: 52px; min-height: 54px; padding: 0; border: 0; background: transparent; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .qty:focus { box-shadow: none; }
.quantity:has(input[type="hidden"]) { border: 0; background: none; }
.quantity:has(input[type="hidden"]) .qty-btn { display: none; }
.qty-btn { width: 44px; border: 0; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; color: var(--text); }
.qty-btn:hover { color: var(--wine); }

.delivery-box { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; background: var(--tint); font-size: 14px; line-height: 1.6; }
.delivery-box span { display: flex; align-items: center; gap: 10px; }
.delivery-box .icon { flex: none; color: var(--wine); }
.summary .yith-wcwl-add-to-wishlist { margin: 0; font-size: 14px; }

.woocommerce-tabs { margin-top: 56px; }
.wc-tabs { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 40px; border-bottom: 1px solid var(--line); }
.wc-tabs li { margin: 0; }
.wc-tabs li a { display: inline-block; padding: 12px 0; margin-bottom: -1px; border-bottom: 3px solid transparent; font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--muted-2); text-decoration: none; }
.wc-tabs li.active a, .wc-tabs li a:hover { color: var(--text); border-bottom-color: var(--wine); }
.woocommerce-Tabs-panel { max-width: 820px; font-size: 17px; line-height: 1.8; color: #4a3b38; }
.woocommerce-Tabs-panel > h2:first-child { display: none; }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-product-attributes th { width: 200px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.woocommerce-product-attributes td p { margin: 0; }
.related, .upsells, .cross-sells { margin-top: 72px; }
.related > h2, .upsells > h2, .cross-sells > h2 { font-size: 44px; margin-bottom: 32px; }

.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1em; font-size: 14px; line-height: 1; overflow: hidden; color: var(--gold); }
.star-rating::before { content: "★★★★★"; position: absolute; inset: 0; color: var(--line); letter-spacing: .1em; }
.star-rating span { position: absolute; inset: 0 auto 0 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; letter-spacing: .1em; }
#reviews .commentlist { list-style: none; padding: 0; }
#reviews .comment_container { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
#reviews .avatar { border-radius: 50%; width: 48px; height: 48px; }
.comment-form-rating .stars a { color: var(--gold); margin-right: 4px; }

/* ---------- Notificări ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 24px; padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-left-width: 1px;
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px;
}
.woocommerce-message { background: #eef0e2; border-color: #b9c08f; }
.woocommerce-error { background: #f7e4e2; border-color: #d9a39b; color: var(--wine-dark); flex-direction: column; align-items: flex-start; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 40px; padding: 0 18px; font-size: 12px; }
.woocommerce-NoticeGroup { flex-basis: 100%; }

/* ---------- Sertar mini-coș ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(18, 12, 15, .55); opacity: 0; transition: opacity .3s var(--ease); }
.drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
	display: flex; flex-direction: column; background: var(--paper);
	transform: translateX(100%); transition: transform .32s var(--ease); outline: none;
	box-shadow: -20px 0 50px rgba(0, 0, 0, .2);
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; background: var(--ink); color: var(--on-dark); }
.drawer__head h2 { margin: 0; font-size: 30px; display: flex; align-items: center; gap: 12px; }
.drawer__head .sorai-cart-count { font-family: var(--sans); font-size: 12px; font-weight: 700; min-width: 24px; height: 24px; line-height: 24px; border-radius: 12px; text-align: center; background: var(--gold); color: var(--ink); padding: 0 7px; }
.drawer__shipping { padding: 0 24px; }
.drawer__shipping:not(:empty) { padding: 16px 24px; background: var(--tint); font-size: 14px; }
.drawer__shipping p { margin: 0 0 10px; }
.drawer__shipping .bar { height: 6px; background: #d8ccb8; overflow: hidden; }
.drawer__shipping .bar span { display: block; height: 100%; background: var(--wine); transition: width .4s var(--ease); }
.drawer__body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.drawer__body .widget_shopping_cart_content { display: flex; flex-direction: column; flex: 1; }

.woocommerce-mini-cart { list-style: none; margin: 0; padding: 8px 24px; flex: 1; }
.woocommerce-mini-cart-item {
	position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; row-gap: 8px;
	padding: 18px 32px 18px 0; border-bottom: 1px solid var(--line);
}
.woocommerce-mini-cart-item > a:not(.remove) { grid-column: 2; grid-row: 1; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--text); text-decoration: none; }
.woocommerce-mini-cart-item > a:not(.remove) img { position: absolute; left: 0; top: 18px; width: 76px; height: 96px; object-fit: contain; background: var(--card-media); }
.woocommerce-mini-cart-item .mini-qty, .woocommerce-mini-cart-item > .quantity { grid-column: 2; grid-row: 2; }
.woocommerce-mini-cart-item dl.variation { grid-column: 2; margin: 0; font-size: 13px; color: var(--muted-2); }
.woocommerce-mini-cart-item .remove { position: absolute; top: 16px; right: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; color: var(--muted-2); text-decoration: none; }
.woocommerce-mini-cart-item .remove:hover { color: var(--wine); }
.mini-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini-qty .qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--text); }
.mini-qty .qty-btn { width: 36px; height: 36px; font-size: 18px; }
.mini-qty .qty-val { min-width: 28px; text-align: center; font-weight: 700; }
.mini-qty__price { font-weight: 700; }
.mini-qty.is-busy { opacity: .5; pointer-events: none; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 20px 24px 8px; border-top: 1px solid var(--line); font-size: 16px; }
.woocommerce-mini-cart__total .amount { font-size: 22px; font-weight: 700; }
.woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; padding: 12px 24px 24px; }
.woocommerce-mini-cart__buttons .button { width: 100%; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: transparent; color: var(--text); border-color: var(--text); }
.woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: var(--text); color: var(--paper); }
.woocommerce-mini-cart__buttons .checkout { background: var(--wine); }
.woocommerce-mini-cart__empty-message { margin: 0; padding: 48px 24px; text-align: center; font-family: var(--serif); font-size: 24px; color: var(--muted); }

/* ---------- Coș (shortcode) ---------- */
.woocommerce-cart-form { margin-bottom: 48px; }
table.shop_table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 15px; }
table.shop_table th { padding: 16px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); border-bottom: 1px solid var(--line); }
table.shop_table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table .product-thumbnail img { width: 72px; height: 90px; object-fit: contain; background: var(--card-media); }
table.shop_table .product-name a { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--text); text-decoration: none; }
table.shop_table .product-remove a { font-size: 24px; color: var(--muted-2); text-decoration: none; }
table.shop_table td.actions { background: var(--paper); }
table.shop_table td.actions .coupon { display: inline-flex; gap: 8px; flex-wrap: wrap; }
table.shop_table td.actions .coupon input { width: 200px; }
table.shop_table td.actions > .button { float: right; }
.cart-collaterals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 48px; }
.cart_totals { grid-column: 2; background: var(--card); padding: 32px; }
.cart_totals h2 { font-size: 32px; }
.cart_totals table.shop_table { background: transparent; }
.cart_totals th, .cart_totals td { padding: 12px 0 !important; }
.cart_totals .order-total .amount { font-size: 22px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; margin-top: 16px; }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-shipping-methods li { margin-bottom: 6px; }
.cart-empty { font-family: var(--serif); font-size: 30px; }
.return-to-shop { margin-top: 24px; }

/* ---------- Checkout (shortcode) ---------- */
form.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 32px 56px; align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
form.checkout .col2-set { grid-column: 1; grid-row: span 2; display: flex; flex-direction: column; gap: 32px; }
form.checkout #order_review_heading { grid-column: 2; margin: 0; font-size: 34px; }
form.checkout #order_review { grid-column: 2; background: var(--card); padding: 28px; position: sticky; top: 110px; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-size: 32px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: flex; flex-wrap: wrap; gap: 0 16px; }
.form-row { flex: 1 1 100%; margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row-first, .form-row-last { flex: 1 1 calc(50% - 8px); }
.form-row .required { color: var(--wine); text-decoration: none; border: 0; }
.form-row .woocommerce-input-wrapper { display: block; }
.form-row.woocommerce-invalid input { border-color: var(--wine); }
.form-row label.checkbox, .woocommerce-form__label-for-checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
#ship-to-different-address { font-family: var(--sans); font-size: 16px; }
.woocommerce-checkout-review-order-table { background: transparent; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 12px 0 !important; }
.woocommerce-checkout-review-order-table .order-total .amount { font-size: 22px; }
#payment { margin-top: 20px; }
#payment ul.payment_methods { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#payment ul.payment_methods li { padding: 14px 16px; border: 1px solid var(--line); background: #fffdf9; }
#payment ul.payment_methods li img { display: inline-block; max-height: 24px; vertical-align: middle; margin-left: 8px; }
#payment .payment_box { margin-top: 10px; padding: 12px; background: var(--tint); font-size: 14px; }
#payment .payment_box p:last-child { margin: 0; }
#place_order { width: 100%; min-height: 58px; margin-top: 12px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 14px; }
.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle { grid-column: 1 / -1; }
form.checkout_coupon, form.woocommerce-form-login { padding: 24px; margin-bottom: 24px; background: var(--card); border: 1px solid var(--line); }
.woocommerce-order { max-width: 860px; }
.woocommerce-thankyou-order-received { font-family: var(--serif); font-size: 34px; color: var(--text); }
ul.woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
ul.woocommerce-order-overview li { padding-right: 24px; border-right: 1px solid var(--line); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
ul.woocommerce-order-overview li strong { display: block; font-size: 16px; text-transform: none; letter-spacing: 0; }

/* Coș și checkout cu blocuri */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--sans); }
.wc-block-components-button:not(.is-link) { border-radius: 0 !important; background: var(--wine) !important; color: #fff !important; min-height: 54px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select select { border-radius: 0 !important; }
.wc-block-components-title, .wc-block-cart__totals-title { font-family: var(--serif) !important; font-weight: 600 !important; text-transform: none !important; font-size: 26px !important; }

/* ---------- Contul meu ---------- */
.woocommerce-account .wc-page > .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { color: var(--wine); font-weight: 700; }
.woocommerce-account:not(.logged-in) .wc-page > .woocommerce { display: block; }
.u-columns.col2-set { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; }
.woocommerce-form-login, .woocommerce-form-register { background: var(--card); padding: 32px; }


/* ---------- Blocuri din editor (pagini importate) ---------- */
.prose .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 56px; align-items: center; margin: 0 0 72px; }
.prose .wp-block-column > :first-child { margin-top: 0; }
.prose .wp-block-image { margin: 0; }
.prose .wp-block-image img { width: 100%; height: auto; margin: 0; }
.prose .sorai-cols .wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; }
.prose .sorai-lead { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; color: var(--text); margin: 0 0 72px; max-width: 900px; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; margin: 0 0 72px; padding: 0; }
.prose .wp-block-gallery .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 32px; }
.prose .wp-block-button__link { color: var(--paper); }
.prose .wp-block-button__link:hover { color: #fff; }
.hero__media.has-image { min-height: 600px; }
.story-hero.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28, 19, 23, .85), rgba(28, 19, 23, .2) 70%); }
.story-hero.has-image .story-hero__img { opacity: 1; }
.story-hero__inner { z-index: 1; }

/* ---------- Popup 18+ ---------- */
.age-gate { display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; padding: 24px; background: rgba(18, 12, 15, .96); }
.age-pending .age-gate { display: flex; }
.age-pending body { overflow: hidden; }
.age-gate__box { width: min(560px, 100%); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 56px 40px 40px; text-align: center; color: var(--on-dark); background: var(--ink); border: 1px solid #3a2e2c; }
.age-gate__box .brand__word { font-family: var(--serif); font-size: 40px; font-weight: 600; letter-spacing: .32em; padding-left: .32em; }
.age-gate__box .brand__tag { font-size: 10px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); }
.age-gate__ask, .age-gate__denied { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
.age-gate__title { margin: 0; font-size: clamp(36px, 6vw, 52px); color: var(--on-dark); }
.age-gate p { margin: 0; max-width: 420px; color: var(--on-dark-muted); line-height: 1.7; }
.age-gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.age-gate__actions .btn { min-width: 140px; }
.age-gate .age-gate__note { margin-top: 28px; font-size: 12px; color: #a89a88; }

/* ---------- Banner cookie-uri ---------- */
.cookie-bar { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; margin: 0 auto; max-width: 960px; padding: 20px 24px; background: var(--ink); color: var(--on-dark-muted); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 14px; line-height: 1.6; }
.consent-pending:not(.age-pending) .cookie-bar { display: flex; }
.cookie-bar__text { margin: 0; flex: 1 1 380px; }
.cookie-bar__text a { color: var(--gold); }
.cookie-bar__actions { display: flex; align-items: center; gap: 16px; }
.cookie-bar__min { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--on-dark); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-bar__min:hover { color: var(--gold); }
.cookie-bar .btn { min-height: 46px; }

/* ---------- Bara de jos pe mobil ---------- */
.bottom-nav { display: none; }
@media (max-width: 960px) {
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.bottom-nav {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
		padding-bottom: env(safe-area-inset-bottom); background: var(--ink); border-top: 1px solid #3a2e2c;
	}
	.bottom-nav__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 64px; color: var(--on-dark-muted); text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
	.bottom-nav__item:hover, .bottom-nav__item.is-active { color: var(--gold); }
	.bottom-nav__icon { position: relative; display: flex; }
	.bottom-nav__icon .icon { width: 22px; height: 22px; }
	.bottom-nav .sorai-cart-count { position: absolute; top: -6px; right: -12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
	.bottom-nav .sorai-cart-count[data-count="0"] { display: none; }
	.header-actions .cart-toggle, .header-actions .hide-sm { display: none; }
	.cookie-bar { bottom: calc(76px + env(safe-area-inset-bottom)); left: 12px; right: 12px; padding: 16px 18px; }
	.drawer__panel { padding-bottom: env(safe-area-inset-bottom); }
}


/* ---------- Pagină produs: livrare gratuită, ofertă, iconițe ---------- */
.sorai-ship-hint { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; background: #eef0e2; border: 1px solid #c9cfa6; font-size: 15px; }
.sorai-ship-hint:empty { display: none; }
.sorai-ship-hint .icon { flex: none; color: #4d5a1e; margin-top: 2px; }
.sorai-ship-hint > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sorai-ship-hint p { margin: 0; color: #3a4417; }
.sorai-ship-hint .bar { display: block; height: 5px; background: #d6dbb8; }
.sorai-ship-hint .bar span { display: block; height: 100%; background: #5d6b24; transition: width .4s var(--ease); }
.sorai-ship-hint.is-free .bar { display: none; }
.woocommerce-cart-form + .sorai-ship-hint, .wc-page > .woocommerce > .sorai-ship-hint, form.checkout ~ .sorai-ship-hint { margin-bottom: 24px; }
.wc-page .sorai-ship-hint { margin-bottom: 28px; }

.offer-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 16px 20px; border: 1px dashed var(--gold); font-size: 15px; }
.offer-box span { font-style: italic; color: var(--muted); }
.offer-box a { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.trust { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--muted); }
.trust .icon { width: 48px; height: 48px; padding: 11px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.grcmarket { flex-basis: 100%; margin: 0; font-size: 13px; font-style: italic; color: var(--muted); }

/* ---------- Coș și checkout: antet compact cu pași ---------- */
.checkout-head { background: var(--ink); color: var(--on-dark-muted); padding: 22px 0; }
.checkout-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 40px; counter-reset: none; }
.checkout-steps li { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; color: #8f8172; position: relative; }
.checkout-steps li + li::before { content: ""; position: absolute; left: -26px; top: 50%; width: 8px; height: 8px; border-top: 1px solid #6b5a52; border-right: 1px solid #6b5a52; transform: translateY(-50%) rotate(45deg); }
.checkout-steps .num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid currentColor; font-family: var(--sans); font-size: 13px; font-weight: 700; }
.checkout-steps a { color: inherit; text-decoration: none; }
.checkout-steps a:hover { color: var(--gold); }
.checkout-steps .is-current { color: var(--on-dark); }
.checkout-steps .is-current .num { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.checkout-steps .is-done { color: var(--on-dark-muted); }
.section--shop { padding: 40px 0 96px; }
@media (max-width: 640px) {
	.checkout-steps { gap: 6px 28px; }
	.checkout-steps li { font-size: 0; gap: 0; }
	.checkout-steps li .num { font-size: 13px; }
	.checkout-steps li.is-current { font-size: 18px; gap: 8px; }
	.checkout-steps li + li::before { left: -18px; }
	.trust { grid-template-columns: minmax(0, 1fr); }
	.trust li { flex-direction: row; text-align: left; }
}

/* Câmpuri facturare persoană fizică / juridică (plugin) */
form.checkout select, .woocommerce-billing-fields select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232a1f22' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.primary-nav ul { gap: 22px; }
	div.product { gap: 32px 48px; }
}

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-header__inner { min-height: 72px; gap: 8px; }
	.brand { margin-right: auto; }
	.brand__word { font-size: 26px; }
	.primary-nav {
		position: fixed; top: 0; left: 0; bottom: 0; z-index: 60; width: min(340px, 86vw); margin: 0;
		padding: 96px 32px 32px; background: var(--ink); overflow-y: auto;
		transform: translateX(-100%); transition: transform .3s var(--ease);
	}
	.nav-open .primary-nav { transform: none; box-shadow: 20px 0 50px rgba(0, 0, 0, .35); }
	.nav-open .nav-toggle { position: relative; z-index: 70; }
	.primary-nav ul { flex-direction: column; gap: 0; }
	.primary-nav a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid #3a2e2c; }
	.primary-nav a::after { display: none; }
	.primary-nav .sub-menu { display: flex; position: static; box-shadow: none; padding: 0 0 0 16px; }

	div.product { grid-template-columns: minmax(0, 1fr); }
	.contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.shop-filters { position: static; max-width: none; flex-basis: 100%; }
	.filters-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 18px; border: 1px solid var(--text); background: transparent; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; cursor: pointer; }
	.filters-toggle::after { content: "+"; font-size: 20px; }
	.filters-toggle[aria-expanded="true"]::after { content: "−"; }
	.shop-filters__body { display: none; padding-top: 24px; }
	.shop-filters.is-open .shop-filters__body { display: flex; }
	.shop-layout { gap: 24px; padding-top: 32px; }

	form.checkout { grid-template-columns: minmax(0, 1fr); }
	form.checkout .col2-set, form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	.cart-collaterals { grid-template-columns: minmax(0, 1fr); }
	.cart_totals { grid-column: 1; }
	.woocommerce-account .wc-page > .woocommerce { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 640px) {
	.hide-sm { display: none; }
	.section { padding: 72px 0; }
	.hero { padding: 32px 0 64px; }
	.hero__media { min-height: 380px; }
	.hero__bottles { height: 330px; gap: 16px; }
	.hero__bottles .bottle { width: 72px; height: 290px; }
	.hero__bottles .bottle:nth-child(2) { width: 80px; height: 320px; }
	.split__media { min-height: 320px; }
	.product-card__media { height: 260px; }
	.contact-form { padding: 24px; }
	.specs { grid-template-columns: minmax(0, 1fr); }
	.form-row-first, .form-row-last { flex-basis: 100%; }

	/* Tabelul coșului ca listă pe telefon */
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--line); }
	table.shop_table_responsive td { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; padding: 8px 16px; text-align: right; }
	table.shop_table_responsive td::before { content: attr(data-title); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); text-align: left; }
	table.shop_table_responsive td.product-remove::before, table.shop_table_responsive td.product-thumbnail::before, table.shop_table_responsive td.actions::before { display: none; }
	table.shop_table td.actions { flex-direction: column; align-items: stretch; }
	table.shop_table td.actions > .button { float: none; width: 100%; }
	table.shop_table td.actions .coupon input { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
