:root {
  --tmv-ink: #21180f;
  --tmv-brown: #4a3423;
  --tmv-caramel: #c88435;
  --tmv-caramel-dark: #a96622;
  --tmv-sand: #f3ecdf;
  --tmv-cream: #fbf8f2;
  --tmv-green: #3f4d3f;
  --tmv-muted: #746858;
  --tmv-line: #ded2c1;
  --tmv-white: #fff;
  --tmv-danger: #9a352f;
  --tmv-radius: 18px;
  --tmv-shadow: 0 16px 48px rgba(33, 24, 15, .10);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--tmv-cream);
  color: var(--tmv-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .tmv-header { top: 32px; }

img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
p { margin: 0 0 1rem; }

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

.tmv-skip-link:focus {
  position: fixed;
  z-index: 99999;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  background: var(--tmv-white);
  color: var(--tmv-ink);
}

.tmv-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.tmv-content-narrow { width: min(820px, 100%); }
.tmv-main { min-height: 55vh; }

.tmv-topbar {
  background: var(--tmv-ink);
  color: var(--tmv-sand);
  font-size: .79rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tmv-topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 8px;
}

.tmv-topbar a { color: var(--tmv-sand); text-decoration: none; }
.tmv-topbar a:hover { text-decoration: underline; }

.tmv-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(251, 248, 242, .96);
  border-bottom: 1px solid rgba(74, 52, 35, .12);
  backdrop-filter: blur(12px);
}

.tmv-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: 88px;
}

.tmv-brand,
.tmv-brand__fallback {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--tmv-ink);
  text-decoration: none;
}

.tmv-brand img { display: block; border-radius: 50%; }
.tmv-brand .custom-logo { width: auto; max-height: 64px; border-radius: 0; }
.tmv-brand span { display: flex; flex-direction: column; }
.tmv-brand strong { font-family: Georgia, serif; font-size: 1.3rem; line-height: 1.1; }
.tmv-brand small { margin-top: 3px; color: var(--tmv-muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.tmv-nav { justify-self: end; }
.tmv-nav ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.tmv-nav a { position: relative; color: var(--tmv-ink); font-size: .92rem; font-weight: 700; text-decoration: none; }
.tmv-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--tmv-caramel); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.tmv-nav a:hover::after, .tmv-nav .current-menu-item > a::after { transform: scaleX(1); }

.tmv-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid var(--tmv-line);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.tmv-cart-count {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--tmv-caramel);
  color: var(--tmv-ink);
  font-size: .72rem;
}

.tmv-menu-toggle { display: none; }

.tmv-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
  background:
    radial-gradient(circle at 15% 15%, rgba(200, 132, 53, .17), transparent 31%),
    linear-gradient(145deg, var(--tmv-cream), #eadfcd);
}

.tmv-hero::before {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, transparent 0 38px, rgba(74, 52, 35, .025) 39px 40px);
  content: "";
  pointer-events: none;
}

.tmv-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, .82fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.tmv-eyebrow {
  margin-bottom: 14px;
  color: var(--tmv-caramel-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.tmv-hero h1 { max-width: 760px; }
.tmv-hero__lead { max-width: 650px; color: var(--tmv-brown); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.tmv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.tmv-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.tmv-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { transform: translateY(-2px); }
.tmv-button--primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit { background: var(--tmv-caramel); color: var(--tmv-ink); }
.tmv-button--primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: #d89647; color: var(--tmv-ink); }
.tmv-button--ghost { border-color: var(--tmv-brown); color: var(--tmv-brown); }
.tmv-button--dark { background: var(--tmv-ink); color: var(--tmv-white); }
.tmv-button--light { background: var(--tmv-cream); color: var(--tmv-ink); }

.tmv-hero__visual { position: relative; }
.tmv-hero__visual > img { display: block; width: 100%; border-radius: 32px; box-shadow: var(--tmv-shadow); }
.tmv-hero__stamp {
  position: absolute;
  z-index: 2;
  top: -25px;
  right: -22px;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 2px solid var(--tmv-ink);
  border-radius: 50%;
  background: var(--tmv-caramel);
  text-align: center;
  font-size: .75rem;
  line-height: 1.2;
  text-transform: uppercase;
  transform: rotate(8deg);
}
.tmv-hero__stamp strong { font-family: Georgia, serif; font-size: 1.05rem; }

.tmv-trust { background: var(--tmv-green); color: var(--tmv-white); }
.tmv-trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.tmv-trust__grid div { padding: 26px 32px; border-right: 1px solid rgba(255, 255, 255, .16); }
.tmv-trust__grid div:last-child { border-right: 0; }
.tmv-trust strong, .tmv-trust span { display: block; }
.tmv-trust strong { margin-bottom: 2px; font-family: Georgia, serif; font-size: 1.13rem; }
.tmv-trust span { color: rgba(255, 255, 255, .72); font-size: .87rem; }

.tmv-section { padding: 100px 0; }
.tmv-section--sand { background: var(--tmv-sand); }
.tmv-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.tmv-section__heading h2 { margin-bottom: 0; }
.tmv-text-link { color: var(--tmv-brown); font-weight: 850; text-decoration: none; }
.tmv-text-link:hover { color: var(--tmv-caramel-dark); }

.tmv-empty-state { padding: 62px 28px; border: 1px dashed #bbaa91; border-radius: var(--tmv-radius); text-align: center; }
.tmv-empty-state img { margin-bottom: 20px; }

.tmv-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tmv-line-card { position: relative; min-height: 360px; padding: 46px; overflow: hidden; border: 1px solid var(--tmv-line); border-radius: 26px; background: var(--tmv-cream); }
.tmv-line-card--own { background: var(--tmv-ink); color: var(--tmv-white); }
.tmv-line-card__number { position: absolute; top: 22px; right: 30px; color: rgba(116, 104, 88, .17); font-family: Georgia, serif; font-size: 6rem; font-weight: 700; line-height: 1; }
.tmv-line-card--own .tmv-line-card__number { color: rgba(255, 255, 255, .08); }
.tmv-line-card p:not(.tmv-eyebrow) { max-width: 530px; color: var(--tmv-muted); }
.tmv-line-card--own p:not(.tmv-eyebrow) { color: rgba(255, 255, 255, .69); }
.tmv-line-card a { display: inline-block; margin-top: 38px; color: var(--tmv-caramel-dark); font-weight: 850; }
.tmv-line-card--own a { color: var(--tmv-caramel); }

.tmv-story { padding: 100px 0; background: var(--tmv-green); color: var(--tmv-white); }
.tmv-story__grid { display: grid; grid-template-columns: minmax(300px, .75fr) 1fr; align-items: center; gap: clamp(42px, 8vw, 110px); }
.tmv-story__visual img { display: block; width: 100%; border-radius: 28px; }
.tmv-story__content > p:not(.tmv-eyebrow) { color: rgba(255, 255, 255, .72); font-size: 1.08rem; }
.tmv-story__content .tmv-button { margin-top: 16px; }

.tmv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.tmv-steps li { padding: 28px 24px; border-top: 3px solid var(--tmv-caramel); background: var(--tmv-white); box-shadow: 0 10px 34px rgba(33, 24, 15, .06); }
.tmv-steps li > span { display: grid; width: 38px; height: 38px; margin-bottom: 42px; place-items: center; border-radius: 50%; background: var(--tmv-sand); color: var(--tmv-caramel-dark); font-weight: 900; }
.tmv-steps h3 { font-size: 1.2rem; }
.tmv-steps p { margin-bottom: 0; color: var(--tmv-muted); font-size: .9rem; }

.tmv-channel { padding: 72px 0; background: var(--tmv-caramel); }
.tmv-channel__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.tmv-channel .tmv-eyebrow { color: var(--tmv-ink); }
.tmv-channel h2 { max-width: 720px; margin-bottom: 10px; }
.tmv-channel p:last-child { margin-bottom: 0; }
.tmv-channel .tmv-button { flex: 0 0 auto; }

.tmv-page-shell, .tmv-shop-shell { padding: 72px 0 110px; }
.tmv-article h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); }
.tmv-article a { color: var(--tmv-caramel-dark); }
.tmv-featured-image { margin: 32px 0; }
.tmv-featured-image img { border-radius: var(--tmv-radius); }

.tmv-footer { padding: 72px 0 22px; background: var(--tmv-ink); color: rgba(255, 255, 255, .68); }
.tmv-footer__grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 58px; }
.tmv-footer h2 { color: var(--tmv-white); font-family: inherit; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.tmv-footer ul { margin: 0; padding: 0; list-style: none; }
.tmv-footer li { margin: 8px 0; }
.tmv-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.tmv-footer a:hover { color: var(--tmv-caramel); }
.tmv-footer__brand { color: var(--tmv-white); font-family: Georgia, serif; font-size: 1.8rem; font-weight: 700; }
.tmv-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .10); font-size: .8rem; }

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { margin-bottom: 28px; color: var(--tmv-muted); font-size: .82rem; }
.woocommerce .woocommerce-breadcrumb a { color: var(--tmv-brown); }
.woocommerce-products-header__title.page-title { margin-bottom: 36px; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product { width: auto; margin: 0; padding: 0 0 20px; overflow: hidden; border: 1px solid var(--tmv-line); border-radius: var(--tmv-radius); background: var(--tmv-white); }
.woocommerce ul.products li.product a img { margin-bottom: 18px; background: var(--tmv-sand); aspect-ratio: 1; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .tmv-product-badges { margin-right: 18px; margin-left: 18px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 2.6em; padding: 0; color: var(--tmv-ink); font-family: Georgia, serif; font-size: 1.08rem; }
.woocommerce ul.products li.product .price { color: var(--tmv-caramel-dark); font-size: 1rem; font-weight: 850; }
.woocommerce ul.products li.product .button { margin-top: 13px; }
.woocommerce span.onsale { top: 12px; right: 12px; left: auto; min-width: auto; min-height: auto; padding: 7px 10px; background: var(--tmv-danger); line-height: 1; }
.woocommerce div.product { display: flow-root; }
.woocommerce div.product div.images img { border-radius: var(--tmv-radius); background: var(--tmv-sand); }
.woocommerce div.product .product_title { font-size: clamp(2rem, 4vw, 3.4rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--tmv-caramel-dark); font-size: 1.45rem; font-weight: 900; }
.woocommerce div.product form.cart .button { min-height: 52px; }
.woocommerce .quantity .qty { min-height: 50px; border: 1px solid var(--tmv-line); border-radius: 8px; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--tmv-caramel); background: var(--tmv-sand); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--tmv-caramel-dark); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single { min-height: 48px; padding: 10px 12px; border: 1px solid var(--tmv-line); border-radius: 8px; background: var(--tmv-white); }
.woocommerce table.shop_table { overflow: hidden; border-color: var(--tmv-line); border-radius: 12px; }
.woocommerce-checkout #payment { background: var(--tmv-sand); }

.tmv-product-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tmv-badge { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: var(--tmv-sand); color: var(--tmv-brown); font-size: .66rem; font-weight: 900; letter-spacing: .04em; line-height: 1.2; text-transform: uppercase; }
.tmv-badge--own { background: var(--tmv-green); color: var(--tmv-white); }
.tmv-badge--order { background: #f6dfbd; color: #6f461b; }
.tmv-production-notice { margin: 18px 0; padding: 16px 18px; border-left: 4px solid var(--tmv-caramel); background: var(--tmv-sand); border-radius: 0 10px 10px 0; }
.tmv-production-notice strong { display: block; }
.tmv-production-notice p { margin: 3px 0 0; color: var(--tmv-muted); font-size: .9rem; }

@media (max-width: 980px) {
  body.admin-bar .tmv-header { top: 46px; }
  .tmv-header__inner { grid-template-columns: 1fr auto auto; min-height: 78px; }
  .tmv-menu-toggle { display: grid; width: 44px; height: 44px; padding: 11px; place-content: center; gap: 5px; border: 1px solid var(--tmv-line); border-radius: 50%; background: transparent; }
  .tmv-menu-toggle span:not(.screen-reader-text) { display: block; width: 20px; height: 2px; background: var(--tmv-ink); }
  .tmv-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 18px 20px 28px; background: var(--tmv-cream); border-bottom: 1px solid var(--tmv-line); box-shadow: var(--tmv-shadow); }
  .tmv-nav.is-open { display: block; }
  .tmv-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .tmv-nav li { border-bottom: 1px solid var(--tmv-line); }
  .tmv-nav a { display: block; padding: 13px 4px; }
  .tmv-nav a::after { display: none; }
  .tmv-hero__grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .tmv-steps { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tmv-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .tmv-container { width: min(100% - 28px, 1180px); }
  .tmv-topbar__inner { justify-content: center; }
  .tmv-topbar a { display: none; }
  .tmv-brand strong { font-size: 1.03rem; }
  .tmv-brand small { font-size: .6rem; }
  .tmv-brand img { width: 46px; height: 46px; }
  .tmv-cart-link { width: 44px; height: 44px; justify-content: center; padding: 0; }
  .tmv-cart-link > span:first-child { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); }
  .tmv-cart-count { position: absolute; top: -6px; right: -5px; }
  .tmv-hero { padding: 50px 0; }
  .tmv-hero__grid, .tmv-story__grid { grid-template-columns: 1fr; }
  .tmv-hero__visual { margin-top: 10px; }
  .tmv-hero__stamp { top: -14px; right: -5px; width: 88px; height: 88px; font-size: .64rem; }
  .tmv-trust__grid { grid-template-columns: 1fr; padding: 12px 0; }
  .tmv-trust__grid div { padding: 14px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .tmv-trust__grid div:last-child { border-bottom: 0; }
  .tmv-section, .tmv-story { padding: 70px 0; }
  .tmv-section__heading { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .tmv-lines { grid-template-columns: 1fr; }
  .tmv-line-card { min-height: auto; padding: 34px 26px; }
  .tmv-line-card__number { font-size: 4.5rem; }
  .tmv-steps { grid-template-columns: 1fr; }
  .tmv-steps li { display: grid; grid-template-columns: auto 1fr; gap: 18px; }
  .tmv-steps li > span { margin: 0; }
  .tmv-channel__inner { align-items: start; flex-direction: column; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product .price,
  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product .tmv-product-badges { margin-right: 12px; margin-left: 12px; }
  .woocommerce ul.products li.product .button { width: calc(100% - 24px); padding-inline: 10px; font-size: .8rem; }
  .tmv-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .tmv-footer__bottom { align-items: start; flex-direction: column; }
}

@media (max-width: 420px) {
  .tmv-brand small { display: none; }
  .tmv-actions .tmv-button { width: 100%; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
}

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