/*
Theme Name: Txunada
Description: Loja Txunada com navegação inspirada na app.
Version: 0.2.4
Text Domain: txunada
*/
:root{--ink:#202522;--accent:#14392d;--muted:#505953;--blush:#eaf0e5;--paper:#fff;--line:#ccd8ce;--gutter:clamp(1rem,4vw,2rem)}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 system-ui,sans-serif;padding-bottom:calc(5.5rem + env(safe-area-inset-bottom))}
img{max-width:100%;height:auto}
a{color:var(--accent)}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
h1,h2{line-height:1.1;letter-spacing:-.035em}
h1{font-size:clamp(2.2rem,7vw,4.6rem)}
h2{font-size:clamp(1.45rem,4vw,2.2rem)}
.tx-wrap{width:min(100%,75rem);margin-inline:auto;padding-inline:var(--gutter)}
.tx-content{padding-block:1.25rem 2.5rem;min-height:55vh}
.tx-header{background:#fff;border-bottom:1px solid var(--line)}
.tx-header-inner{display:grid;gap:.75rem;padding-block:1rem}
.tx-brand,.custom-logo-link{display:inline-flex;width:max-content;align-items:center;min-height:44px}
.tx-brand img,.custom-logo{width:8.25rem;max-height:3.25rem;object-fit:contain}
.tx-search{display:flex;gap:.45rem;min-width:0}
.tx-search input{width:100%;min-width:0;border:1px solid var(--line);border-radius:1rem;padding:.65rem .85rem;font:inherit;background:var(--paper)}
.tx-search button,.tx-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.6rem .9rem;border:0;border-radius:.9rem;background:var(--accent);color:#fff;font:inherit;font-weight:650;text-decoration:none;cursor:pointer}
.tx-nav{position:fixed;inset:auto 0 0;z-index:20;background:#fff;border-top:1px solid var(--line);padding:.35rem max(.3rem,env(safe-area-inset-right)) calc(.35rem + env(safe-area-inset-bottom)) max(.3rem,env(safe-area-inset-left))}
.tx-nav-inner{display:flex;max-width:44rem;margin:auto}
.tx-nav a{flex:1;min-width:0;min-height:48px;display:grid;justify-items:center;align-content:center;gap:.15rem;padding:.25rem;border-radius:.75rem;color:var(--muted);text-decoration:none;font-size:clamp(.64rem,2.5vw,.85rem)}
.tx-nav [aria-current]{background:var(--blush);color:var(--accent);font-weight:700}
.tx-icon{width:1.35rem;height:1.35rem;background:currentColor;mask:var(--tx-icon) center/contain no-repeat}
.tx-footer{font-size:.875rem;color:var(--muted);padding-block:1rem 2rem;border-top:1px solid var(--line)}
.screen-reader-text,.tx-skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tx-skip:focus{display:block;padding:1rem;background:white}
.tx-chips{display:flex;gap:.5rem;overflow:auto;padding:.3rem .2rem .8rem}
.tx-chips a{display:flex;align-items:center;min-height:44px;flex:none;padding:.35rem .85rem;background:#fff;border:1px solid var(--line);border-radius:99rem;text-decoration:none;font-weight:600}
.tx-hero{background:#eaf0e5;padding:clamp(1.25rem,6vw,4.5rem);border-radius:1.5rem}
.tx-hero h1{max-width:14ch;margin:.25em 0}
.tx-hero p{max-width:38ch}
.tx-kicker{font-size:.85rem;font-weight:700;color:var(--accent);margin:0}
.tx-section{margin-block:2rem}
@media(min-width:48rem){
body{padding-bottom:0}
.tx-header-inner{grid-template-columns:auto minmax(16rem,28rem);justify-content:space-between;align-items:center}
.tx-nav{position:sticky;bottom:0}
}

/* Storefront: equal edges and a consistent purchase action. */
:root {
  --ink: #202522;
  --accent: #14392d;
  --muted: #505953;
  --paper: #fff;
  --line: #ccd8ce;
  --blush: #eaf0e5;
}
.tx-hero { background: #eaf0e5; border-radius: 1rem; }
.tx-hero h1 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.055em; }
.tx-section { margin-block: clamp(2rem, 6vw, 4rem); }
.tx-section h2 { margin: 0 0 .9rem; }
.tx-categories {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.tx-categories a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  min-height: 56px;
  padding: .65rem .15rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.tx-categories a::after { content: ""; width: .45rem; height: .45rem; margin-right: .25rem; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.tx-categories a:hover { color: var(--accent); }
.tx-categories img { display: none; }

.tx-content ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.65rem, 2.5vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tx-content ul.products::before,
.tx-content ul.products::after { display: none; }
body .tx-content ul.products > li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  float: none;
  min-width: 0;
  width: 100% !important;
  max-width: none;
  clear: none;
  margin: 0;
  padding: .6rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: #fff;
  overflow-wrap: break-word;
}
.tx-content ul.products li.product > a.woocommerce-loop-product__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}
.tx-content ul.products li.product a img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 0 .6rem;
  border-radius: .45rem;
}
.tx-content ul.products li.product .star-rating {
  margin: 0 0 .5rem;
  color: #275844;
}
.tx-content ul.products li.product .woocommerce-loop-product__title {
  font-size: clamp(.95rem, 2.5vw, 1.15rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  margin: 0 0 .45rem;
  padding: 0;
  color: var(--ink);
}
.tx-content ul.products li.product .onsale {
  position: absolute;
  z-index: 1;
  inset: .75rem auto auto .75rem;
  margin: 0;
  padding: .2rem .5rem;
  min-width: 0;
  min-height: 0;
  border-radius: .35rem;
  color: var(--accent);
  background: var(--blush);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.35;
}
.tx-content ul.products li.product .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .4rem;
  margin: auto 0 0;
  color: var(--ink);
  font-size: .93rem;
  font-weight: 700;
}
.tx-content ul.products li.product .price del { color: var(--muted); font-size: .79rem; font-weight: 500; opacity: 1; }
.tx-content ul.products li.product .price ins { text-decoration: none; }
.tx-content ul.products li.product .price .amount { white-space: nowrap; }
.tx-content ul.products li.product > .button,
.tx-content ul.products li.product > .added_to_cart {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin: .65rem 0 0;
  padding: .45rem .25rem;
  border: 0;
  border-radius: .5rem;
  background: var(--accent);
  color: #fff;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: normal;
}
.tx-content ul.products li.product > .button:hover { background: #0d2d22; }
.tx-content ul.products li.product > .added_to_cart { background: var(--blush); color: var(--accent); }
@media (min-width: 48rem) {
  .tx-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.25rem; }
  .tx-content ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body .tx-content ul.products > li.product { padding: .9rem; }
}

/* Distinct home collection panels */
.tx-home > .tx-section { margin-block: 2.5rem; }
.tx-home > .tx-collection { padding: 1.25rem var(--gutter) 1.5rem; }
.tx-home > .tx-collection--sale { background: #eaf0e5; }
.tx-home > .tx-collection--popular { background: #eaf0e5; }
.tx-home .tx-section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; margin-bottom:.85rem; }
.tx-home .tx-section-heading h2 { margin:0; }
.tx-home .tx-section-heading > a { color:var(--accent); font-size:.88rem; font-weight:650; text-decoration:none; }
.tx-home > .tx-collection + .tx-collection { margin-top:2.75rem; }
@media(min-width:48rem) {
  .tx-home > .tx-collection { border-radius:1rem; }
}
/* Category rail, styled to the supplied mobile reference */
.tx-category-heading{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.65rem}
.tx-category-heading h2{margin:0;font-size:1.05rem;letter-spacing:-.02em}
.tx-category-heading>a{color:var(--muted);font-size:.82rem;font-weight:600;text-decoration:none}
.tx-category-section{margin-block:1.25rem 2rem}
.tx-category-section .tx-categories{display:flex;gap:.7rem;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0;padding:.2rem 0 .55rem}
.tx-category-section .tx-categories::-webkit-scrollbar{display:none}
.tx-category-section .tx-categories li{flex:0 0 4.1rem;min-width:0;scroll-snap-align:start}
.tx-category-section .tx-categories a{display:flex;align-items:center;gap:.4rem;min-height:0;padding:0;border:0;background:transparent;text-align:center;color:var(--ink);font-size:.7rem;font-weight:550;line-height:1.15}
.tx-category-section .tx-categories a::after{display:none}
.tx-category-section .tx-category-mark{display:grid;place-items:center;width:3.35rem;height:3.35rem;border-radius:50%;background:#eaf0e5;color:#14392d}
.tx-category-section .tx-category-mark span{font:1.6rem/1 Georgia,serif}
.tx-category--roupas .tx-category-mark{background:#dce8d6;color:#275844}
.tx-category--livros .tx-category-mark{background:#eaf0e5;color:#275844}
.tx-category--saude-beleza-fitness .tx-category-mark,.tx-category--saúde-beleza-fitness .tx-category-mark{background:#dce8d6;color:#275844}
.tx-category-section .tx-category-label{display:block;max-width:100%;min-height:1.7em}
.tx-category-section .tx-categories a:hover .tx-category-mark{transform:translateY(-2px)}
@media(min-width:48rem){.tx-category-section .tx-categories{display:flex;overflow:visible}.tx-category-section .tx-categories li{flex:0 0 5.2rem}}
/* Category rail tuned against the supplied phone screenshot */
.tx-category-section{width:100%;margin:1.25rem 0 2rem}
.tx-category-heading{min-height:2rem;margin-bottom:.6rem;padding:0}
.tx-category-heading h2{font-size:1.05rem;line-height:1.2}
.tx-category-heading>a{font-size:.78rem}
.tx-category-section .tx-categories{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-columns:none;justify-content:space-between;gap:.4rem;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;margin:0;padding:.15rem 0 .35rem;list-style:none}
.tx-category-section .tx-categories li{display:block;flex:none;width:auto;min-width:0;scroll-snap-align:start;list-style:none;margin:0;padding:0}
.tx-category-section .tx-categories a{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:.35rem;width:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);font-size:.68rem;font-weight:600;line-height:1.15;text-align:center;text-decoration:none}
.tx-category-section .tx-category-mark{display:grid;place-items:center;flex:none;width:3rem;height:3rem;border-radius:50%;background:#dce8d6;color:#275844}
.tx-category-section .tx-category-mark svg{display:block;width:2.25rem;height:2.25rem}
.tx-category--livros .tx-category-mark{background:#eaf0e5;color:#47765e}
.tx-category--beleza .tx-category-mark{background:#dce8d6;color:#275844}
.tx-category--categoria .tx-category-mark{background:#dce8d6;color:#47765e}
.tx-category-section .tx-category-label{display:block;width:100%;max-width:5.2rem;min-height:0;overflow-wrap:anywhere}
.tx-category-section .tx-categories a::after{display:none}
.tx-category-section .tx-categories { padding-top: 1rem; }
@media (min-width: 48rem) {
  .tx-category-section .tx-categories { gap: 1rem; overflow: visible; padding-top: 1.5rem; }
  .tx-category-section .tx-category-mark { width: 3.75rem; height: 3.75rem; }
  .tx-category-section .tx-categories a { gap: .55rem; font-size: .85rem; }
}

/* WooCommerce catalog and purchase screens */
.woocommerce-products-header {
  padding: clamp(1rem, 4vw, 2rem);
  margin-block: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--blush);
}
.woocommerce-products-header__title,
.single-product .tx-content .product_title {
  margin: 0;
  font: 500 clamp(2rem, 6vw, 3.25rem)/1.1 Georgia, serif;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.tx-content .woocommerce-breadcrumb {
  margin: 0 0 .75rem;
  color: var(--muted);
  font-size: .85rem;
}
.tx-content .woocommerce-result-count,
.tx-content .woocommerce-ordering { float: none; margin: 0 0 .75rem; }
.tx-content .woocommerce-result-count { color: var(--muted); font-size: .875rem; }
.tx-content .woocommerce-ordering select,
.tx-content .woocommerce select,
.tx-content .woocommerce .input-text,
.tx-content .summary input.qty {
  max-width: 100%;
  min-height: 44px;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.tx-content .woocommerce-ordering select { width: min(100%, 20rem); }
.tx-content .woocommerce-pagination ul.page-numbers { border: 0; margin-block: 1.5rem; }
.tx-content .woocommerce-pagination ul.page-numbers li { border: 0; }
.tx-content .woocommerce-pagination ul.page-numbers a,
.tx-content .woocommerce-pagination ul.page-numbers span {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: .5rem;
}
.tx-content .woocommerce-pagination ul.page-numbers .current { background: var(--blush); color: var(--accent); }
.single-product .tx-content .woocommerce-product-gallery img { border-radius: .85rem; }
.single-product .tx-content .summary .price { color: var(--accent); font-weight: 700; }
.single-product .tx-content .summary .price ins { text-decoration: none; }
.single-product .tx-content .product_meta { color: var(--muted); font-size: .875rem; }
.tx-content .woocommerce a.button.alt,
.tx-content .woocommerce button.button.alt,
.tx-content .summary button.single_add_to_cart_button,
.tx-content .wc-block-components-button.contained {
  min-height: 44px;
  border-radius: .55rem;
  background: var(--accent);
  color: #fff;
}
.tx-content .woocommerce a.button.alt:hover,
.tx-content .woocommerce button.button.alt:hover,
.tx-content .summary button.single_add_to_cart_button:hover,
.tx-content .wc-block-components-button.contained:hover { background: #0d2d22; }
.tx-content .woocommerce-MyAccount-navigation ul { padding: 0; list-style: none; }
.tx-content .woocommerce-MyAccount-navigation a {
  display: block;
  padding: .65rem .8rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.tx-content .woocommerce-MyAccount-navigation .is-active a { background: var(--blush); color: var(--accent); }
@media (min-width: 48rem) {
  .tx-content .woocommerce-result-count { float: left; line-height: 44px; }
  .tx-content .woocommerce-ordering { float: right; }
  .tx-content .woocommerce-ordering select { width: auto; }
  .tx-content .woocommerce-ordering + ul.products { clear: both; }
}

/* WooCommerce sets percentage widths and margins for its float grid. */
body .tx-content ul.products > li.product {
  width: 100% !important;
  margin: 0 !important;
}

/* Home: product photography, flat surfaces and a restrained accent. */
.tx-home .tx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: #fff;
}
.tx-home .tx-hero:has(.tx-hero-product) { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); }
.tx-home .tx-hero h1 {
  margin: 0;
  font-size: clamp(1.55rem, 5.3vw, 4.25rem);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.tx-home .tx-hero p { margin: .75rem 0 1rem; color: var(--muted); }
.tx-home .tx-hero-product { display: block; min-width: 0; }
.tx-home .tx-hero-product img { display: block; width: 100%; height: auto; max-height: 23rem; object-fit: contain; }
.tx-home > .tx-collection { padding: 1.25rem 0 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.tx-home > .tx-collection--sale { border-top-color: var(--accent); }
.tx-home .tx-section-heading h2 { letter-spacing: -.025em; }
.tx-home .tx-action { border-radius: .4rem; }
@media (max-width: 23rem) {
  .tx-home .tx-hero { gap: .6rem; }
  .tx-home .tx-hero p { font-size: .85rem; }
}

/* FAQ in native WordPress blocks. */
.page-id-2874 .tx-content > article { max-width: 48rem; margin-inline: auto; }
.page-id-2874 .tx-content h1 { color: var(--accent); font-family: Georgia, serif; margin-block: .5rem 1rem; }
.tx-faq { margin-block: 1.5rem; }
.tx-faq h2 { margin-block: 2rem .75rem; color: var(--accent); }
.tx-faq details { margin-block: .55rem; border: 1px solid var(--line); border-radius: .65rem; }
.tx-faq details[open] { background: var(--blush); }
.tx-faq summary { padding: .85rem 1rem; color: var(--accent); font-weight: 650; cursor: pointer; }
.tx-faq details > :not(summary) { margin-inline: 1rem; }
/* Plans and guides */
.page-id-5307 .tx-content > article { max-width: 62rem; margin-inline: auto; }
.page-id-5307 .tx-content h1 { margin-block: .5rem 1.25rem; color: var(--accent); font-family: Georgia, serif; }
.tx-plans section { margin-block: 2rem; }
.tx-plans-grid { display: grid; gap: 1rem; }
.tx-plan-card { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; }
.tx-plan-card h3, .tx-plan-card p { margin: 0; }
.tx-plan-card .tx-action { margin-top: auto; }
.tx-plan-cover { width: 100%; aspect-ratio: 4/3; display: grid; place-items: center; background: var(--blush); color: var(--accent); border-radius: .5rem; }
.tx-plan-cover img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.tx-plan-cover svg { width: 3.5rem; height: 3.5rem; }
.tx-plan-audio { padding-block: .8rem; border-bottom: 1px solid var(--line); }
.tx-plan-audio p { margin: 0 0 .4rem; font-weight: 650; }
.tx-plan-audio audio { display: block; width: 100%; }
.tx-plan-videos a { display: flex; min-height: 44px; align-items: center; padding-block: .6rem; border-bottom: 1px solid var(--line); }
@media (min-width: 42rem) { .tx-plans-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
/* Exercise library */
.page-id-5440 .tx-content > article { max-width: 64rem; margin-inline: auto; }
.page-id-5440 .tx-content h1 { margin-block: .5rem 1rem; color: var(--accent); font-family: Georgia, serif; }
.tx-exercises > p { color: var(--muted); max-width: 42rem; }
.tx-exercise-index { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.25rem 2rem; }
.tx-exercise-index a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .8rem; text-decoration: none; background: var(--blush); border-radius: .5rem; }
.tx-exercise-grid { display: grid; gap: 1.25rem; }
.tx-exercise-card { min-width: 0; border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; scroll-margin-top: 1rem; }
.tx-exercise-card iframe { display: block; width: 100%; height: auto; aspect-ratio: 16/9; border: 0; background: var(--blush); }
.tx-exercise-copy { padding: 1rem; }
.tx-exercise-copy h2, .tx-exercise-cta h2 { margin: 0; color: var(--accent); }
.tx-exercise-copy p, .tx-exercise-cta p { margin-block: .5rem .75rem; }
.tx-exercise-cta { margin-top: 2rem; padding: clamp(1rem,4vw,2rem); background: var(--blush); border-radius: .8rem; }
@media (min-width: 52rem) { .tx-exercise-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
/* Vênus product guide */
.page-id-4570 .tx-content > article { max-width: 64rem; margin-inline: auto; }
.page-id-4570 .tx-content h1 { margin-block: .5rem 1rem; font: 500 clamp(2rem,5.5vw,3.75rem)/1.1 Georgia, serif; color: var(--accent); }
.tx-venus-hero { display: grid; align-items: center; gap: 1.25rem; padding: clamp(1rem,4vw,2.5rem); border-radius: 1rem; background: var(--blush); }
.tx-venus-hero img { display: block; width: 100%; max-width: 23rem; margin-inline: auto; }
.tx-venus h2 { color: var(--accent); }
.tx-venus-topics { display: grid; gap: 1rem; }
.tx-venus-topics article { min-width: 0; border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; }
.tx-venus-topics img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--blush); }
.tx-venus-topics h3 { margin: 0; padding: .8rem 1rem; }
.tx-venus-note { margin-block: 1.75rem 0; padding: 1rem; border-top: 1px solid var(--line); }
@media (min-width: 48rem) {
  .tx-venus-hero { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tx-venus-topics { grid-template-columns: repeat(3,minmax(0,1fr)); }
}