/* ==========================================================================
   Contas de Ijexá — integração do catálogo (API) e blog (WP) com o design
   artesanal. Complementa assets/site.css, que já traz os tokens e o layout.
   ========================================================================== */

/* ---------- Grade de produtos do plugin (hostinger-ecommerce) ---------- */
.hostinger-ecommerce-grid,
.hostinger-ecommerce-products .hostinger-ecommerce-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

@media (max-width: 980px) {
	.hostinger-ecommerce-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.hostinger-ecommerce-grid { grid-template-columns: 1fr; }
}

/* ---------- Card ---------- */
.card-add {
	border: 0;
	background: none;
	padding: 0;
	color: #805912;
	font: 700 12px Manrope, sans-serif;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: .2em;
}
.card-add:disabled { opacity: .45; cursor: not-allowed; }
.card-msg { display: block; margin-top: 8px; font-size: 11px; color: #7a6a58; }

.product-card .product-image { position: relative; }
.product-card .product-image .badge {
	position: absolute; top: 12px; left: 12px;
}

/* ---------- Página de produto ---------- */
.detail .product { align-items: start; }

.gallery-main button#main-image-open,
.gallery-main > img,
.gallery-main img#main-image {
	width: 100%;
	display: block;
	border-radius: 10px;
	background: var(--cream);
	object-fit: contain;
}

.details h1 {
	font: 600 46px/.98 "Cormorant Garamond", serif;
	color: var(--bronze);
	letter-spacing: -.6px;
	margin: 0 0 14px;
}
.details .price {
	font: 600 30px/1 "Cormorant Garamond", serif;
	color: var(--bronze);
	margin: 10px 0 18px;
}
.details .price s { font-size: 18px; opacity: .5; margin-left: 8px; }
.details .lead { color: #5f5348; font-size: 15px; line-height: 1.75; }
.details .lead p { margin: 0 0 12px; }

.buy-box { display: block; margin: 22px 0; }
.buy-box .primary,
.details > .primary {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 26px;
	border: 1px solid var(--bronze); border-radius: 8px;
	background: var(--bronze); color: #fffdf8;
	font: 700 12px Manrope, sans-serif; letter-spacing: .6px; text-transform: uppercase;
	text-decoration: none; cursor: pointer;
}
.buy-box .primary:hover { background: #3a220d; }
.buy-box .whatsapp { min-height: 48px; }
.buy-msg { font-size: 12px; color: #7a6a58; width: 100%; }

@media (max-width: 720px) {
	.details h1 { font-size: 34px; }
	.detail .product { grid-template-columns: 1fr; gap: 26px; }
	.gallery { grid-template-columns: 1fr; }
	.gallery-thumbs { display: flex; overflow-x: auto; gap: 8px; }
	.gallery-thumb { flex: 0 0 64px; aspect-ratio: 1; }
}

/* ---------- Blog ---------- */
.blog-hero { padding: 52px 0 30px; }
.blog-hero h1 {
	font: 600 52px/1 "Cormorant Garamond", serif;
	color: var(--bronze); letter-spacing: -.6px; margin: 0 0 14px;
}
.blog-hero p { max-width: 620px; color: #685d54; font-size: 15px; line-height: 1.7; }

.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	padding: 26px 0 70px;
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
	display: flex; flex-direction: column;
	border: 1px solid rgba(221,203,168,.9);
	border-radius: 12px; overflow: hidden;
	background: #fffefa;
	box-shadow: 0 12px 30px rgba(76,48,19,.06);
	transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(76,48,19,.12); }
.blog-card a { text-decoration: none; color: inherit; }
.blog-card__image { height: 210px; background: var(--cream); overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 20px 22px 24px; }
.blog-card__cat {
	display: inline-block; margin-bottom: 10px; padding: 5px 10px;
	border-radius: 99px; background: #f6e8c6; color: #7a5617;
	font-size: 9px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase;
}
.blog-card__title {
	font: 600 27px/1.05 "Cormorant Garamond", serif;
	color: var(--bronze); margin: 0 0 10px;
}
.blog-card__excerpt { color: #685d54; font-size: 13px; line-height: 1.65; margin: 0; }

/* Artigo */
.article-single { padding: 34px 0 70px; }
.article-single .crumb { padding: 0 0 18px; border: 0; }
.article-single .entry-title,
.article-single h1 {
	font: 600 50px/1.02 "Cormorant Garamond", serif;
	color: var(--bronze); letter-spacing: -.6px; margin: 0 0 18px;
}
.article-single .entry-content { max-width: 760px; color: #4a3d33; font-size: 16px; line-height: 1.8; }
.article-single .entry-content h2 {
	font: 600 32px/1.1 "Cormorant Garamond", serif;
	color: var(--bronze); margin: 34px 0 12px;
}
.article-single .entry-content h3 {
	font: 600 24px/1.15 "Cormorant Garamond", serif;
	color: var(--bronze); margin: 26px 0 10px;
}
.article-single .entry-content a { color: #805912; }
.article-single .entry-content img { max-width: 100%; height: auto; border-radius: 10px; }
.article-single .entry-content blockquote {
	margin: 26px 0; padding: 20px 26px;
	border-left: 3px solid var(--gold); background: #f8f1e3;
	border-radius: 0 10px 10px 0;
	font-size: 17px; font-style: italic; color: #5f5348;
}
.article-single .entry-meta {
	color: #9c742b; font-size: 11px; font-weight: 700;
	letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.article-note {
	margin: 34px 0 0; padding: 16px 20px;
	border-left: 3px solid var(--line); background: #faf6ee;
	color: #7a6a58; font-size: 13px; line-height: 1.6; border-radius: 0 8px 8px 0;
}
.blog-products {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px; margin: 18px 0 8px;
}
@media (max-width: 620px) { .blog-products { grid-template-columns: 1fr; } }
.blog-product {
	display: flex; justify-content: space-between; gap: 12px;
	padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px;
	background: #fffefa; font-size: 14px;
}
.blog-product a { color: var(--bronze); text-decoration: none; font-weight: 600; }
.blog-product span { color: #8c6c42; font-weight: 700; white-space: nowrap; }

/* Paginação */
.blog-pagination { display: flex; gap: 10px; padding: 0 0 60px; }
.blog-pagination a, .blog-pagination span {
	padding: 9px 14px; border: 1px solid var(--line); border-radius: 7px;
	font-size: 12px; font-weight: 700; text-decoration: none; color: var(--bronze);
}
.blog-pagination .current { background: var(--bronze); color: #fffdf8; border-color: var(--bronze); }

/* ---------- Loja: esconde resíduos do template do plugin ---------- */
.hostinger-product-page__container,
.hostinger-cart__container { all: revert; }


/* ---------- Home dinâmica ---------- */
/* O layout, a tipografia e a geometria do hero vêm de assets/site.css (design
   aprovado do site original). Aqui ficam só o estado de rotação das peças. */
.hero-visual { isolation:isolate; }
.hero-actions .whatsapp { min-height:54px; }
.hero-visual.is-rotating .hero-main-photo img,.hero-visual.is-rotating .hero-detail-photo img { opacity:.25; }
.hero-main-photo img,.hero-detail-photo img { transition:opacity .22s ease,transform .4s ease; }
@media(prefers-reduced-motion:reduce){.hero-main-photo img,.hero-detail-photo img{transition:none!important}.hero-visual.is-rotating .hero-main-photo img,.hero-visual.is-rotating .hero-detail-photo img{opacity:1}}
.launches{padding:40px 0 32px;border-bottom:1px solid var(--line);scroll-margin-top:220px}
.launch-heading-side{display:flex;align-items:center;gap:30px}
.launch-heading-side>p{font-size:12px;line-height:1.8;color:#685d54;margin:0}
.launch-controls{display:flex;gap:8px;flex-shrink:0}
.launch-controls button,.carousel-controls button{display:grid;place-items:center;width:39px;height:39px;padding:0;border:1px solid #c9ad74;border-radius:50%;background:var(--ivory);color:var(--bronze);cursor:pointer;transition:background .18s ease,border-color .18s ease,opacity .18s ease}
.launch-controls svg{width:18px;height:18px}
.launch-controls button:hover:not(:disabled),.carousel-controls button:hover:not(:disabled){background:#f4e8d0;border-color:var(--gold)}
.launch-controls button:disabled,.carousel-controls button:disabled{opacity:.35;cursor:default}
.launch-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 64px)/5);gap:16px;overflow-x:auto;padding:3px 0 18px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#d7bc87 transparent;overscroll-behavior-x:contain;scroll-behavior:smooth}
.launch-track .product-card,.highlight-track .product-card{scroll-snap-align:start}
.launch-card{display:flex;flex-direction:column;box-shadow:none}
.launch-card .product-image{height:266px;flex-shrink:0;padding:8px}
.launch-card .card-copy{display:flex;flex:1;flex-direction:column;padding:16px 13px}
.launch-card .badge{align-self:flex-start;max-width:100%;font-size:8px;letter-spacing:1px;padding:5px 8px;line-height:1.5}
.launch-card h3{font-size:25px;line-height:1.08;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:81px}
.launch-card .card-copy>p{font-size:8px;line-height:1.75;letter-spacing:.65px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:12px 0 17px;min-height:28px}
.launch-card .card-bottom{margin-top:auto;gap:10px;flex-wrap:wrap;padding-top:14px}
.launch-card .card-bottom strong{font-size:23px;white-space:nowrap}
.highlight-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(255px,304px);gap:20px;overflow-x:auto;padding:2px 2px 17px;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-color:#d7bc87 transparent;overscroll-behavior-x:contain}
.highlight-track .product-image{height:354px}
.highlight-card{display:flex;flex-direction:column}
.highlight-card .card-copy{display:flex;flex:1;flex-direction:column}
.highlight-card .card-bottom{margin-top:auto}
@media(max-width:1099px){.launch-track{grid-auto-columns:calc((100% - 32px)/3)}}
@media(max-width:760px){.launches{padding-top:30px}.launch-heading-side{justify-content:space-between;gap:15px;margin-top:17px}.launch-heading-side>p{font-size:11px}.launches>.section-heading{padding-top:0;margin-bottom:23px}.launch-track{grid-auto-columns:calc((100% - 16px)/2)}.launch-card .product-image{height:260px}}
@media(max-width:500px){.launch-track{grid-auto-columns:78%}.launch-card .product-image{height:310px}.launch-card h3{font-size:29px;min-height:62px;-webkit-line-clamp:2}.launch-card .card-copy{padding:20px}.launch-card .card-bottom{flex-wrap:nowrap}.launch-card .badge{font-size:9px}}
@media(max-width:760px){.highlight-track{grid-auto-columns:minmax(252px,82vw)}}
@media(prefers-reduced-motion:reduce){.launch-track,.highlight-track{scroll-behavior:auto}}
.home-reading { padding: 46px 0 70px; max-width: 640px; }
.home-reading h2 { font-size: 38px; margin: 0 0 14px; }
.home-reading p { color: #685d54; font-size: 15px; line-height: 1.7; }

.buy-qty { font: 700 11px Manrope, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: #7a5617; width: 100%; margin-bottom: -6px; }
.buy-box input[type=number] {
  width: 78px; min-height: 48px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px; background: #fffefa;
  font: 600 15px Manrope, sans-serif; color: var(--bronze);
}
.buy-box .secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 8px;
  border: 1px solid var(--gold); background: #fffdf9; color: var(--bronze);
  font: 700 12px Manrope, sans-serif; letter-spacing: .6px; text-transform: uppercase;
  cursor: pointer;
}
.buy-box .secondary:hover { background: #f9edcf; }

/* 
 * WordPress block theme.json sets page backgrounds at the site-block level.
 * ProductPage outputs the plugin's block wrapper, so paint the approved ivory
 * background across that full wrapper too.
 */
.wp-site-blocks,
body.blog .wp-site-blocks {
	background: #fffdf8 !important;
	color: #2e221b;
}
body.blog .wp-site-blocks > main.shell { background: #fffdf8 !important; }

.cdi-cart { padding: 10px 0 70px; }
.cdi-cart .hostinger-cart__container { max-width: 900px; }
.cdi-cart table { width: 100%; border-collapse: collapse; }
.cdi-cart th, .cdi-cart td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.cdi-cart th { font: 700 10px Manrope, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: #8c6c42; }
.cdi-cart .cart-item-title, .cdi-cart a { color: var(--bronze); font-weight: 600; }
.cdi-cart button, .cdi-cart .button, .cdi-cart a.button {
  min-height: 44px; padding: 0 22px; border-radius: 8px; border: 1px solid var(--bronze);
  background: var(--bronze); color: #fffdf8; font: 700 12px Manrope, sans-serif;
  letter-spacing: .6px; text-transform: uppercase; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center;
}
.cdi-cart .checkout, .cdi-cart [data-checkout] { background: var(--bronze); }
.cdi-cart button:disabled { opacity: .5; cursor: not-allowed; }
.cdi-cart .cart-empty, .cdi-cart [data-cart-empty] { color: #685d54; font-size: 15px; padding: 30px 0; }
.cdi-cart .cart-total, .cdi-cart [data-cart-subtotal] strong { font: 600 26px "Cormorant Garamond", serif; color: var(--bronze); }

.foundation .primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 24px; margin-right: 10px; border-radius: 8px;
  background: var(--bronze); color: #fffdf8; text-decoration: none;
  font: 700 12px Manrope, sans-serif; letter-spacing: .6px; text-transform: uppercase;
}

/* ---------- Filtros da loja (badges multi-seleção) ---------- */
.shop-toolbar { display:flex; flex-direction:column; gap:12px; margin:18px 0 24px; }
.shop-filters { display:flex; flex-wrap:wrap; gap:8px; max-width:100%; width:100%; }
.shop-chip { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border:1px solid #d9c9a8; border-radius:999px; background:#fffdf8; color:#3a2a1a; font:600 13px Manrope,system-ui,sans-serif; cursor:pointer; user-select:none; transition:background .15s,border-color .15s; min-height:32px; white-space:nowrap !important; }
.shop-chip input { position:absolute; opacity:0; width:0; height:0; }
.shop-chip:hover { border-color:#b89a6a; }
.shop-chip:has(input:checked) { background:#3a2a1a; color:#fffdf8; border-color:#3a2a1a; }
.shop-chip em { font-style:normal; font-weight:700; font-size:11px; padding:2px 8px; border-radius:999px; background:rgba(0,0,0,.08); white-space:nowrap !important; }
.shop-chip span { white-space:nowrap !important; }
.shop-chip:has(input:checked) em { background:rgba(255,255,255,.18); }
.shop-count { margin:0; font:500 14px Manrope,system-ui,sans-serif; color:#6b5a45; }
.shop-empty { margin:24px 0; padding:24px; text-align:center; color:#6b5a45; font:500 15px Manrope,system-ui,sans-serif; border:1px dashed #d9c9a8; border-radius:12px; }
.product-card-wrap { display:contents; }

/* Limita conteúdo ao viewport e impede filhos intrínsecos de alargar a página. */
html, body { width:100%; max-width:100%; overflow-x:hidden; }
#conteudo { width:100%; max-width:100%; min-width:0; }
main.shell { min-width:0; }
.shop-filters::-webkit-scrollbar { height:4px; }
.shop-filters::-webkit-scrollbar-thumb { background:#ddcba8; border-radius:4px; }
/* ==========================================================================
   Correção de tipografia: o tema pai (NunitoSans) e o Elementor sobrescrevem
   as fontes do projeto. Forçamos Cormorant Garamond + Manrope.
   ========================================================================== */
html body,
body.cdi-site,
body.page-template-page-loja-php,
body.page-template-page-cart-php {
	font-family: "Manrope", Arial, sans-serif !important;
	color: var(--ink);
}

h1, h2, h3, h4, h5, h6,
.brand-name, .hero-copy h1, .details h1, .entry-title,
.blog-card__title, .article-single h1, .card-copy h3,
.intro h1, .section-heading h2, .foundation h2 {
	font-family: "Cormorant Garamond", "Cormorant", serif !important;
	color: var(--bronze);
}

p, li, span, a, button, input, label, td, th, small, strong, em {
	font-family: "Manrope", Arial, sans-serif;
}

/* Itens inline dentro de títulos herdam a serifa do título (ex.: o <em> dourado
   do hero), senão a regra Manrope acima estica o texto e quebra a linha. */
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em,
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong,
.hero-copy em, .hero-copy strong {
	font-family: inherit;
}

h1 { font-weight: 600; }
details, .lead, .entry-content, .entry-content p, .entry-content li {
	font-family: "Manrope", Arial, sans-serif;
}

/* ---------- Correção de overflow na loja ---------- */
.page-template-page-loja-php .product-grid,
.page-template-page-loja-php .guides-grid,
.cdi-shop .product-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	max-width: none;
	width: 100%;
}
@media (max-width: 980px) {
	.page-template-page-loja-php .product-grid,
	.page-template-page-loja-php .guides-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 620px) {
	.page-template-page-loja-php .product-grid,
	.page-template-page-loja-php .guides-grid { grid-template-columns: 1fr !important; }
}
.page-template-page-loja-php .shell,
.page-template-page-loja-php .product-card { min-width: 0; }
.page-template-page-loja-php img { max-width: 100%; height: auto; }

/* ---------- Nav de categorias: nunca estoura a viewport ---------- */
.category-nav-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.category-nav-wrap::-webkit-scrollbar { height: 0; }
.category-nav { flex-wrap: nowrap; white-space: nowrap; }
.category-nav a { flex: 0 0 auto; }

@media (max-width: 980px) {
	.category-nav-wrap { overflow-x: auto; }
	.category-nav { gap: 16px; padding-bottom: 8px; }
	.category-nav a { font-size: 11px; }
}

/* nada pode criar scroll horizontal */
html, body { max-width: 100%; overflow-x: hidden; }

.shop-filters { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.shop-filters::-webkit-scrollbar { height: 0; }
.shop-filters a { flex: 0 0 auto; }
@media (max-width: 980px) {
	.shop-filters { gap: 6px; }
	.shop-filters a { font-size: 10px; padding: 8px 12px; }
}

/* ==========================================================================
   Página de produto — controles no padrão do site
   ========================================================================== */

/* Quantidade */
.details .qty-label {
	display: block; margin-bottom: 10px;
	font: 700 10px "Manrope", sans-serif; letter-spacing: 1.6px;
	text-transform: uppercase; color: #9c742b;
}
.details .buy-row {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.details .qty-control {
	display: inline-flex; align-items: stretch;
	width: fit-content; border: 1px solid var(--line);
	border-radius: 8px; overflow: hidden; background: #fffefa; min-height: 50px;
}
.details .qty-btn {
	width: 46px; min-height: 46px; border: 0; background: #faf6ee;
	color: var(--bronze); font: 600 19px/1 "Manrope", sans-serif;
	cursor: pointer; display: grid; place-items: center;
	transition: background .18s ease;
}
.details .qty-btn:hover { background: #f2e7cf; }
.details .qty-btn:active { background: #e9dabb; }
.details .qty-control input {
	width: 62px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
	text-align: center; background: #fffefa; color: var(--bronze);
	font: 600 15px "Manrope", sans-serif; -moz-appearance: textfield;
}
.details .qty-control input::-webkit-outer-spin-button,
.details .qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Botões */
.details .buy-actions {
	display: flex; flex-wrap: wrap; gap: 10px; margin: 0; align-items: center;
	flex: 1;
}
.details .buy-actions .btn { flex: 1; }
.details .btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	min-height: 50px; padding: 0 24px; border-radius: 8px;
	font: 700 11px "Manrope", sans-serif; letter-spacing: 1px; text-transform: uppercase;
	text-decoration: none; cursor: pointer; transition: all .18s ease;
}
.details .btn svg { width: 17px; height: 17px; flex: 0 0 17px; }

.details .btn-solid {
	background: var(--bronze); color: #fffdf8; border: 1px solid var(--bronze);
}
.details .btn-solid:hover { background: #35200c; border-color: #35200c; }

.details .btn-outline {
	background: #fffdf9; color: var(--bronze); border: 1px solid var(--gold);
}
.details .btn-outline:hover { background: #f9edcf; }

.details .btn-ghost {
	background: transparent; color: #6b5334; border: 1px solid var(--line);
}
.details .btn-ghost:hover { background: #faf6ee; border-color: var(--gold); }

.details .buy-msg { display: block; margin-top: 12px; font-size: 12px; color: #6f7a4d; }
.details .buy-msg a { color: var(--bronze); font-weight: 700; }

/* Imagem principal */
.details, .gallery { min-width: 0; }
.gallery-main {
	display: block; width: 100%; overflow: hidden;
	border-radius: 12px; background: var(--cream);
}
.gallery-main img#main-image,
.gallery-main img {
	display: block; width: 100%; height: auto;
	max-height: 620px; object-fit: contain;
	border-radius: 12px;
}
.product { grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr); }

@media (max-width: 900px) {
	.product { grid-template-columns: 1fr; gap: 26px; }
	.gallery-main img#main-image, .gallery-main img { max-height: 460px; }
}
@media (max-width: 560px) {
	.details .buy-row { flex-direction: column; align-items: stretch; }
	.details .buy-actions { flex-direction: column; width: 100%; }
}

/* ==========================================================================
   Página de produto — override final (especificidade alta)
   ========================================================================== */
main .detail .product .details .buy-box .btn,
main .detail .product .details .buy-actions .btn,
body .detail .details .btn {
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	gap: 9px !important; min-height: 50px !important; height: auto !important;
	padding: 0 24px !important; border-radius: 8px !important;
	font: 700 11px "Manrope", sans-serif !important; letter-spacing: 1px !important;
	text-transform: uppercase !important; text-decoration: none !important;
	cursor: pointer !important; width: auto !important;
}

main .detail .details .btn svg { width: 17px !important; height: 17px !important; flex: 0 0 17px !important; stroke-width: 1.7; }

main .detail .details .btn-solid {
	background: #4b2d12 !important; color: #fffdf8 !important;
	border: 1px solid #4b2d12 !important;
}
main .detail .details .btn-solid:hover { background: #35200c !important; }

main .detail .details .btn-outline {
	background: #fffdf9 !important; color: #4b2d12 !important;
	border: 1px solid #b9841b !important;
}
main .detail .details .btn-outline:hover { background: #f9edcf !important; }

main .detail .details .btn-ghost {
	background: transparent !important; color: #6b5334 !important;
	border: 1px solid #ddcba8 !important;
}

/* quantidade */
main .detail .details .qty-control {
	display: inline-flex !important; align-items: stretch !important;
	width: fit-content !important; border: 1px solid #ddcba8 !important;
	border-radius: 8px !important; overflow: hidden !important; background: #fffefa !important;
}
main .detail .details .qty-btn {
	width: 46px !important; min-height: 46px !important; height: auto !important;
	border: 0 !important; background: #faf6ee !important; color: #4b2d12 !important;
	font: 600 19px/1 "Manrope", sans-serif !important; cursor: pointer !important;
	display: grid !important; place-items: center !important; padding: 0 !important;
}
main .detail .details .qty-control input {
	width: 62px !important; border: 0 !important;
	border-left: 1px solid #ddcba8 !important; border-right: 1px solid #ddcba8 !important;
	text-align: center !important; background: #fffefa !important; color: #4b2d12 !important;
	font: 600 15px "Manrope", sans-serif !important; height: auto !important;
}

/* imagem */
main .detail .product .gallery { grid-template-columns: 78px minmax(0, 1fr) !important; }
main .detail .product .gallery.gallery--single { grid-template-columns: minmax(0, 1fr) !important; }
main .detail .product .gallery-main { width: 100% !important; max-width: 100% !important; }
main .detail .product .gallery-main img,
main .detail .product .gallery-main img#main-image {
	width: 100% !important; height: auto !important;
	max-height: 640px !important; object-fit: contain !important;
	display: block !important; border-radius: 12px !important;
}

@media (max-width: 760px) {
	main .detail .product .gallery { grid-template-columns: 1fr !important; }
	main .detail .product .gallery-main img { max-height: 640px !important; }
}


/* ---------- Cards da loja: retrato + painel de nome no rodapé ---------- */
.page-template-page-loja-php .product-card,
body .guides-grid .product-card {
	position: relative;
	overflow: hidden;
}
.page-template-page-loja-php .product-card .product-image,
body .guides-grid .product-card .product-image {
	height: 460px;
	padding: 0;
	background: #ffffff;
}
.page-template-page-loja-php .product-card .product-image img,
body .guides-grid .product-card .product-image img {
	object-fit: cover;
	border-radius: 0;
	display: block;
	width: 100%;
	height: 100%;
}
.page-template-page-loja-php .guides-grid .product-card .card-copy,
body .guides-grid .product-card .card-copy {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 14px 16px 16px;
	background: linear-gradient(180deg, rgba(255,253,248,0) 0%, rgba(43,28,18,.55) 35%, rgba(43,28,18,.78) 100%);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #fffdf8;
}
.page-template-page-loja-php .guides-grid .product-card .card-copy h3 {
	color: #fffdf8 !important;
	font-size: 20px;
	line-height: 1.15;
	text-shadow: 0 1px 2px rgba(0,0,0,.35);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 46px;
}
.page-template-page-loja-php .guides-grid .product-card .card-copy > p {
	color: rgba(255,253,248,.85);
	font-size: 12px;
	margin: 6px 0 10px;
}
.page-template-page-loja-php .guides-grid .product-card .card-bottom {
	border-top: 1px solid rgba(255,253,248,.25);
	padding-top: 10px;
}
.page-template-page-loja-php .guides-grid .product-card .card-bottom {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
	}
	page-template-page-loja-php .guides-grid .product-card .card-bottom h3 {
		margin: 0; font-size: 20px; line-height: 1.15; color: #fffdf8;
		text-shadow: 0 1px 2px rgba(0,0,0,.35);
	}
	page-template-page-loja-php .guides-grid .product-card .card-bottom .card-arrow {
		color: #fffdf8; font-size: 26px; font-weight: 400; text-decoration: none; line-height: 1;
		background: none; border: none; padding: 0; border-radius: 0;
	}
.page-template-page-loja-php .guides-grid .product-card .card-bottom a {
	color: #fffdf8;
}
.page-template-page-loja-php .guides-grid .product-card .badge {
	top: 12px; left: 12px;
}
@media (max-width: 900px) {
	.page-template-page-loja-php .product-card .product-image,
	body .guides-grid .product-card .product-image { height: 400px; }
}
@media (max-width: 560px) {
	.page-template-page-loja-php .product-card .product-image,
	body .guides-grid .product-card .product-image { height: 360px; }
}


/* ---------- Campo de busca live na loja ---------- */
.shop-search { width: 100%; max-width: 420px; padding: 10px 16px; border: 1px solid #d9c9a8; border-radius: 999px; font: 500 14px Manrope,system-ui,sans-serif; background: #fffdf8; color: #3a2a1a; outline: none; }
.shop-search:focus { border-color: #b89a6a; box-shadow: 0 0 0 3px rgba(184,154,106,.18); }


/* ---------- Card inteiro clicavel (backdrop clicavel) ---------- */
.page-template-page-loja-php .guides-grid .product-card { position: relative; cursor: pointer; }
.page-template-page-loja-php .guides-grid .product-card .card-overlay { cursor: pointer; }
.page-template-page-loja-php .guides-grid .product-card .card-overlay {
	position: absolute; inset: 0; z-index: 1; display: block;
}
.page-template-page-loja-php .guides-grid .product-card .product-image { position: relative; z-index: 2; }
.page-template-page-loja-php .guides-grid .product-card .card-copy { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; pointer-events: none; }
.page-template-page-loja-php .guides-grid .product-card .card-copy .card-arrow { pointer-events: auto; }
.page-template-page-loja-php .guides-grid .product-card .badge { position: absolute; z-index: 3; pointer-events: none; }


/* ---------- Cards com backdrop (global: /loja e categorias) ---------- */
.guides-grid .product-card {
	position: relative;
	overflow: hidden;
	cursor: pointer;
}
.guides-grid .product-card .product-image {
	height: 460px;
	padding: 0;
	background: #ffffff;
}
.guides-grid .product-card .product-image img {
	object-fit: cover;
	border-radius: 0;
	display: block;
	width: 100%;
	height: 100%;
}
.guides-grid .product-card .card-copy {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 14px 16px 16px;
	background: linear-gradient(180deg, rgba(255,253,248,0) 0%, rgba(43,28,18,.55) 35%, rgba(43,28,18,.78) 100%);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #fffdf8;
	z-index: 2;
	pointer-events: none;
}
.guides-grid .product-card .card-copy h3 {
	color: #fffdf8 !important;
	font-size: 20px;
	line-height: 1.15;
	text-shadow: 0 1px 2px rgba(0,0,0,.35);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 46px;
}
.guides-grid .product-card .card-copy .card-arrow {
	color: #fffdf8;
	font-size: 26px;
	font-weight: 400;
	text-decoration: none;
	line-height: 1;
	background: none; border: none; padding: 0; border-radius: 0;
	pointer-events: auto;
}
.guides-grid .product-card .card-overlay {
	position: absolute; inset: 0; z-index: 1; display: block; cursor: pointer;
}
@media (max-width: 900px) {
	.guides-grid .product-card .product-image { height: 400px; }
}
@media (max-width: 560px) {
	.guides-grid .product-card .product-image { height: 360px; }
}


/* ---------- Preco branco nos cards de categoria com backdrop ---------- */
.guides-grid .product-card .card-bottom strong { color: #fffdf8 !important; }

/* ---------- Mobile: compra em largura total (depois dos overrides !important) ---------- */
@media (max-width: 560px) {
	main .detail .product .details .buy-actions .btn,
	body .detail .product .details .buy-actions .btn {
		width: 100% !important;
	}
	main .detail .product .details .qty-control,
	body .detail .product .details .qty-control {
		width: 100% !important;
	}
	main .detail .product .details .qty-control input { flex: 1; }
}
