/* ============================================================
   Engenho 33 — CSS único do tema (v2.1)
   Paleta do site atual: fundos claros, marrons e âmbar.
   ============================================================ */

@font-face {
	font-family: 'Playfair Display';
	src: url('../fonts/playfair-var.woff2') format('woff2');
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Raleway';
	src: url('../fonts/raleway-var.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #ffffff;
	--bg-soft: #FBF6EE;      /* creme */
	--bg-warm: #FFF3D6;      /* dourado bem claro */
	--brown: #412100;        /* primário do site atual */
	--rust: #62220D;         /* secundário */
	--terra: #933C1F;        /* texto de apoio */
	--amber: #FFB600;        /* realce */
	--gold-light: #FFDB83;
	--peach: #F8D2A5;
	--text: #4a3a26;
	--muted: #8a7a63;
	--line: #F0E2C8;
	--danger: #C0392B;
	--ok: #2e7d32;
	--panel: #FFFBF2;        /* painéis sobre a madeira */
	--panel-soft: rgba(255, 251, 242, 0.86);
	--radius: 14px;
	--shadow: 0 14px 34px rgba(65, 33, 0, 0.22);
	--shadow-soft: 0 6px 18px rgba(65, 33, 0, 0.12);
	--font-serif: 'Playfair Display', Georgia, serif;
	--font-sans: 'Raleway', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	background: #E9CA9F;
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
/* Textura de madeira em camada fixa: cobre a viewport inteira,
   sem repetição — nada de emendas, em nenhuma altura de página. */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: -1;
	background: url('../../../../uploads/2025/11/Slice-1_1x.webp') center / cover no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--rust); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--brown); font-weight: 700; line-height: 1.18; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.e33-container { width: min(1180px, 92%); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: var(--amber); color: var(--brown); padding: 8px 14px; border-radius: 6px; width: auto; height: auto; clip: auto; }

/* ---------- Movimento (reveal on scroll) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Botões ---------- */
.e33-btn,
.button,
button[type="submit"],
.woocommerce #respond input#submit {
	display: inline-block;
	padding: 13px 30px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	text-align: center;
	transition: transform 0.18s, box-shadow 0.18s, background 0.2s, color 0.2s, border-color 0.2s;
	line-height: 1.4;
	cursor: pointer;
}
.e33-btn--gold,
.button,
button[type="submit"],
.woocommerce #respond input#submit {
	background: linear-gradient(135deg, var(--amber) 0%, var(--gold-light) 100%);
	color: var(--brown);
	border: 0;
	box-shadow: 0 6px 16px rgba(255, 182, 0, 0.35);
}
.e33-btn--gold:hover, .button:hover, button[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(255, 182, 0, 0.45);
	color: var(--brown);
}
.e33-btn--gold:active, .button:active { transform: translateY(0) scale(0.98); }
.e33-btn--ghost { background: rgba(255, 255, 255, 0.9); color: var(--brown); border-color: var(--line); }
.e33-btn--ghost:hover { border-color: var(--amber); color: var(--rust); }
.e33-btn--outline, .e33-btn--outline-brown { background: transparent; color: var(--rust); border-color: var(--terra); box-shadow: none; }
.e33-btn--outline:hover, .e33-btn--outline-brown:hover { background: var(--rust); color: #fff; border-color: var(--rust); }
.e33-btn--sm { padding: 9px 20px; font-size: 12px; }

/* ---------- Header ---------- */
.e33-header {
	position: sticky; top: 0; z-index: 90;
	background: rgba(255, 251, 242, 0.94);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(147, 60, 31, 0.22);
	box-shadow: 0 2px 14px rgba(65, 33, 0, 0.08);
}
.e33-header__inner { display: flex; align-items: center; gap: 26px; min-height: 74px; }
.e33-logo { margin: 12px 18px 12px 0; display: inline-flex; }
.e33-logo img { width: 108px; height: auto; }
.e33-nav { margin-left: auto; }
.e33-nav .menu { display: flex; gap: 28px; }
.e33-nav a {
	color: var(--brown); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
	position: relative; padding-bottom: 4px;
}
.e33-nav a::after {
	content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
	background: var(--amber); transition: width 0.25s ease;
}
.e33-nav a:hover { color: var(--rust); }
.e33-nav a:hover::after { width: 100%; }
.e33-header__actions { display: flex; align-items: center; gap: 6px; }
.e33-icon-link {
	position: relative; color: var(--brown);
	width: 42px; height: 42px; border-radius: 50%;
	display: grid; place-items: center;
	transition: background 0.2s, color 0.2s, transform 0.15s;
}
.e33-icon-link:hover { background: var(--bg-warm); color: var(--rust); transform: translateY(-1px); }
.e33-cart-count {
	position: absolute; top: 2px; right: 0;
	background: var(--amber); color: var(--brown);
	font-size: 11px; font-weight: 800;
	min-width: 18px; height: 18px; border-radius: 999px;
	display: grid; place-items: center; padding-inline: 4px;
	transition: transform 0.2s;
}
.e33-cart-count.is-zero { display: none; }
.e33-burger { display: none; background: none; border: 0; width: 30px; }
.e33-burger span { display: block; height: 2px; background: var(--brown); margin: 6px 0; transition: 0.25s; }

/* ---------- Slider de banners (SCF) ---------- */
.e33-slider { position: relative; overflow: hidden; background: var(--brown); }
.e33-slider__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.e33-slider__track::-webkit-scrollbar { display: none; }
.e33-slider__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; display: block; }
.e33-slider__slide img { width: 100%; height: auto; max-height: 88vh; object-fit: cover; object-position: center; }
.e33-slider__caption {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
	padding: 0 8vw; gap: 12px;
	background: linear-gradient(90deg, rgba(30, 15, 0, 0.55) 0%, rgba(30, 15, 0, 0) 60%);
}
.e33-slider__caption h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 3rem); max-width: 16ch; text-shadow: 0 2px 14px rgba(0,0,0,0.4); }
.e33-slider__caption p { color: var(--gold-light); font-size: clamp(0.95rem, 1.6vw, 1.2rem); max-width: 40ch; }
.e33-slider__caption .e33-btn { margin-top: 8px; }
/* Selo dourado de promoção (ex.: "Por apenas: R$ 77,00") */
.e33-slider__badge {
	display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
	background: linear-gradient(150deg, #E8C878 0%, #C9A247 45%, #A87F2C 100%);
	color: #3A2506;
	border: 1px solid rgba(255, 240, 200, 0.8);
	border-radius: 10px;
	padding: 10px 22px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
	margin-bottom: 6px;
	transform: rotate(-2deg);
}
.e33-slider__badge small { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.e33-slider__badge strong { font-family: var(--font-serif); font-size: clamp(1.2rem, 2.2vw, 1.8rem); line-height: 1.1; }

/* Setas do slider */
.e33-slider__arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	z-index: 2;
	width: 46px; height: 46px;
	border: 0; border-radius: 50%;
	background: rgba(255, 251, 242, 0.22);
	color: #fff; font-size: 18px;
	backdrop-filter: blur(4px);
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
}
.e33-slider__arrow:hover { background: rgba(255, 182, 0, 0.85); color: #3A2506; transform: translateY(-50%) scale(1.06); }
.e33-slider__arrow--prev { left: 18px; }
.e33-slider__arrow--next { right: 18px; }
@media (max-width: 640px) {
	.e33-slider__arrow { width: 38px; height: 38px; font-size: 15px; }
}

.e33-slider__dots {
	position: absolute; bottom: 16px; left: 0; right: 0;
	display: flex; justify-content: center; gap: 8px;
}
.e33-slider__dots button {
	width: 10px; height: 10px; border-radius: 999px; border: 0;
	background: rgba(255, 255, 255, 0.5);
	transition: width 0.25s, background 0.25s;
}
.e33-slider__dots button.is-active { background: var(--amber); width: 26px; }

/* ---------- Hero (fallback sem banners) ---------- */
.e33-hero {
	padding: 76px 0 60px;
	background:
		radial-gradient(900px 420px at 82% 10%, rgba(255, 182, 0, 0.18), transparent 60%),
		linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}
.e33-hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.e33-eyebrow { color: var(--terra); font-size: 12px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 14px; }
.e33-hero h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); margin-bottom: 18px; }
.e33-hero__sub { color: var(--muted); font-size: 17px; max-width: 54ch; margin-bottom: 30px; }
.e33-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
@keyframes e33-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.e33-hero__media img { margin-inline: auto; filter: drop-shadow(0 34px 38px rgba(65, 33, 0, 0.3)); animation: e33-float 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .e33-hero__media img { animation: none; } }

/* ---------- Selos (cards como no site atual) ---------- */
.e33-badges { padding: 34px 0 8px; }
.e33-badges__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.e33-badge {
	display: flex; gap: 14px; align-items: center; color: var(--gold-light);
	background: var(--panel-soft);
	border: 1px solid rgba(147, 60, 31, 0.25);
	border-radius: 12px;
	padding: 16px 18px;
	box-shadow: var(--shadow-soft);
	transition: transform 0.2s, box-shadow 0.2s;
}
.e33-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.e33-badge svg {
	flex: 0 0 auto;
	background: var(--rust); color: var(--gold-light);
	width: 48px; height: 48px; padding: 11px;
	border-radius: 10px;
}
.e33-badge strong { display: block; color: var(--brown); font-size: 15px; }
.e33-badge span { color: #7d6244; font-size: 13px; }

/* ---------- Seções / títulos com ornamento ---------- */
.e33-section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); text-align: center; color: var(--rust); margin-top: 28px; }
.e33-section-title--ornament {
	display: flex; align-items: center; justify-content: center; gap: 18px;
}
.e33-section-title--ornament::before,
.e33-section-title--ornament::after {
	content: '';
	width: 74px; height: 24px; flex: 0 0 auto;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='74' height='24' viewBox='0 0 74 24' fill='none' stroke='%23933C1F' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M2 12h18'/%3E%3Cpath d='M20 12c7 0 7-8 13-8 5 0 5 8-1 8'/%3E%3Cpath d='M32 12c7 0 7 8 13 8 5 0 5-8-1-8'/%3E%3Cpath d='M44 12h24'/%3E%3Ccircle cx='70' cy='12' r='1.8' fill='%23933C1F' stroke='none'/%3E%3C/svg%3E") no-repeat center / contain;
}
.e33-section-title--ornament::before { transform: scaleX(-1); }
.e33-section-title:not(.e33-section-title--ornament)::after {
	content: ''; display: block; width: 64px; height: 3px; border-radius: 3px;
	background: var(--amber); margin: 14px auto 0;
}
.e33-section-sub { text-align: center; color: #7d6244; margin: 12px 0 42px; }
.e33-products { padding: 64px 0 76px; }

/* ---------- Categorias ---------- */
.e33-categories { padding: 64px 0 8px; }
.e33-categories .e33-section-title { margin-bottom: 38px; }
.e33-categories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.e33-cat-card {
	position: relative; display: block; overflow: hidden;
	border-radius: 16px;
	box-shadow: var(--shadow-soft);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s;
}
.e33-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.e33-cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.e33-cat-card:hover img { transform: scale(1.05); }
.e33-cat-card__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Modal de produtos da categoria */
.e33-cat-modal { position: fixed; inset: 0; z-index: 9996; opacity: 0; transition: opacity 0.25s; }
.e33-cat-modal.is-open { opacity: 1; }
.e33-cat-modal[hidden] { display: none; }
.e33-cat-modal__overlay { position: absolute; inset: 0; background: rgba(43, 24, 4, 0.55); }
.e33-cat-modal__panel {
	position: absolute; inset: 4vh 0 auto 50%; transform: translateX(-50%);
	width: min(1080px, 94vw); max-height: 92vh;
	background: var(--panel);
	border-radius: 18px;
	box-shadow: 0 30px 80px rgba(30, 15, 0, 0.45);
	display: flex; flex-direction: column;
	overflow: hidden;
}
.e33-cat-modal__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px 28px; border-bottom: 1px solid var(--line);
}
.e33-cat-modal__head h3 { font-size: 1.4rem; color: var(--rust); margin: 0; }
.e33-cat-modal__close { background: none; border: 0; font-size: 30px; line-height: 1; color: var(--terra); cursor: pointer; }
.e33-cat-modal__body { padding: 26px 28px; overflow-y: auto; }
.e33-cat-modal__body ul.products { grid-template-columns: repeat(3, 1fr); }
.e33-cat-modal__loading { text-align: center; color: var(--muted); padding: 40px 0; }
.e33-cat-modal__foot { padding: 16px 28px 22px; border-top: 1px solid var(--line); text-align: center; }
@media (max-width: 960px) {
	.e33-cat-modal__body ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.e33-cat-modal__panel { inset: 0 0 0 0; transform: none; width: 100%; max-height: 100vh; border-radius: 0; }
	.e33-cat-modal__body ul.products { grid-template-columns: 1fr; }
}

.e33-story { padding: 76px 0; }

/* ---------- A História da Engenho 33 (arte original de fundo) ---------- */
.e33-bio {
	background: url('../../../../uploads/2025/11/Bio-Desktop-1.webp') center right / cover no-repeat;
	min-height: clamp(480px, 36vw, 700px);
	display: flex;
	align-items: center;
}
.e33-bio__inner { width: min(1180px, 92%); }
.e33-bio__copy { max-width: 46%; padding: 56px 0; }
.e33-bio__title {
	display: flex; align-items: center; gap: 18px;
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	color: var(--rust);
	margin-bottom: 22px;
	max-width: 14ch;
}
.e33-bio__flourish { flex: 0 0 auto; height: 86px; width: auto; }
.e33-bio__copy p { color: #503c22; font-size: 16.5px; margin-bottom: 16px; max-width: 52ch; }
.e33-bio__copy p strong { color: var(--brown); }
.e33-bio__copy .e33-btn { margin-top: 8px; }
@media (max-width: 900px) {
	/* A arte mobile tem a garrafa no TOPO e área bege lisa embaixo:
	   o texto entra depois da arte, sobre o bege. */
	.e33-bio {
		background: #DCBD90 url('../../../../uploads/2025/11/Bio-Mobile-3.webp') top center / 100% auto no-repeat;
		align-items: flex-start;
		min-height: 0;
	}
	.e33-bio__copy { max-width: none; padding: 92vw 0 44px; }
	.e33-bio__title { max-width: none; font-size: 1.7rem; }
	.e33-bio__flourish { height: 60px; }
	.e33-bio__copy p { max-width: none; }
}
.e33-story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.e33-story__media { display: grid; place-items: center; }
.e33-story__media > img { border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.4s ease; }
.e33-story__media:hover > img { transform: scale(1.02) rotate(-0.5deg); }
.e33-story h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 18px; }
.e33-story p { color: var(--brown); font-size: 17px; margin-bottom: 16px; text-shadow: 0 1px 0 rgba(255, 251, 242, 0.5); }
.e33-story .e33-btn { margin-top: 8px; }

/* ---------- Grade de produtos (Woo loop) ---------- */
ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0 !important; padding: 0 !important; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important;
	position: relative;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 22px;
	text-align: center;
	transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, box-shadow 0.25s;
	display: flex; flex-direction: column;
	overflow: hidden;
}
ul.products li.product::before {
	content: '';
	position: absolute; inset: 0 0 auto 0; height: 120px;
	background: radial-gradient(60% 100% at 50% 0%, var(--bg-warm), transparent 75%);
	opacity: 0; transition: opacity 0.3s;
}
ul.products li.product:hover { transform: translateY(-6px); border-color: var(--peach); box-shadow: var(--shadow); }
ul.products li.product:hover::before { opacity: 1; }
ul.products li.product > a:first-of-type { display: block; }
ul.products li.product img {
	margin: 0 auto 18px;
	height: 250px; width: auto; max-width: 100%;
	object-fit: contain;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	position: relative; z-index: 1;
}
ul.products li.product:hover img { transform: scale(1.06) translateY(-4px); }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-serif); font-size: 18px; color: var(--brown); margin-bottom: 8px; }
ul.products li.product .price { display: block; color: var(--rust); font-size: 20px; font-weight: 800; margin-bottom: 16px; font-family: var(--font-sans); }
ul.products li.product .price del { color: var(--muted); font-size: 15px; margin-right: 8px; font-weight: 500; }
ul.products li.product .price ins { text-decoration: none; }
/* Ações do card: Ver produto + ícone de carrinho */
.e33-card-actions {
	margin-top: auto;
	display: flex; gap: 10px; align-items: center; justify-content: center;
	position: relative; z-index: 1;
}
.e33-card-actions__view { flex: 1; max-width: 200px; }
.e33-card-actions__cart {
	width: 44px; height: 44px; flex: 0 0 auto;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--panel);
	border: 1px solid var(--terra);
	color: var(--rust);
	transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.e33-card-actions__cart:hover { background: var(--rust); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.e33-card-actions__cart.loading { opacity: 0.5; pointer-events: none; }
.e33-card-actions__cart.added { background: var(--rust); color: var(--gold-light); }
/* Esconde o link "ver carrinho" padrão — o drawer abre sozinho. */
.added_to_cart { display: none !important; }

/* Barra de filtros da loja */
.e33-shop-filters {
	background: var(--panel-soft);
	border: 1px solid rgba(147, 60, 31, 0.2);
	border-radius: 999px;
	padding: 8px;
	margin-bottom: 30px;
	box-shadow: var(--shadow-soft);
	display: flex; align-items: center; justify-content: center;
}
.e33-shop-filters__cats { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.e33-shop-filters__cats a {
	padding: 9px 20px;
	border-radius: 999px;
	color: var(--rust);
	font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
	transition: background 0.2s, color 0.2s;
}
.e33-shop-filters__cats a span { opacity: 0.55; font-size: 11px; margin-left: 2px; }
.e33-shop-filters__cats a:hover { background: var(--bg-warm); }
.e33-shop-filters__cats a.is-active { background: var(--rust); color: var(--gold-light); }
.e33-shop-filters__cats a.is-active span { opacity: 0.8; }
.woocommerce .onsale, span.onsale {
	position: absolute; background: var(--rust); color: #fff;
	font-weight: 800; font-size: 12px; padding: 4px 12px; border-radius: 999px;
	top: 14px; left: 14px; z-index: 3; min-height: 0; line-height: 1.6;
}

/* ---------- Página Woo genérica ---------- */
.e33-woo { padding: 48px 0 76px; }
.e33-woo h1.page-title, .e33-page__title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 30px; }
.woocommerce-result-count, .woocommerce-ordering { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.woocommerce-ordering select { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-message, .woocommerce-info {
	background: var(--bg-warm); border-left: 3px solid var(--amber);
	padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; color: var(--brown);
	list-style: none;
}
ul.woocommerce-error { background: #FDF0EE; border-left: 3px solid var(--danger); padding: 14px 18px 14px 32px; border-radius: 8px; margin-bottom: 20px; }
ul.woocommerce-error li { color: var(--danger); }

/* ---------- Produto single ---------- */
.single-product .e33-woo { padding-top: 34px; }
.single-product div.product {
	display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 34px; align-items: start;
}
/* Qualquer elemento injetado por plugin no div.product ocupa a linha inteira,
   sem quebrar as duas colunas galeria/resumo. */
.single-product div.product > *:not(.woocommerce-product-gallery):not(.summary) { grid-column: 1 / -1; }
.single-product div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; }
.single-product div.product > .summary { grid-column: 2; grid-row: 1; }
.single-product div.product .woocommerce-product-gallery {
	position: relative;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: var(--shadow-soft);
}
/* Sem max-width no wrapper: o flexslider precisa que figure e viewport tenham
   a mesma largura, senão os offsets dos slides desalinham. */
/* O flexslider calcula altura/posição — a imagem precisa de width:100%.
   (width:auto/max-height aqui deixa os demais slides em branco.)
   O clone de zoom (.zoomImg) fica de fora: ele precisa do tamanho natural. */
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg) {
	border-radius: 10px; width: 100%; height: auto;
}
/* Lightbox (PhotoSwipe) e zoom de hover: o max-width global de <img> os deixa
   em branco — eles dimensionam a imagem via estilos próprios. */
.pswp img { max-width: none !important; }
img.zoomImg { max-width: none !important; border-radius: 0; }
/* Miniaturas do slider (flexslider) */
.single-product .flex-control-thumbs {
	display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
	list-style: none; margin: 16px 0 0; padding: 0;
}
.single-product .flex-control-thumbs li { width: 64px; }
.single-product .flex-control-thumbs img {
	width: 64px; height: 64px; object-fit: cover;
	border-radius: 8px; border: 2px solid transparent;
	cursor: pointer; opacity: 0.55;
	transition: opacity 0.2s, border-color 0.2s, transform 0.15s;
}
.single-product .flex-control-thumbs img:hover { opacity: 1; transform: translateY(-2px); }
.single-product .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--amber); }
.single-product .woocommerce-product-gallery .flex-viewport { border-radius: 10px; }
.single-product div.product .summary {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 32px;
	box-shadow: var(--shadow-soft);
}
.single-product div.product .product_title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.single-product div.product p.price { color: var(--rust); font-size: 27px; font-weight: 800; margin-bottom: 6px; font-family: var(--font-sans); }
.single-product div.product p.price del { color: var(--muted); font-size: 18px; font-weight: 500; }
.single-product div.product p.price ins { text-decoration: none; }
.single-product div.product .woocommerce-product-details__short-description {
	color: #7d6244; margin: 14px 0 20px; padding-bottom: 18px; border-bottom: 1px dashed var(--line);
}
.single-product div.product .product_meta {
	margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
	font-size: 13px; color: var(--muted);
}
/* Ficha técnica */
.e33-specs { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin: 0 0 20px; }
.e33-specs h3 { font-family: var(--font-sans); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.e33-specs dl { display: grid; gap: 6px; margin: 0; }
.e33-specs__row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.e33-specs__row:last-child { border-bottom: 0; padding-bottom: 0; }
.e33-specs dt { color: var(--muted); font-weight: 600; }
.e33-specs dd { color: var(--brown); font-weight: 700; margin: 0; text-align: right; }
.single-product div.product .woocommerce-product-rating { margin-bottom: 10px; }
.single-product div.product .product_meta a { font-weight: 700; }
/* Caixa da simulação de frete (Melhor Envio) */
.single-product #wrap-melhor-envio-cotacao,
.single-product .melhor-envio-simulator,
.single-product div.product .summary > div[id*="melhor-envio"] {
	background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
	padding: 14px 16px; margin: 0 0 18px;
}
.single-product form.cart { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.single-product form.cart .quantity { display: flex; }
.single-product form.cart .quantity .qty {
	width: 62px; text-align: center; background: var(--panel); color: var(--brown);
	border: 1px solid var(--line); border-radius: 0; font-size: 16px; -moz-appearance: textfield;
}
.e33-qty-btn { background: var(--bg-soft); color: var(--rust); border: 1px solid var(--line); width: 42px; font-size: 18px; transition: background 0.2s; }
.e33-qty-btn:hover { background: var(--bg-warm); }
.e33-qty-btn:first-of-type { border-radius: 10px 0 0 10px; border-right: 0; }
form.cart .e33-qty-btn:last-of-type { border-radius: 0 10px 10px 0; border-left: 0; }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-width: 210px; }
.e33-fav-btn--single { align-self: center; }
.e33-legal-note { font-size: 11px; letter-spacing: 0.08em; color: var(--muted); margin-top: 18px; }
.woocommerce-tabs {
	grid-column: 1 / -1; margin-top: 34px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 30px;
	box-shadow: var(--shadow-soft);
}
.woocommerce-tabs ul.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 22px; list-style: none; padding: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 10px 20px; color: var(--muted); font-weight: 700; font-size: 14px; }
.woocommerce-tabs ul.tabs li.active a { color: var(--rust); border-bottom: 2px solid var(--amber); margin-bottom: -2px; }
.woocommerce-tabs .panel { color: #6b5844; max-width: 78ch; }
.woocommerce-tabs .panel h2:first-child { display: none; } /* "Descrição" repetido */
.woocommerce-tabs .panel p { margin-bottom: 14px; }
.related.products { grid-column: 1 / -1; margin-top: 44px; }
.related.products > h2 { font-size: 1.5rem; margin-bottom: 24px; text-align: center; }
#reviews #comments ol.commentlist { display: grid; gap: 16px; }
#reviews #comments ol.commentlist li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 16px; list-style: none; }
#reviews .comment-form { display: grid; gap: 14px; }
#reviews .star-rating, .woocommerce .star-rating { color: var(--amber); }

/* ---------- Formulários ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="search"], textarea, select {
	width: 100%;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--brown);
	padding: 12px 14px;
	font-family: var(--font-sans);
	font-size: 15px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 182, 0, 0.18); }
label { font-size: 13px; font-weight: 700; color: var(--terra); letter-spacing: 0.04em; }
.form-row { margin-bottom: 16px; }
.required { color: var(--danger); text-decoration: none; }

/* ---------- Carrinho ---------- */
.woocommerce-cart .e33-page__title, .woocommerce-cart .e33-woo h1.page-title { text-align: center; }
/* Grid: itens à esquerda, resumo sticky à direita */
[data-e33-cart-main] {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 30px;
	align-items: start;
}
[data-e33-cart-main] > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
[data-e33-cart-main] > .woocommerce-cart-form { grid-column: 1; margin: 0; min-width: 0; overflow-x: auto; }
[data-e33-cart-main] > .cart-collaterals {
	grid-column: 2;
	display: block;
	max-width: none;
	margin: 0;
	position: sticky;
	top: 120px;
}
.woocommerce-cart-form { margin-bottom: 8px; }
.woocommerce-cart-form table.shop_table {
	width: 100%; border-collapse: separate; border-spacing: 0;
	background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
table.shop_table th, table.shop_table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; vertical-align: middle; }
table.shop_table tbody tr:last-child td { border-bottom: 0; }
table.shop_table thead th { background: var(--bg-soft); color: var(--rust); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
table.shop_table td.product-thumbnail img { width: 70px; height: 70px; object-fit: contain; border-radius: 8px; background: var(--bg-soft); }
table.shop_table td.product-name a { color: var(--brown); font-weight: 700; }
table.shop_table td.product-price, table.shop_table td.product-subtotal { color: var(--rust); font-weight: 700; white-space: nowrap; }
table.shop_table td.product-remove { width: 40px; }
table.shop_table td.product-remove a {
	color: var(--danger); font-size: 18px; display: grid; place-items: center;
	width: 30px; height: 30px; border-radius: 50%; border: 1px solid transparent;
	transition: border-color 0.2s, background 0.2s;
}
table.shop_table td.product-remove a:hover { background: #FDF0EE; border-color: var(--danger); }
table.shop_table td.product-quantity .quantity { display: inline-flex; }
table.shop_table td.product-quantity .qty { width: 58px; text-align: center; border-radius: 8px; }
td.actions { background: var(--bg-soft); }
td.actions .coupon { display: inline-flex; gap: 10px; align-items: center; float: left; }
td.actions .coupon input { max-width: 180px; }
td.actions .coupon .button, td.actions > .button { padding: 11px 22px; font-size: 12px; }
td.actions > .button { float: right; }
.cart-collaterals .cross-sells { display: none; }
.cart_totals { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-soft); }
.cart_totals h2 { font-size: 1.25rem; margin-bottom: 16px; }
.cart_totals table.shop_table { border: 0; background: transparent; }
.cart_totals table.shop_table th { background: transparent; color: var(--terra); }
.wc-proceed-to-checkout .checkout-button { width: 100%; margin-top: 14px; font-size: 15px; padding: 16px; }
.woocommerce-shipping-methods { list-style: none; }

/* ---------- Calculador de frete (carrinho) ---------- */
.woocommerce-shipping-calculator { margin-top: 12px; }
.woocommerce-shipping-calculator .shipping-calculator-button {
	display: inline-block; font-size: 13px; font-weight: 700; color: var(--terra);
	text-decoration: underline; text-underline-offset: 3px;
}
.shipping-calculator-form {
	margin-top: 14px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 16px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	text-align: left;
}
/* Mantém as classes/IDs do Woo: só o layout muda. */
.shipping-calculator-form p.form-row {
	margin: 0; width: 100% !important; float: none !important; display: block;
}
.shipping-calculator-form #calc_shipping_country_field,
.shipping-calculator-form p:last-of-type { grid-column: 1 / -1; }
.shipping-calculator-form label { display: block; margin-bottom: 4px; font-size: 12px; }
.shipping-calculator-form input, .shipping-calculator-form select { width: 100%; }
.shipping-calculator-form button[type="submit"] { width: 100%; padding: 12px; font-size: 13px; }
/* select2 acompanha a largura do campo */
.shipping-calculator-form .select2-container { width: 100% !important; }
.shipping-calculator-form .select2-container .select2-selection--single {
	height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel);
}
.shipping-calculator-form .select2-container .select2-selection__rendered { line-height: 44px; padding-left: 14px; color: var(--brown); }
.shipping-calculator-form .select2-container .select2-selection__arrow { height: 44px; }
@media (max-width: 640px) {
	.shipping-calculator-form { grid-template-columns: 1fr; }
}

/* Carrossel "leve também" */
.e33-carousel { margin-top: 44px; }
.e33-carousel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.e33-carousel__head h2 { font-size: 1.4rem; }
.e33-carousel__arrows { display: flex; gap: 8px; }
.e33-carousel__arrows button {
	width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid var(--line); background: var(--panel); color: var(--rust); font-size: 16px;
	transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.e33-carousel__arrows button:hover { background: var(--bg-warm); border-color: var(--amber); transform: translateY(-1px); }
.e33-carousel__track {
	display: flex; gap: 18px;
	overflow-x: auto; scroll-snap-type: x mandatory;
	padding: 4px 2px 14px;
	scrollbar-width: none;
}
.e33-carousel__track::-webkit-scrollbar { display: none; }
.e33-carousel__card {
	flex: 0 0 300px; scroll-snap-align: start;
	background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 16px; text-align: center;
	display: flex; flex-direction: column; gap: 8px;
	transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.e33-carousel__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--peach); }
.e33-carousel__img img { height: 180px; width: auto; margin-inline: auto; object-fit: contain; }
.e33-carousel__name { color: var(--brown); font-weight: 700; font-size: 13.5px; line-height: 1.35; }
.e33-carousel__price { color: var(--rust); font-weight: 800; font-size: 15px; }
.e33-carousel__price del { color: var(--muted); font-weight: 500; font-size: 12px; }
.e33-carousel__price ins { text-decoration: none; }
.e33-carousel__card .e33-btn { margin-top: auto; }

/* ---------- Checkout: blocos empilhados ---------- */
form.checkout.woocommerce-checkout {
	display: flex; flex-direction: column; gap: 26px;
	max-width: 1100px; margin-inline: auto;
}
/* Ordem: 1) detalhes do pedido, 2) endereço/dados, 3) pagamento */
#order_review_heading { order: 1; margin: 0 0 -12px; }
#order_review { order: 2; }
#customer_details { order: 3; }
.e33-payment-block { order: 4; }
#customer_details,
#order_review,
.e33-payment-block {
	display: block;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 30px;
	box-shadow: var(--shadow-soft);
}
form.checkout h3 { font-size: 1.25rem; margin: 8px 0 18px; color: var(--rust); }
#order_review_heading, .e33-payment-block > h3 { font-size: 1.25rem; color: var(--rust); }
.e33-payment-block > h3 { margin: 0 0 18px; }
#order_review table.shop_table { background: transparent; border: 0; }
#order_review table.shop_table th { background: transparent; }
#payment { background: transparent; margin-top: 0; }

/* Resumo do pedido em 3 colunas: Produtos | Entrega | Cupom + totais */
.e33-review {
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr;
	gap: 20px;
	align-items: start;
}
.e33-review__col {
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 18px;
	min-width: 0;
}
.e33-review__col > h4 {
	font-family: var(--font-sans);
	font-size: 12px; font-weight: 800;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--terra);
	margin: 0 0 14px; padding-bottom: 10px;
	border-bottom: 1px dashed var(--line);
}
.e33-review__items { list-style: none; margin: 0; padding: 0; }
.e33-review__item {
	display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center;
	padding: 8px 0; border-bottom: 1px dashed var(--line);
}
.e33-review__item:last-child { border-bottom: 0; }
.e33-review__thumb img { width: 48px; height: 48px; object-fit: contain; border-radius: 6px; background: var(--panel); }
.e33-review__name { display: block; color: var(--brown); font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.e33-review__qty { color: var(--terra); font-size: 12.5px; }
.e33-review__line-total { color: var(--rust); font-weight: 800; font-size: 14px; white-space: nowrap; }
.e33-review__shipping-table { width: 100%; border-collapse: collapse; }
.e33-review__shipping-table th, .e33-review__shipping-table td { padding: 4px 0; border: 0; font-size: 14px; background: transparent; }
.e33-review__shipping-table th { display: none; } /* rótulo "Entrega" já é o título da coluna */
.e33-review__shipping-table .woocommerce-shipping-methods { display: grid; gap: 8px; }
.e33-review__shipping-table .woocommerce-shipping-methods li { list-style: none; }
.e33-review__shipping-table .woocommerce-shipping-methods label { font-size: 13.5px; color: var(--brown); cursor: pointer; }
.e33-review__shipping-table .woocommerce-shipping-destination { font-size: 12px; color: var(--muted); }
.e33-review__no-shipping { color: var(--muted); font-size: 13.5px; }
.e33-review__coupon { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.e33-review__coupon input { flex: 1; min-width: 120px; text-transform: uppercase; }
.e33-review__coupon input::placeholder { text-transform: none; }
.e33-review__coupon-msg { flex-basis: 100%; font-size: 12.5px; color: var(--danger); }
.e33-review__coupon-msg.is-ok { color: var(--ok); }
.e33-review__totals-table { width: 100%; border-collapse: collapse; }
.e33-review__totals-table th, .e33-review__totals-table td { padding: 8px 0; border: 0; background: transparent; font-size: 14px; text-align: left; }
.e33-review__totals-table td { text-align: right; }
.e33-review__totals-table tr { border-bottom: 1px dashed var(--line); }
.e33-review__totals-table tr.order-total th, .e33-review__totals-table tr.order-total td { font-size: 17px; color: var(--rust); font-weight: 800; padding-top: 12px; }
.e33-review__totals-table .woocommerce-remove-coupon { font-size: 11px; color: var(--danger); display: inline-block; margin-left: 6px; }
@media (max-width: 960px) {
	.e33-review { grid-template-columns: 1fr; }
}

/* Cupom só no checkout: some da página de carrinho */
.woocommerce-cart td.actions .coupon { display: none !important; }
#payment ul.payment_methods { display: grid; gap: 10px; margin-bottom: 18px; }
#payment ul.payment_methods li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; list-style: none; transition: border-color 0.2s; }
#payment ul.payment_methods li:has(input:checked) { border-color: var(--amber); background: var(--bg-warm); }
#payment ul.payment_methods li label { color: var(--brown); font-size: 15px; font-weight: 700; cursor: pointer; }
#payment .payment_box { margin-top: 10px; font-size: 14px; color: var(--muted); }
#place_order { width: 100%; font-size: 16px; padding: 16px; }
.woocommerce-privacy-policy-text { font-size: 12px; color: var(--muted); margin-bottom: 14px; }

/* Detalhes de cobrança em 3 colunas: Dados pessoais | Endereço | Informações */
.e33-cd-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}
.e33-cd-col {
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 18px;
}
.e33-cd-col > h4 {
	font-family: var(--font-sans);
	font-size: 12px; font-weight: 800;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--terra);
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px dashed var(--line);
}
.e33-cd-col .form-row { float: none !important; width: auto !important; margin: 0 0 12px; }
.e33-cd-col .form-row label { display: block; }
/* Loja de país único: o Woo imprime "Brasil" como texto — vira uma linha própria,
   com cara de campo preenchido. */
#billing_country_field strong,
#shipping_country_field strong {
	display: block;
	margin-top: 5px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--brown);
}
.e33-cd-col .select2-container { width: 100% !important; }
/* Dentro da coluna Informações */
.e33-cd-col .woocommerce-additional-fields h3,
.e33-cd-col .woocommerce-shipping-fields h3 { font-size: 14px; margin: 0 0 12px; color: var(--brown); }
.e33-cd-col #ship-to-different-address {
	display: block;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 12px 14px;
	cursor: pointer;
	margin-top: 14px;
}
.e33-cd-col #ship-to-different-address label { cursor: pointer; font-weight: 700; color: var(--brown); font-size: 14px; }
.e33-cd-col #ship-to-different-address input { margin-right: 8px; }
.e33-cd-col .shipping_address {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 14px;
	margin-top: 10px;
}
.e33-cd-col .woocommerce-shipping-fields__field-wrapper { display: block !important; }
.e33-cd-col #order_comments { min-height: 110px; }

@media (max-width: 1024px) {
	.e33-cd-grid { grid-template-columns: 1fr; }
}

/* Campos de cobrança/entrega em grid de 2 colunas (mata os floats do Woo) */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	column-gap: 18px;
	row-gap: 2px;
}
.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row,
.woocommerce-additional-fields__field-wrapper .form-row {
	float: none !important;
	width: auto !important;
	margin: 0 0 14px;
	clear: none !important;
}
/* Campos longos ocupam a linha inteira */
#billing_company_field,
#billing_address_1_field,
#billing_email_field,
#shipping_address_1_field,
#shipping_company_field,
#order_comments_field {
	grid-column: 1 / -1;
}
/* Pares garantidos: País/CEP, Nome/Sobrenome, Número/Complemento,
   Bairro/Cidade, Estado/Telefone seguem o fluxo natural do grid. */
.woocommerce-billing-fields__field-wrapper .select2-container,
.woocommerce-shipping-fields__field-wrapper .select2-container { width: 100% !important; }

@media (max-width: 768px) {
	form.checkout.woocommerce-checkout { max-width: none; }
	.woocommerce-billing-fields__field-wrapper,
	.woocommerce-shipping-fields__field-wrapper,
	.woocommerce-additional-fields__field-wrapper {
		grid-template-columns: 1fr;
	}
	.woocommerce-billing-fields__field-wrapper .form-row,
	.woocommerce-shipping-fields__field-wrapper .form-row { grid-column: 1 / -1; }
}

/* ---------- Pedido recebido (padrão de blocos do checkout) ---------- */
.woocommerce-order-received .woocommerce-order {
	max-width: 860px;
	margin-inline: auto;
	display: grid;
	gap: 26px;
}
.woocommerce-thankyou-order-received {
	background: linear-gradient(135deg, var(--bg-warm), var(--panel));
	border: 1px solid rgba(255, 182, 0, 0.5);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	padding: 30px;
	text-align: center;
	font-family: var(--font-serif);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--rust);
	margin: 0;
}
.woocommerce-thankyou-order-received::before {
	content: '✓';
	display: grid; place-items: center;
	width: 54px; height: 54px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--amber), var(--gold-light));
	color: var(--brown);
	font-size: 26px;
	font-family: var(--font-sans);
}
.woocommerce-thankyou-order-failed { background: #FDF0EE; border-color: var(--danger); color: var(--danger); }
/* Instruções soltas do gateway (ex.: "Pagar em dinheiro na entrega.") viram painel */
.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-thankyou-order-received),
.woocommerce-order-received .woocommerce-order > .woocommerce-info {
	background: var(--bg-warm);
	border: 1px solid rgba(255, 182, 0, 0.45);
	border-left: 3px solid var(--amber);
	border-radius: 10px;
	padding: 16px 20px;
	margin: 0;
	color: var(--brown);
	font-weight: 600;
	text-align: center;
}
.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.woocommerce-order-overview li {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 12px;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-right: 1px solid var(--line);
	margin: 0;
	word-break: break-word;
}
.woocommerce-order-overview strong { display: block; color: var(--brown); font-size: 15px; text-transform: none; letter-spacing: 0; margin-top: 4px; }
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 30px;
	box-shadow: var(--shadow-soft);
	margin: 0;
}
.woocommerce-order-details__title,
.woocommerce-customer-details h2,
.woocommerce-column__title {
	font-size: 1.25rem;
	color: var(--rust);
	margin: 0 0 18px;
}
.woocommerce-order-received table.shop_table { background: transparent; border: 1px solid var(--line); }
.woocommerce-customer-details address {
	font-style: normal;
	background: var(--bg-soft);
	border: 1px dashed var(--line);
	border-radius: 10px;
	padding: 16px 18px;
	color: var(--brown);
	line-height: 1.7;
}

/* Bloco PIX do Asaas na página de obrigado */
.woocommerce-order-received ul.order_details {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 30px;
	box-shadow: var(--shadow-soft);
	list-style: none;
	margin: 0;
	display: grid;
	gap: 10px;
	justify-items: center;
	text-align: center;
	color: var(--brown);
}
.asaas-pix-instructions img, .js-pix-qr-code {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 10px;
	margin: 6px auto;
}
.woocommerce-order-details__asaas-pix-payload {
	max-width: 100%;
	font-size: 12px;
	word-break: break-all;
	background: var(--bg-soft);
	border: 1px dashed var(--amber);
	border-radius: 8px;
	padding: 12px;
	color: #6b5844;
}
.woocommerce-order-received ul.order_details button,
.woocommerce-order-received ul.order_details .button {
	padding: 12px 28px;
	font-size: 13px;
}
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.woocommerce-MyAccount-navigation a { display: block; background: var(--panel); border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; font-size: 13px; color: var(--brown); font-weight: 600; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--amber); color: var(--brown); border-color: var(--amber); }
.woocommerce-MyAccount-content { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); }
/* Minha conta → Pedidos: tabela vira cards no mobile */
.woocommerce-orders-table__cell-order-actions .button { padding: 10px 22px; font-size: 12px; }
@media (max-width: 768px) {
	.woocommerce-orders-table thead { display: none; }
	.woocommerce-orders-table,
	.woocommerce-orders-table tbody { display: block; width: 100%; }
	.woocommerce-orders-table tbody tr {
		display: block;
		background: var(--bg-soft);
		border: 1px solid var(--line);
		border-radius: 10px;
		padding: 6px 14px;
		margin-bottom: 14px;
	}
	.woocommerce-orders-table tbody td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		text-align: right;
		border-bottom: 1px dashed var(--line);
		padding: 10px 0;
	}
	.woocommerce-orders-table tbody td:last-child { border-bottom: 0; }
	.woocommerce-orders-table tbody td::before {
		content: attr(data-title);
		font-size: 11px;
		font-weight: 800;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: var(--terra);
		text-align: left;
	}
	.woocommerce-orders-table__cell-order-actions { justify-content: flex-end; }
	.woocommerce-orders-table__cell-order-actions::before { display: none; }
	.woocommerce-orders-table__cell-order-actions .button { width: 100%; }
}

/* Minha conta → Detalhes da conta em 2 colunas: dados | senha */
.woocommerce-EditAccountForm {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 28px;
	align-items: start;
}
.woocommerce-EditAccountForm > p.form-row { grid-column: 1; float: none !important; width: auto !important; }
.woocommerce-EditAccountForm > fieldset {
	grid-column: 2;
	grid-row: 1 / span 6;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--bg-soft);
	padding: 18px 20px 8px;
	margin: 0;
}
.woocommerce-EditAccountForm > fieldset legend {
	font-family: var(--font-serif);
	font-weight: 700;
	color: var(--rust);
	font-size: 1.05rem;
	padding: 0 6px;
}
.woocommerce-EditAccountForm > p.form-row:has(button[type="submit"]),
.woocommerce-EditAccountForm > p:last-of-type {
	grid-column: 1 / -1;
	margin-top: 10px;
}
@media (max-width: 768px) {
	.woocommerce-EditAccountForm { grid-template-columns: 1fr; }
	.woocommerce-EditAccountForm > p.form-row, .woocommerce-EditAccountForm > fieldset { grid-column: 1; grid-row: auto; }
}

/* Minha conta → Endereços em 2 colunas */
.woocommerce-MyAccount-content .woocommerce-Addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 16px;
}
.woocommerce-MyAccount-content .woocommerce-Address {
	float: none !important;
	width: auto !important;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 20px 22px;
}
.woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.woocommerce-Address-title h3 { font-size: 1.1rem; margin: 0 0 10px; }
.woocommerce-Address-title .edit { font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-MyAccount-content .woocommerce-Address address {
	font-style: normal;
	color: var(--brown);
	line-height: 1.8;
	border-top: 1px dashed var(--line);
	padding-top: 12px;
}
@media (max-width: 700px) {
	.woocommerce-MyAccount-content .woocommerce-Addresses { grid-template-columns: 1fr; }
}

/* ---------- Minha conta: login / esqueci a senha em cartão ---------- */
.woocommerce-form-login,
.woocommerce-ResetPassword,
form.lost_reset_password {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	padding: 34px 36px;
	max-width: 460px;
	margin: 0 auto 30px;
}
.woocommerce-ResetPassword p:first-of-type,
form.lost_reset_password p:first-of-type { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.woocommerce-form-login .form-row,
.woocommerce-ResetPassword .form-row { float: none !important; width: 100% !important; margin: 0 0 14px; }
.woocommerce-form-login button[type="submit"],
.woocommerce-ResetPassword button[type="submit"] { width: 100%; margin-top: 6px; }
.woocommerce-LostPassword { text-align: center; font-size: 13px; }

/* ---------- Minha conta: visualizar pedido em blocos (padrão do checkout) ---------- */
.woocommerce-view-order .woocommerce-MyAccount-content {
	background: transparent; border: 0; box-shadow: none; padding: 0;
	display: grid; gap: 24px;
}
.woocommerce-view-order .woocommerce-MyAccount-content > p {
	background: var(--bg-warm);
	border: 1px solid rgba(255, 182, 0, 0.45);
	border-left: 3px solid var(--amber);
	border-radius: 10px;
	padding: 16px 20px;
	margin: 0;
	color: var(--brown);
	font-weight: 600;
}
.woocommerce-view-order .woocommerce-MyAccount-content > section,
.woocommerce-view-order .woocommerce-order-details,
.woocommerce-view-order .woocommerce-customer-details {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 28px;
	box-shadow: var(--shadow-soft);
	margin: 0;
}
.woocommerce-view-order table.shop_table { background: transparent; border: 1px solid var(--line); }
/* Endereços lado a lado */
.woocommerce-customer-details .col2-set,
.woocommerce-customer-details .addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.woocommerce-customer-details .col2-set .col-1,
.woocommerce-customer-details .col2-set .col-2 {
	float: none !important; width: auto !important;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 18px 20px;
}
@media (max-width: 700px) {
	.woocommerce-customer-details .col2-set,
	.woocommerce-customer-details .addresses { grid-template-columns: 1fr; }
}

/* ---------- Favoritos (página) ---------- */
.e33-fav-empty { text-align: center; padding: 60px 0; display: grid; gap: 18px; justify-items: center; color: var(--muted); }

/* ---------- Páginas de conteúdo ---------- */
.e33-page { padding: 56px 0 80px; }
.e33-entry {
	color: var(--text);
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 52px 64px;
	box-shadow: var(--shadow-soft);
}
.e33-entry p { font-size: 17px; }
/* Linhas de texto com largura de leitura confortável, sem estreitar o painel */
.e33-entry > p, .e33-entry > ul, .e33-entry > ol, .e33-entry > h2, .e33-entry > h3 { max-width: 940px; }
@media (max-width: 768px) {
	.e33-entry { padding: 28px 22px; }
}
.e33-entry h2, .e33-entry h3 { margin: 28px 0 12px; }
.e33-entry p strong { color: var(--rust); }
.e33-lead { font-size: 19px; line-height: 1.6; color: var(--brown); }

.e33-entry p.e33-lead { font-size: 22px; }

/* Quem Somos: texto à esquerda, logo animado à direita */
.e33-qs-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.e33-qs-side { display: grid; place-items: center; }
.e33-qs-logo {
	position: relative;
	width: 100%;
	max-width: 400px;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 42%, var(--bg-warm) 0%, var(--bg-soft) 62%, transparent 72%);
}
.e33-qs-logo::before {
	content: '';
	position: absolute; inset: 8%;
	border-radius: 50%;
	border: 1px dashed rgba(147, 60, 31, 0.45);
	animation: e33-ring 26s linear infinite;
}
.e33-qs-logo::after {
	content: '';
	position: absolute; inset: 18%;
	border-radius: 50%;
	box-shadow: 0 0 60px 18px rgba(255, 182, 0, 0.35);
	animation: e33-glow 4s ease-in-out infinite;
}
.e33-qs-logo img {
	position: relative; z-index: 1;
	width: 62%;
	animation: e33-float 6s ease-in-out infinite;
}
@keyframes e33-ring { to { transform: rotate(360deg); } }
@keyframes e33-glow {
	0%, 100% { opacity: 0.5; }
	50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.e33-qs-logo::before, .e33-qs-logo::after, .e33-qs-logo img { animation: none; }
}
@media (max-width: 768px) {
	.e33-qs-grid { grid-template-columns: 1fr; }
	.e33-qs-side { order: -1; }
	.e33-qs-logo { max-width: 220px; }
}
.e33-entry p, .e33-entry ul, .e33-entry ol { margin-bottom: 16px; }
.e33-entry ul { list-style: disc; padding-left: 22px; }
/* Páginas Woo dentro de page.php: largura total, sem painel de leitura */
.e33-page--wide .e33-wc-content { max-width: none; }
.e33-page--wide .e33-page__title { text-align: center; }
.e33-404 { text-align: center; padding: 100px 0; }
.e33-404 h1 { margin-bottom: 14px; }
.e33-404 p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Footer ---------- */
.e33-footer { background: var(--brown); margin-top: 0; }
.e33-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding: 56px 0 40px; }
.e33-footer__logo { width: 130px; margin-bottom: 14px; filter: brightness(0) invert(1) sepia(0.3); }
.e33-footer__col p { color: #D8C7AE; font-size: 14px; }
.e33-footer__col h3 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; font-family: var(--font-sans); font-weight: 800; }
.e33-footer__col ul li { margin-bottom: 8px; }
.e33-footer__col a { color: #D8C7AE; font-size: 14px; }
.e33-footer__col a:hover { color: var(--gold-light); }
.e33-footer__moderation { font-size: 11px !important; letter-spacing: 0.1em; margin-top: 12px; }
.e33-footer__lojista {
	display: inline-block;
	margin-top: 14px;
	padding: 10px 22px;
	font-size: 12px;
	background: transparent;
	color: var(--gold-light);
	border: 1px solid rgba(255, 219, 131, 0.6);
	box-shadow: none;
}
.e33-footer__lojista:hover { background: var(--amber); color: var(--brown); border-color: var(--amber); }
.e33-footer__bottom { border-top: 1px solid rgba(255, 219, 131, 0.25); padding: 18px 0; }
.e33-footer__bottom p { color: #B9A484; font-size: 12px; text-align: center; }
.e33-footer__bottom a { color: #D8C7AE; }

/* ---------- Age gate ---------- */
.e33-age-gate {
	position: fixed; inset: 0; z-index: 999;
	background: rgba(43, 24, 4, 0.94);
	display: grid; place-items: center; padding: 20px;
}
.e33-age-gate[hidden] { display: none; }
.e33-age-gate__box {
	background: #FFFDF8; border: 1px solid var(--line); border-radius: 18px;
	max-width: 440px; width: 100%; text-align: center; padding: 44px 36px;
	box-shadow: var(--shadow);
	animation: e33-gate-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes e33-gate-in { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }
.e33-age-gate__box img { margin: 0 auto 22px; }
.e33-age-gate__box h2 { font-size: 1.5rem; margin-bottom: 10px; }
.e33-age-gate__box p { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.e33-age-gate__actions { display: grid; gap: 10px; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
	.e33-hero__inner, .e33-story__inner { grid-template-columns: 1fr; }
	.e33-hero__media { order: -1; }
	.e33-hero__media img { max-height: 320px; width: auto; }
	.e33-badges__grid { grid-template-columns: 1fr; gap: 14px; }
	.e33-categories__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
	ul.products { grid-template-columns: repeat(2, 1fr); }
	.single-product div.product { grid-template-columns: 1fr; }
	.single-product div.product > .woocommerce-product-gallery,
	.single-product div.product > .summary { grid-column: 1; grid-row: auto; }
	[data-e33-cart-main] { grid-template-columns: 1fr; }
	[data-e33-cart-main] > .woocommerce-cart-form,
	[data-e33-cart-main] > .cart-collaterals { grid-column: 1; position: static; }
	.e33-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.e33-burger { display: block; }
	.e33-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: var(--panel); border-bottom: 1px solid var(--line); padding: 18px 6%;
		box-shadow: var(--shadow-soft);
	}
	.e33-nav.is-open { display: block; }
	.e33-nav .menu { flex-direction: column; gap: 16px; }
	.e33-header__inner { gap: 10px; }
	.e33-header__actions { margin-left: auto; }
	.e33-logo { margin: 10px 8px; }
	.e33-logo img { width: 92px; }
	ul.products { grid-template-columns: 1fr; }
	ul.products li.product img { height: 210px; }
	.e33-categories__grid { grid-template-columns: 1fr; }
	.e33-section-title--ornament::before, .e33-section-title--ornament::after { width: 44px; }
	.e33-shop-filters { border-radius: 16px; }
	.e33-hero { padding: 40px 0 36px; }
	.e33-slider__slide img { min-height: 380px; }
	.e33-footer__grid { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 28px; }
	table.shop_table thead { display: none; }
	.woocommerce-cart-form table.shop_table td { display: block; text-align: right; border-bottom: 0; }
	.woocommerce-cart-form table.shop_table tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
	.woocommerce-cart-form table.shop_table td::before { content: attr(data-title); float: left; color: var(--muted); font-size: 12px; text-transform: uppercase; }
	.woocommerce-cart-form table.shop_table td.product-thumbnail { display: none; }
	td.actions .coupon { float: none; margin-bottom: 12px; }
	td.actions > .button { float: none; width: 100%; }
	.e33-carousel__card { flex-basis: 170px; }
}
