@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;500;600;700;800&display=swap');
:root{
  --tm2-bg:#ffffff;
  --tm2-text:#111111;
  --tm2-soft:#667085;
  --tm2-line:#e5e7eb;
  --tm2-card:#ffffff;
  --tm2-black:#000000;
}

body.mtg-template-tm2{
  background:#ffffff;
  color:var(--tm2-text);
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.mtg-template-tm2 h1,
body.mtg-template-tm2 h2,
body.mtg-template-tm2 h3,
body.mtg-template-tm2 h4{
  margin:0;
  letter-spacing:-.05em;
  color:var(--tm2-text);
}

body.mtg-template-tm2 .site,
body.mtg-template-tm2 .site-main,
body.mtg-template-tm2 .content-area,
body.mtg-template-tm2 .site-content{
  background:#ffffff !important;
}

body.mtg-template-tm2 .site-header,
body.mtg-template-tm2 header.site-header,
body.mtg-template-tm2 .mtg-header,
body.mtg-template-tm2 .mtg-home-header{
  background:#ffffff !important;
  border-bottom:1px solid #f0f0f0;
  box-shadow:none !important;
}

body.mtg-template-tm2 .site-header a,
body.mtg-template-tm2 .mtg-header a,
body.mtg-template-tm2 .mtg-home-header a{
  color:#111111 !important;
}

body.mtg-template-tm2 .tm2-shell{
  width:min(1180px,92%);
  margin:0 auto;
}

body.mtg-template-tm2 .tm2-sec{
  padding:72px 0;
}

body.mtg-template-tm2 .tm2-head--center{
  text-align:center;
  max-width:860px;
  margin:0 auto 34px;
}
body.mtg-template-tm2 .tm2-head--center h2{
  font-size:58px;
  line-height:1.02;
  margin:0 0 12px;
}
body.mtg-template-tm2 .tm2-head--center p{
  font-size:18px;
  line-height:1.8;
  color:var(--tm2-soft);
  margin:0;
}
body.mtg-template-tm2 .tm2-head__mini-line{
  width:72px;
  height:1px;
  background:#777;
  margin:14px auto 18px;
}

body.mtg-template-tm2 .tm2-head--split{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin:0 0 34px;
}
body.mtg-template-tm2 .tm2-head--split h2{
  font-size:74px;
  line-height:1.02;
  margin:0 0 12px;
}
body.mtg-template-tm2 .tm2-head--split p{
  max-width:620px;
  font-size:18px;
  line-height:1.8;
  color:var(--tm2-soft);
  margin:0;
}
body.mtg-template-tm2 .tm2-head__line{
  width:100px;
  height:1px;
  background:#777;
  flex:0 0 auto;
  margin-bottom:16px;
}

body.mtg-template-tm2 .tm2-home{
  background:#ffffff;
}

body.mtg-template-tm2 .tm2-hero{
  padding:24px 0 0;
  background:#ffffff;
}
body.mtg-template-tm2 .tm2-hero__grid{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);
  align-items:stretch;
  min-height:780px;
}
body.mtg-template-tm2 .tm2-hero__copy{
  padding:120px 72px 56px 72px;
  background:#ffffff;
}
body.mtg-template-tm2 .tm2-hero__badge{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  background:#000;
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin:0 0 28px;
}
body.mtg-template-tm2 .tm2-hero__badge--dark{
  border-radius:999px;
  min-height:42px;
  padding:0 18px;
}
body.mtg-template-tm2 .tm2-hero__title{
  font-size:76px;
  line-height:1.01;
  margin:0 0 24px;
  max-width:520px;
}
body.mtg-template-tm2 .tm2-hero__text{
  max-width:430px;
  color:var(--tm2-soft);
  font-size:18px;
  line-height:1.9;
}
body.mtg-template-tm2 .tm2-hero__text p{margin:0 0 12px}
body.mtg-template-tm2 .tm2-hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:34px 0 48px;
}
body.mtg-template-tm2 .tm2-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:0 34px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  letter-spacing:.06em;
  text-transform:uppercase;
  border:1px solid #000;
}
body.mtg-template-tm2 .tm2-btn--dark{background:#000;color:#fff}
body.mtg-template-tm2 .tm2-btn--light{background:#fff;color:#111}
body.mtg-template-tm2 .tm2-hero__meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  max-width:560px;
}
body.mtg-template-tm2 .tm2-hero__meta-item strong{
  display:block;
  font-size:12px;
  letter-spacing:.05em;
  text-transform:uppercase;
  margin:0 0 6px;
}
body.mtg-template-tm2 .tm2-hero__meta-item span{
  display:block;
  font-size:13px;
  line-height:1.6;
  color:var(--tm2-soft);
}
body.mtg-template-tm2 .tm2-hero__visual{
  min-height:780px;
  background:#f3f4f6;
}
body.mtg-template-tm2 .tm2-hero__visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

body.mtg-template-tm2 .tm2-cats__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
body.mtg-template-tm2 .tm2-cat-card{
  position:relative;
  display:block;
  min-height:460px;
  overflow:hidden;
  text-decoration:none;
  color:#fff;
  background:#ddd;
}
body.mtg-template-tm2 .tm2-cat-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
body.mtg-template-tm2 .tm2-cat-card:after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:120px;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%);
}
body.mtg-template-tm2 .tm2-cat-card span{
  position:absolute;
  left:18px;
  bottom:18px;
  z-index:2;
  font-size:18px;
}

body.mtg-template-tm2 .tm2-products-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
}
body.mtg-template-tm2 .tm2-product-card{
  background:#fff;
  border:1px solid #ececec;
}
body.mtg-template-tm2 .tm2-product-card__link{
  display:block;
  text-decoration:none;
  color:inherit;
}
body.mtg-template-tm2 .tm2-product-card__media{
  aspect-ratio:1/1.15;
  background:#f8f8f8;
  padding:22px;
}
body.mtg-template-tm2 .tm2-product-card__media img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
body.mtg-template-tm2 .tm2-product-card__body{
  padding:18px 18px 16px;
  text-align:center;
}
body.mtg-template-tm2 .tm2-product-card__cat{
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#98a2b3;
  margin:0 0 10px;
}
body.mtg-template-tm2 .tm2-product-card__title{
  font-size:22px;
  line-height:1.3;
  margin:0 0 12px;
}
body.mtg-template-tm2 .tm2-product-card__price{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 16px;
}
body.mtg-template-tm2 .tm2-product-card__price strong{
  font-size:28px;
}
body.mtg-template-tm2 .tm2-product-card__price span{
  color:#98a2b3;
  text-decoration:line-through;
  font-size:15px;
}
body.mtg-template-tm2 .tm2-product-card__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:48px;
  background:#000;
  color:#fff;
  font-size:13px;
  letter-spacing:.05em;
}

body.mtg-template-tm2 .tm2-band{
  background:#000;
  color:#fff;
  padding:44px 0;
}
body.mtg-template-tm2 .tm2-band__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
}
body.mtg-template-tm2 .tm2-band__item{
  text-align:center;
}
body.mtg-template-tm2 .tm2-band__item h3{
  font-size:18px;
  color:#fff;
  margin:0 0 8px;
}
body.mtg-template-tm2 .tm2-band__item p{
  margin:0;
  font-size:14px;
  color:rgba(255,255,255,.72);
  line-height:1.7;
}

body.mtg-template-tm2 .tm2-brands__row{
  display:flex;
  justify-content:center;
  gap:42px;
  flex-wrap:wrap;
  color:#8b8b8b;
  font-size:34px;
  font-weight:600;
}

body.mtg-template-tm2 .tm2-newsletter{
  background:#060606;
  color:#fff;
  padding:66px 0 74px;
}
body.mtg-template-tm2 .tm2-head--light h2,
body.mtg-template-tm2 .tm2-head--light p{
  color:#fff;
}
body.mtg-template-tm2 .tm2-newsletter__form{
  display:flex;
  justify-content:center;
  gap:0;
  max-width:520px;
  margin:0 auto;
}
body.mtg-template-tm2 .tm2-newsletter__form input{
  flex:1;
  min-height:58px;
  padding:0 18px;
  border:1px solid rgba(255,255,255,.15);
  background:#1c1c1c;
  color:#fff;
}
body.mtg-template-tm2 .tm2-newsletter__form button{
  min-width:140px;
  min-height:58px;
  border:0;
  background:#17c183;
  color:#000;
  font-weight:700;
}

body.mtg-template-tm2 .tm2-journal__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
body.mtg-template-tm2 .tm2-journal-card__img{
  display:block;
  aspect-ratio:1.25/1;
  overflow:hidden;
  background:#ddd;
}
body.mtg-template-tm2 .tm2-journal-card__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
body.mtg-template-tm2 .tm2-journal-card__body{
  padding:16px 0 0;
}
body.mtg-template-tm2 .tm2-journal-card__date{
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#98a2b3;
  margin:0 0 10px;
}
body.mtg-template-tm2 .tm2-journal-card h3{
  font-size:30px;
  line-height:1.2;
  margin:0 0 10px;
}
body.mtg-template-tm2 .tm2-journal-card h3 a{
  color:#111;
  text-decoration:none;
}
body.mtg-template-tm2 .tm2-journal-card p{
  margin:0 0 14px;
  color:var(--tm2-soft);
  line-height:1.8;
  font-size:15px;
}
body.mtg-template-tm2 .tm2-journal-card__more{
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#111;
  text-decoration:none;
}

body.mtg-template-tm2 .tm2-footer-cta__grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:44px;
  align-items:start;
}
body.mtg-template-tm2 .tm2-footer-cta__copy h2{
  font-size:72px;
  line-height:1.02;
  margin:0 0 18px;
}
body.mtg-template-tm2 .tm2-footer-cta__copy p{
  font-size:19px;
  line-height:1.85;
  color:var(--tm2-soft);
  margin:0;
}
body.mtg-template-tm2 .tm2-footer-cta__points{
  display:grid;
  gap:18px;
}
body.mtg-template-tm2 .tm2-point{
  min-height:72px;
  display:flex;
  align-items:center;
  padding:0 24px;
  background:#fff;
  border:1px solid #e7e7e7;
  border-radius:24px;
  font-size:18px;
  color:#4b5563;
}

body.mtg-template-tm2 .tm2-shop-shell,
body.mtg-template-tm2 .tm2-single-shell{
  background:#ffffff;
  padding:42px 0;
}

body.mtg-template-tm2 .tm2-shop-head{
  text-align:center;
  margin:0 0 30px;
}
body.mtg-template-tm2 .tm2-shop-head h1{
  font-size:58px;
  line-height:1.02;
  margin:0;
}

body.mtg-template-tm2 .tm2-single-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:34px;
  align-items:start;
}
body.mtg-template-tm2 .tm2-single-media{
  background:#fff;
  border:1px solid #ececec;
}
body.mtg-template-tm2 .tm2-single-media__inner{
  aspect-ratio:.9/1;
  background:#f8f8f8;
  padding:24px;
}
body.mtg-template-tm2 .tm2-single-media__inner img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
body.mtg-template-tm2 .tm2-single-info{
  background:#fff;
  border:1px solid #ececec;
  padding:28px;
}
body.mtg-template-tm2 .tm2-single-cat{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  background:#000;
  color:#fff;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.mtg-template-tm2 .tm2-single-title{
  font-size:64px;
  line-height:1.02;
  margin:16px 0 14px;
}
body.mtg-template-tm2 .tm2-single-price{
  display:flex;
  gap:12px;
  align-items:flex-end;
  flex-wrap:wrap;
  margin:0 0 16px;
}
body.mtg-template-tm2 .tm2-single-price strong{
  font-size:34px;
}
body.mtg-template-tm2 .tm2-single-price span{
  font-size:18px;
  color:#98a2b3;
  text-decoration:line-through;
}
body.mtg-template-tm2 .tm2-single-excerpt{
  color:var(--tm2-soft);
  font-size:17px;
  line-height:1.9;
  margin:0 0 18px;
}
body.mtg-template-tm2 .tm2-stock-box{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:14px 16px;
  border:1px solid #ececec;
  margin:0 0 18px;
}
body.mtg-template-tm2 .tm2-single-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
body.mtg-template-tm2 .tm2-btn-primary,
body.mtg-template-tm2 .tm2-btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 24px;
  font-weight:700;
  text-decoration:none;
  border:1px solid #000;
}
body.mtg-template-tm2 .tm2-btn-primary{
  background:#000;
  color:#fff;
}
body.mtg-template-tm2 .tm2-btn-secondary{
  background:#fff;
  color:#111;
}

@media (max-width:1100px){
  body.mtg-template-tm2 .tm2-cats__grid,
  body.mtg-template-tm2 .tm2-products-grid,
  body.mtg-template-tm2 .tm2-band__grid,
  body.mtg-template-tm2 .tm2-journal__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.mtg-template-tm2 .tm2-hero__grid,
  body.mtg-template-tm2 .tm2-footer-cta__grid,
  body.mtg-template-tm2 .tm2-single-grid{
    grid-template-columns:minmax(0,1fr);
  }
  body.mtg-template-tm2 .tm2-hero__copy{
    padding:70px 30px 40px;
  }
  body.mtg-template-tm2 .tm2-hero__title,
  body.mtg-template-tm2 .tm2-footer-cta__copy h2,
  body.mtg-template-tm2 .tm2-head--split h2,
  body.mtg-template-tm2 .tm2-head--center h2,
  body.mtg-template-tm2 .tm2-single-title,
  body.mtg-template-tm2 .tm2-shop-head h1{
    font-size:48px;
  }
}

@media (max-width:720px){
  body.mtg-template-tm2 .tm2-cats__grid,
  body.mtg-template-tm2 .tm2-products-grid,
  body.mtg-template-tm2 .tm2-band__grid,
  body.mtg-template-tm2 .tm2-journal__grid,
  body.mtg-template-tm2 .tm2-hero__meta{
    grid-template-columns:minmax(0,1fr);
  }
  body.mtg-template-tm2 .tm2-head--split{
    display:block;
  }
  body.mtg-template-tm2 .tm2-head__line{
    display:none;
  }
  body.mtg-template-tm2 .tm2-head--split h2,
  body.mtg-template-tm2 .tm2-head--center h2,
  body.mtg-template-tm2 .tm2-hero__title,
  body.mtg-template-tm2 .tm2-footer-cta__copy h2,
  body.mtg-template-tm2 .tm2-single-title,
  body.mtg-template-tm2 .tm2-shop-head h1{
    font-size:34px;
  }
  body.mtg-template-tm2 .tm2-journal-card h3{
    font-size:22px;
  }
  body.mtg-template-tm2 .tm2-newsletter__form{
    flex-direction:column;
    gap:10px;
  }
}

body.mtg-template-tm2 .tm2-shop-shell{
  background:#ffffff !important;
  padding:64px 0 90px;
}

body.mtg-template-tm2 .tm2-shop-head{
  text-align:center;
  max-width:760px;
  margin:0 auto 46px;
}

body.mtg-template-tm2 .tm2-shop-head h1{
  font-size:64px;
  line-height:1;
  margin:0 0 14px;
  letter-spacing:-.05em;
}

body.mtg-template-tm2 .tm2-shop-head p{
  margin:0;
  color:#667085;
  font-size:18px;
  line-height:1.7;
}

body.mtg-template-tm2 .tm2-shop-products-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
}

body.mtg-template-tm2 .tm2-shop-card{
  background:#ffffff;
  border:1px solid #eeeeee;
  overflow:hidden;
}

body.mtg-template-tm2 .tm2-shop-card__link{
  display:block;
  text-decoration:none;
  color:#111111;
}

body.mtg-template-tm2 .tm2-shop-card__media{
  aspect-ratio:1/1.05;
  background:#f8f8f8;
  padding:22px;
}

body.mtg-template-tm2 .tm2-shop-card__media img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

body.mtg-template-tm2 .tm2-shop-card__placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f4f4f4;
  color:#111;
  font-size:68px;
  font-weight:800;
}

body.mtg-template-tm2 .tm2-shop-card__body{
  text-align:center;
  padding:18px 18px 20px;
}

body.mtg-template-tm2 .tm2-shop-card__body h2{
  font-size:22px;
  line-height:1.25;
  margin:0 0 12px;
  letter-spacing:-.03em;
}

body.mtg-template-tm2 .tm2-shop-card__price{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 16px;
}

body.mtg-template-tm2 .tm2-shop-card__price strong{
  font-size:24px;
  color:#111;
}

body.mtg-template-tm2 .tm2-shop-card__price span{
  color:#98a2b3;
  text-decoration:line-through;
}

body.mtg-template-tm2 .tm2-shop-card__button{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  background:#000000;
  color:#ffffff;
  font-size:13px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
}

body.mtg-template-tm2 .tm2-shop-pagination{
  margin:42px 0 0;
  display:flex;
  justify-content:center;
}

body.mtg-template-tm2 .tm2-shop-pagination ul{
  display:flex;
  gap:8px;
  list-style:none;
  margin:0;
  padding:0;
}

body.mtg-template-tm2 .tm2-shop-pagination a,
body.mtg-template-tm2 .tm2-shop-pagination span{
  display:flex;
  min-width:42px;
  min-height:42px;
  align-items:center;
  justify-content:center;
  border:1px solid #e5e7eb;
  color:#111;
  text-decoration:none;
}

body.mtg-template-tm2 .tm2-shop-pagination .current{
  background:#000;
  color:#fff;
  border-color:#000;
}

body.mtg-template-tm2 .tm2-shop-empty{
  max-width:620px;
  margin:0 auto;
  text-align:center;
  padding:80px 24px;
  border:1px solid #eeeeee;
}

body.mtg-template-tm2 .tm2-shop-empty h2{
  font-size:38px;
  margin:0 0 10px;
}

body.mtg-template-tm2 .tm2-shop-empty p{
  margin:0;
  color:#667085;
}

@media (max-width:1100px){
  body.mtg-template-tm2 .tm2-shop-products-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:820px){
  body.mtg-template-tm2 .tm2-shop-products-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:560px){
  body.mtg-template-tm2 .tm2-shop-products-grid{
    grid-template-columns:minmax(0,1fr);
  }

  body.mtg-template-tm2 .tm2-shop-head h1{
    font-size:40px;
  }
}

/* =========================================================
   TM2 - Kill legacy shop editor green/sidebar
   Solo afecta cuando body tiene mtg-template-tm2
========================================================= */

body.mtg-template-tm2.mtg-shop-editor-active,
body.mtg-template-tm2 .mtg-shop-page,
body.mtg-template-tm2 .mtg-shop-layout,
body.mtg-template-tm2 .mtg-shop-main,
body.mtg-template-tm2 .mtg-products-wrap,
body.mtg-template-tm2 .mtg-shop-content,
body.mtg-template-tm2 .mtg-shop-shell{
  background:#ffffff !important;
  background-image:none !important;
}

body.mtg-template-tm2 .mtg-shop-sidebar,
body.mtg-template-tm2 .mtg-shop-sidecard,
body.mtg-template-tm2 .mtg-shop-toolbar,
body.mtg-template-tm2 .mtg-shop-view-switch,
body.mtg-template-tm2 .mtg-shop-toolbar__left,
body.mtg-template-tm2 .mtg-shop-toolbar__right{
  display:none !important;
}

body.mtg-template-tm2 .mtg-shop-grid,
body.mtg-template-tm2 .mtg-products-grid,
body.mtg-template-tm2 .mtg-commerce-products,
body.mtg-template-tm2 .mtg-shop-products{
  width:min(1180px,92%) !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:24px !important;
  background:#ffffff !important;
}

body.mtg-template-tm2 .mtg-shop-layout,
body.mtg-template-tm2 .mtg-shop-content{
  width:100% !important;
  max-width:none !important;
  display:block !important;
}

body.mtg-template-tm2 .mtg-product-card,
body.mtg-template-tm2 .mtg-commerce-product-card,
body.mtg-template-tm2 .mtg-card-product,
body.mtg-template-tm2 article.product{
  background:#ffffff !important;
  border:1px solid #eeeeee !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:hidden !important;
}

body.mtg-template-tm2 .mtg-product-card img,
body.mtg-template-tm2 .mtg-commerce-product-card img,
body.mtg-template-tm2 article.product img{
  background:#f8f8f8 !important;
  object-fit:contain !important;
}

body.mtg-template-tm2 .mtg-product-card h2,
body.mtg-template-tm2 .mtg-product-card h3,
body.mtg-template-tm2 .mtg-commerce-product-card h2,
body.mtg-template-tm2 article.product h2,
body.mtg-template-tm2 article.product h3{
  color:#111111 !important;
  font-size:22px !important;
  letter-spacing:-.03em !important;
}

body.mtg-template-tm2 .mtg-product-card .price,
body.mtg-template-tm2 .mtg-commerce-product-card .price,
body.mtg-template-tm2 article.product .price,
body.mtg-template-tm2 .mtg-price{
  color:#111111 !important;
  font-weight:800 !important;
}

body.mtg-template-tm2 .mtg-product-card a,
body.mtg-template-tm2 .mtg-commerce-product-card a,
body.mtg-template-tm2 article.product a{
  color:#111111 !important;
  text-decoration:none !important;
}

body.mtg-template-tm2 .mtg-product-card button,
body.mtg-template-tm2 .mtg-commerce-product-card button,
body.mtg-template-tm2 article.product button,
body.mtg-template-tm2 .mtg-product-card .button,
body.mtg-template-tm2 .mtg-commerce-product-card .button,
body.mtg-template-tm2 article.product .button,
body.mtg-template-tm2 a.button{
  background:#000000 !important;
  border-color:#000000 !important;
  color:#ffffff !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

body.mtg-template-tm2 input,
body.mtg-template-tm2 select,
body.mtg-template-tm2 textarea{
  accent-color:#000000 !important;
}

body.mtg-template-tm2 .mtg-shop-price-form button,
body.mtg-template-tm2 .mtg-shop-sidecard button,
body.mtg-template-tm2 .mtg-shop-toolbar button,
body.mtg-template-tm2 .mtg-shop-view-btn.is-active{
  background:#000000 !important;
  border-color:#000000 !important;
  color:#ffffff !important;
}

@media (max-width:1100px){
  body.mtg-template-tm2 .mtg-shop-grid,
  body.mtg-template-tm2 .mtg-products-grid,
  body.mtg-template-tm2 .mtg-commerce-products,
  body.mtg-template-tm2 .mtg-shop-products{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

@media (max-width:820px){
  body.mtg-template-tm2 .mtg-shop-grid,
  body.mtg-template-tm2 .mtg-products-grid,
  body.mtg-template-tm2 .mtg-commerce-products,
  body.mtg-template-tm2 .mtg-shop-products{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width:560px){
  body.mtg-template-tm2 .mtg-shop-grid,
  body.mtg-template-tm2 .mtg-products-grid,
  body.mtg-template-tm2 .mtg-commerce-products,
  body.mtg-template-tm2 .mtg-shop-products{
    grid-template-columns:minmax(0,1fr) !important;
  }
}

/* ==========================================================
   TM2 CLEAN SHOP - no legacy shop editor
========================================================== */

body.mtg-template-tm2 .tm2-shop-shell-clean{
  background:#ffffff !important;
  padding:64px 0 90px;
}

body.mtg-template-tm2 .tm2-shop-head-clean{
  text-align:center;
  max-width:760px;
  margin:0 auto 46px;
}

body.mtg-template-tm2 .tm2-shop-head-clean h1{
  font-size:64px;
  line-height:1;
  margin:0 0 14px;
  letter-spacing:-.05em;
}

body.mtg-template-tm2 .tm2-shop-head-clean p{
  margin:0;
  color:#667085;
  font-size:18px;
  line-height:1.7;
}

body.mtg-template-tm2 .tm2-shop-layout-clean{
  display:block;
}

body.mtg-template-tm2 .tm2-shop-layout-clean.has-sidebar{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:28px;
  align-items:start;
}

body.mtg-template-tm2 .tm2-shop-grid-clean{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
}

body.mtg-template-tm2 .tm2-shop-card-clean{
  background:#ffffff;
  border:1px solid #eeeeee;
  overflow:hidden;
}

body.mtg-template-tm2 .tm2-shop-card-clean__link{
  display:block;
  text-decoration:none;
  color:#111111;
}

body.mtg-template-tm2 .tm2-shop-card-clean__media{
  aspect-ratio:1/1.05;
  background:#f8f8f8;
  padding:22px;
}

body.mtg-template-tm2 .tm2-shop-card-clean__media img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

body.mtg-template-tm2 .tm2-shop-card-clean__placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f4f4f4;
  color:#111;
  font-size:68px;
  font-weight:800;
}

body.mtg-template-tm2 .tm2-shop-card-clean__body{
  text-align:center;
  padding:18px 18px 20px;
}

body.mtg-template-tm2 .tm2-shop-card-clean__body h2{
  font-size:22px;
  line-height:1.25;
  margin:0 0 12px;
  letter-spacing:-.03em;
}

body.mtg-template-tm2 .tm2-shop-card-clean__price{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 16px;
}

body.mtg-template-tm2 .tm2-shop-card-clean__price strong{
  font-size:24px;
  color:#111;
}

body.mtg-template-tm2 .tm2-shop-card-clean__price span{
  color:#98a2b3;
  text-decoration:line-through;
}

body.mtg-template-tm2 .tm2-shop-card-clean__button{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  background:#000000;
  color:#ffffff;
  font-size:13px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
}

body.mtg-template-tm2 .tm2-shop-pagination-clean{
  margin:42px 0 0;
  display:flex;
  justify-content:center;
}

body.mtg-template-tm2 .tm2-shop-pagination-clean ul{
  display:flex;
  gap:8px;
  list-style:none;
  margin:0;
  padding:0;
}

body.mtg-template-tm2 .tm2-shop-pagination-clean a,
body.mtg-template-tm2 .tm2-shop-pagination-clean span{
  display:flex;
  min-width:42px;
  min-height:42px;
  align-items:center;
  justify-content:center;
  border:1px solid #e5e7eb;
  color:#111;
  text-decoration:none;
}

body.mtg-template-tm2 .tm2-shop-pagination-clean .current{
  background:#000;
  color:#fff;
  border-color:#000;
}

body.mtg-template-tm2 .tm2-shop-empty-clean{
  max-width:620px;
  margin:0 auto;
  text-align:center;
  padding:80px 24px;
  border:1px solid #eeeeee;
}

body.mtg-template-tm2 .tm2-shop-empty-clean h2{
  font-size:38px;
  margin:0 0 10px;
}

body.mtg-template-tm2 .tm2-shop-empty-clean p{
  margin:0;
  color:#667085;
}

/* Sidebar plugin */

body.mtg-template-tm2 .tm2-shop-sidebar-clean{
  display:grid;
  gap:18px;
}

body.mtg-template-tm2 .tm2-sidebox{
  background:#ffffff;
  border:1px solid #eeeeee;
  padding:20px;
}

body.mtg-template-tm2 .tm2-sidebox h3{
  font-size:22px;
  margin:0 0 16px;
  letter-spacing:-.03em;
}

body.mtg-template-tm2 .tm2-price-form{
  display:grid;
  gap:10px;
}

body.mtg-template-tm2 .tm2-price-form input{
  width:100%;
  min-height:42px;
  border:1px solid #e5e7eb;
  padding:0 12px;
}

body.mtg-template-tm2 .tm2-price-form button{
  min-height:42px;
  border:1px solid #000;
  background:#000;
  color:#fff;
  font-weight:700;
}

body.mtg-template-tm2 .tm2-cat-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}

body.mtg-template-tm2 .tm2-cat-list a{
  color:#111;
  text-decoration:none;
}

body.mtg-template-tm2 .tm2-recent-list{
  display:grid;
  gap:12px;
}

body.mtg-template-tm2 .tm2-recent-item{
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:12px;
  align-items:center;
  text-decoration:none;
  color:#111;
}

body.mtg-template-tm2 .tm2-recent-thumb{
  width:54px;
  height:54px;
  background:#f5f5f5;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

body.mtg-template-tm2 .tm2-recent-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

body.mtg-template-tm2 .tm2-recent-info strong{
  display:block;
  font-size:14px;
  line-height:1.25;
}

body.mtg-template-tm2 .tm2-recent-info em{
  display:block;
  font-style:normal;
  color:#667085;
  font-size:13px;
  margin-top:3px;
}

@media (max-width:1100px){
  body.mtg-template-tm2 .tm2-shop-grid-clean{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:900px){
  body.mtg-template-tm2 .tm2-shop-layout-clean.has-sidebar{
    grid-template-columns:minmax(0,1fr);
  }
}

@media (max-width:760px){
  body.mtg-template-tm2 .tm2-shop-grid-clean{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:520px){
  body.mtg-template-tm2 .tm2-shop-grid-clean{
    grid-template-columns:minmax(0,1fr);
  }

  body.mtg-template-tm2 .tm2-shop-head-clean h1{
    font-size:40px;
  }
}

/* ==========================================================
   TM2 GLOBAL WIDTH RULE
   Todo TM2 trabaja al 90% del ancho de pantalla
========================================================== */

body.mtg-template-tm2 .tm2-shell,
body.mtg-template-tm2 .mtg-header-main__inner,
body.mtg-template-tm2 .mtg-header-inner,
body.mtg-template-tm2 .mtg-home-header__inner,
body.mtg-template-tm2 .site-header .container,
body.mtg-template-tm2 .site-header .wrap,
body.mtg-template-tm2 .site-header__inner{
  width:90% !important;
  max-width:none !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.mtg-template-tm2 .tm2-hero__grid{
  width:90% !important;
  max-width:none !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.mtg-template-tm2 .tm2-shop-shell-clean > .tm2-shell,
body.mtg-template-tm2 .tm2-single-shell > .tm2-shell,
body.mtg-template-tm2 .tm2-cart-shell > .tm2-shell,
body.mtg-template-tm2 .tm2-checkout-shell > .tm2-shell,
body.mtg-template-tm2 .tm2-review-shell > .tm2-shell,
body.mtg-template-tm2 .tm2-thankyou-shell > .tm2-shell{
  width:90% !important;
  max-width:none !important;
}

/* quitar verde heredado en sidebar TM2 */
body.mtg-template-tm2 .tm2-price-form button,
body.mtg-template-tm2 .tm2-sidebox button,
body.mtg-template-tm2 .tm2-shop-sidebar-clean button{
  background:#000000 !important;
  border-color:#000000 !important;
  color:#ffffff !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

body.mtg-template-tm2 .tm2-price-form input,
body.mtg-template-tm2 .tm2-sidebox input{
  border:1px solid #dcdcdc !important;
  box-shadow:none !important;
}

body.mtg-template-tm2 .tm2-sidebox{
  border-radius:0 !important;
  box-shadow:none !important;
}

body.mtg-template-tm2 .tm2-shop-card-clean,
body.mtg-template-tm2 .tm2-product-card,
body.mtg-template-tm2 .tm2-shop-card{
  border-radius:0 !important;
}

@media (max-width:760px){
  body.mtg-template-tm2 .tm2-shell,
  body.mtg-template-tm2 .tm2-hero__grid,
    body.mtg-template-tm2 .mtg-header-main__inner,
  body.mtg-template-tm2 .mtg-header-inner,
  body.mtg-template-tm2 .mtg-home-header__inner{
    width:92% !important;
  }
}

/* ==========================================================
   TM2 SINGLE COMPACT + CART + CHECKOUT
========================================================== */

body.mtg-template-tm2 .tm2-single-media--compact{
  max-width:520px;
  margin:0 auto;
}

body.mtg-template-tm2 .tm2-single-media--compact .tm2-single-media__inner{
  aspect-ratio:1/1;
  padding:34px;
  background:#f8f8f8;
}

body.mtg-template-tm2 .tm2-single-media--compact img{
  width:100%;
  height:100%;
  object-fit:contain;
}

body.mtg-template-tm2 .tm2-single-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f2f2f2;
  font-size:80px;
  font-weight:800;
}

body.mtg-template-tm2 .tm2-single-buy-form{
  display:grid;
  gap:16px;
}

body.mtg-template-tm2 .tm2-single-qty{
  display:grid;
  gap:8px;
  max-width:160px;
}

body.mtg-template-tm2 .tm2-single-qty span{
  font-size:13px;
  font-weight:700;
  color:#111;
}

body.mtg-template-tm2 .tm2-single-qty input{
  min-height:46px;
  border:1px solid #dcdcdc;
  padding:0 12px;
}

body.mtg-template-tm2 .tm2-cart-shell,
body.mtg-template-tm2 .tm2-checkout-shell{
  background:#fff;
  padding:64px 0 90px;
}

body.mtg-template-tm2 .tm2-cart-head{
  text-align:center;
  max-width:760px;
  margin:0 auto 42px;
}

body.mtg-template-tm2 .tm2-cart-head h1{
  font-size:64px;
  line-height:1;
  margin:0 0 14px;
}

body.mtg-template-tm2 .tm2-cart-head p{
  margin:0;
  color:#667085;
  font-size:18px;
  line-height:1.7;
}

body.mtg-template-tm2 .tm2-cart-empty{
  max-width:640px;
  margin:0 auto;
  text-align:center;
  border:1px solid #eee;
  padding:64px 24px;
}

body.mtg-template-tm2 .tm2-cart-empty h2{
  font-size:36px;
  margin:0 0 10px;
}

body.mtg-template-tm2 .tm2-cart-empty p{
  color:#667085;
  margin:0 0 22px;
}

body.mtg-template-tm2 .tm2-cart-layout,
body.mtg-template-tm2 .tm2-checkout-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:32px;
  align-items:start;
}

body.mtg-template-tm2 .tm2-cart-list{
  display:grid;
  gap:16px;
}

body.mtg-template-tm2 .tm2-cart-item{
  display:grid;
  grid-template-columns:96px minmax(0,1fr) 120px 120px;
  gap:18px;
  align-items:center;
  border:1px solid #eee;
  padding:16px;
}

body.mtg-template-tm2 .tm2-cart-item__img{
  width:96px;
  height:96px;
  background:#f6f6f6;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  color:#111;
  text-decoration:none;
  font-size:34px;
  font-weight:800;
}

body.mtg-template-tm2 .tm2-cart-item__img img{
  width:100%;
  height:100%;
  object-fit:contain;
}

body.mtg-template-tm2 .tm2-cart-item__info h3{
  font-size:22px;
  margin:0 0 6px;
}

body.mtg-template-tm2 .tm2-cart-item__info h3 a{
  color:#111;
  text-decoration:none;
}

body.mtg-template-tm2 .tm2-cart-item__info p{
  margin:0;
  color:#667085;
}

body.mtg-template-tm2 .tm2-cart-item__qty{
  display:grid;
  gap:6px;
}

body.mtg-template-tm2 .tm2-cart-item__qty label{
  font-size:12px;
  font-weight:700;
}

body.mtg-template-tm2 .tm2-cart-item__qty input{
  width:100%;
  min-height:42px;
  border:1px solid #ddd;
  padding:0 10px;
}

body.mtg-template-tm2 .tm2-cart-summary,
body.mtg-template-tm2 .tm2-checkout-summary,
body.mtg-template-tm2 .tm2-checkout-form{
  border:1px solid #eee;
  padding:24px;
  background:#fff;
}

body.mtg-template-tm2 .tm2-cart-summary h2,
body.mtg-template-tm2 .tm2-checkout-summary h2{
  font-size:30px;
  margin:0 0 20px;
}

body.mtg-template-tm2 .tm2-cart-summary__line,
body.mtg-template-tm2 .tm2-checkout-total,
body.mtg-template-tm2 .tm2-checkout-row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  border-bottom:1px solid #eee;
  padding:12px 0;
}

body.mtg-template-tm2 .tm2-checkout-total{
  border-bottom:0;
  font-size:20px;
}

body.mtg-template-tm2 .tm2-cart-summary .tm2-btn,
body.mtg-template-tm2 .tm2-checkout-form .tm2-btn{
  width:100%;
  margin-top:14px;
}

body.mtg-template-tm2 .tm2-cart-continue{
  display:block;
  text-align:center;
  margin-top:14px;
  color:#111;
  font-weight:700;
}

body.mtg-template-tm2 .tm2-checkout-form{
  display:grid;
  gap:16px;
}

body.mtg-template-tm2 .tm2-checkout-form label{
  display:grid;
  gap:8px;
}

body.mtg-template-tm2 .tm2-checkout-form span{
  font-size:13px;
  font-weight:700;
}

body.mtg-template-tm2 .tm2-checkout-form input{
  min-height:48px;
  border:1px solid #ddd;
  padding:0 14px;
}

body.mtg-template-tm2 .tm2-checkout-warning{
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  padding:14px;
}

@media (max-width:900px){
  body.mtg-template-tm2 .tm2-cart-layout,
  body.mtg-template-tm2 .tm2-checkout-layout{
    grid-template-columns:minmax(0,1fr);
  }

  body.mtg-template-tm2 .tm2-cart-item{
    grid-template-columns:80px minmax(0,1fr);
  }

  body.mtg-template-tm2 .tm2-cart-item__qty,
  body.mtg-template-tm2 .tm2-cart-item__total{
    grid-column:2;
  }
}

/* ==========================================================
   TM2 Checkout Gateway UI
========================================================== */

body.mtg-template-tm2 .tm2-checkout-shell,
body.mtg-template-tm2 .tm2-cart-shell{
  background:#ffffff !important;
  padding:72px 0 96px !important;
}

body.mtg-template-tm2 .tm2-checkout-layout,
body.mtg-template-tm2 .tm2-cart-layout{
  width:90% !important;
  max-width:none !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 380px !important;
  gap:32px !important;
  align-items:start !important;
}

body.mtg-template-tm2 .tm2-checkout-form,
body.mtg-template-tm2 .tm2-checkout-summary,
body.mtg-template-tm2 .tm2-cart-summary{
  background:#ffffff !important;
  border:1px solid #eeeeee !important;
  padding:28px !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

body.mtg-template-tm2 .tm2-checkout-form{
  display:grid !important;
  gap:18px !important;
}

body.mtg-template-tm2 .tm2-checkout-form label{
  display:grid !important;
  gap:8px !important;
}

body.mtg-template-tm2 .tm2-checkout-form label span{
  font-size:13px !important;
  font-weight:800 !important;
  color:#111 !important;
}

body.mtg-template-tm2 .tm2-checkout-form input[type="text"],
body.mtg-template-tm2 .tm2-checkout-form input[type="email"],
body.mtg-template-tm2 .tm2-checkout-form input[type="number"]{
  width:100% !important;
  min-height:50px !important;
  border:1px solid #dcdcdc !important;
  padding:0 14px !important;
  background:#fff !important;
  color:#111 !important;
  box-shadow:none !important;
}

body.mtg-template-tm2 .tm2-payment-box{
  border:1px solid #eeeeee !important;
  padding:20px !important;
  display:grid !important;
  gap:12px !important;
}

body.mtg-template-tm2 .tm2-payment-box h2{
  font-size:28px !important;
  margin:0 0 4px !important;
}

body.mtg-template-tm2 .tm2-payment-option{
  display:grid !important;
  grid-template-columns:22px minmax(0,1fr) !important;
  gap:12px !important;
  align-items:start !important;
  border:1px solid #eeeeee !important;
  padding:14px !important;
  cursor:pointer !important;
}

body.mtg-template-tm2 .tm2-payment-option input{
  margin-top:4px !important;
  accent-color:#000 !important;
}

body.mtg-template-tm2 .tm2-payment-option strong{
  display:block !important;
  font-size:16px !important;
  color:#111 !important;
}

body.mtg-template-tm2 .tm2-payment-option em{
  display:block !important;
  margin-top:4px !important;
  font-style:normal !important;
  color:#667085 !important;
  font-size:14px !important;
  line-height:1.5 !important;
}

body.mtg-template-tm2 .tm2-payment-option.is-disabled{
  opacity:.45 !important;
  cursor:not-allowed !important;
}

body.mtg-template-tm2 .tm2-checkout-summary h2{
  font-size:30px !important;
  margin:0 0 18px !important;
}

body.mtg-template-tm2 .tm2-checkout-row,
body.mtg-template-tm2 .tm2-checkout-total{
  display:flex !important;
  justify-content:space-between !important;
  gap:18px !important;
  border-bottom:1px solid #eeeeee !important;
  padding:13px 0 !important;
}

body.mtg-template-tm2 .tm2-checkout-total{
  border-bottom:0 !important;
  font-size:20px !important;
}

body.mtg-template-tm2 .tm2-checkout-form .tm2-btn{
  width:100% !important;
  border-radius:0 !important;
}

@media (max-width:900px){
  body.mtg-template-tm2 .tm2-checkout-layout,
  body.mtg-template-tm2 .tm2-cart-layout{
    grid-template-columns:minmax(0,1fr) !important;
  }
}

/* ==========================================================
   TM2 Review Payment
========================================================== */

body.mtg-template-tm2 .tm2-review-shell{
  background:#fff !important;
  padding:72px 0 96px !important;
}

body.mtg-template-tm2 .tm2-review-box{
  width:90%;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}

body.mtg-template-tm2 .tm2-review-box section{
  border:1px solid #eeeeee;
  padding:28px;
  background:#fff;
}

body.mtg-template-tm2 .tm2-review-box h2{
  font-size:32px;
  margin:0 0 16px;
}

body.mtg-template-tm2 .tm2-review-box p{
  color:#667085;
  font-size:17px;
  line-height:1.8;
}

body.mtg-template-tm2 .tm2-review-qr{
  width:240px;
  height:240px;
  border:1px solid #eeeeee;
  padding:12px;
  background:#fff;
  margin-top:18px;
}

body.mtg-template-tm2 .tm2-review-qr img{
  width:100%;
  height:100%;
  object-fit:contain;
}

@media(max-width:800px){
  body.mtg-template-tm2 .tm2-review-box{
    grid-template-columns:1fr;
  }
}

/* ==========================================================
   TM2 REVIEW PAYMENT CLEAN
========================================================== */

body.mtg-template-tm2 .tm2-review-clean,
.tm2-review-clean{
  background:#ffffff !important;
  padding:72px 0 96px !important;
}

body.mtg-template-tm2 .tm2-review-clean .tm2-shell,
.tm2-review-clean .tm2-shell{
  width:90% !important;
  max-width:none !important;
  margin:0 auto !important;
}

body.mtg-template-tm2 .tm2-review-clean__head,
.tm2-review-clean__head{
  max-width:860px !important;
  margin:0 auto 42px !important;
  text-align:center !important;
}

body.mtg-template-tm2 .tm2-review-clean__eyebrow,
.tm2-review-clean__eyebrow{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:30px !important;
  padding:0 14px !important;
  background:#000 !important;
  color:#fff !important;
  border-radius:999px !important;
  font-size:12px !important;
  font-weight:800 !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
  margin-bottom:18px !important;
}

body.mtg-template-tm2 .tm2-review-clean__head h1,
.tm2-review-clean__head h1{
  margin:0 0 14px !important;
  font-size:56px !important;
  line-height:1.02 !important;
  letter-spacing:-.05em !important;
  color:#111 !important;
}

body.mtg-template-tm2 .tm2-review-clean__head p,
.tm2-review-clean__head p{
  margin:0 !important;
  color:#667085 !important;
  font-size:18px !important;
  line-height:1.7 !important;
}

body.mtg-template-tm2 .tm2-review-clean__grid,
.tm2-review-clean__grid{
  display:grid !important;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) !important;
  gap:28px !important;
  align-items:start !important;
}

body.mtg-template-tm2 .tm2-review-clean__card,
.tm2-review-clean__card{
  background:#fff !important;
  border:1px solid #eeeeee !important;
  padding:32px !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

body.mtg-template-tm2 .tm2-review-clean__card h2,
.tm2-review-clean__card h2{
  margin:0 0 18px !important;
  font-size:34px !important;
  line-height:1.1 !important;
  letter-spacing:-.04em !important;
  color:#111 !important;
}

body.mtg-template-tm2 .tm2-review-clean__total,
.tm2-review-clean__total{
  border:1px solid #eeeeee !important;
  padding:18px !important;
  margin:0 0 18px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
}

body.mtg-template-tm2 .tm2-review-clean__total span,
.tm2-review-clean__total span,
body.mtg-template-tm2 .tm2-review-clean__data span,
.tm2-review-clean__data span{
  color:#667085 !important;
  font-size:14px !important;
  font-weight:800 !important;
}

body.mtg-template-tm2 .tm2-review-clean__total strong,
.tm2-review-clean__total strong{
  font-size:32px !important;
  color:#111 !important;
}

body.mtg-template-tm2 .tm2-review-clean__data,
.tm2-review-clean__data{
  border:1px solid #eeeeee !important;
  padding:18px !important;
  margin-bottom:18px !important;
  display:grid !important;
  gap:6px !important;
}

body.mtg-template-tm2 .tm2-review-clean__data strong,
.tm2-review-clean__data strong{
  color:#111 !important;
  font-size:24px !important;
}

body.mtg-template-tm2 .tm2-review-clean__qr,
.tm2-review-clean__qr{
  width:280px !important;
  max-width:100% !important;
  aspect-ratio:1/1 !important;
  border:1px solid #eeeeee !important;
  padding:14px !important;
  background:#fff !important;
}

body.mtg-template-tm2 .tm2-review-clean__qr img,
.tm2-review-clean__qr img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  display:block !important;
}

body.mtg-template-tm2 .tm2-review-clean__noqr,
.tm2-review-clean__noqr{
  border:1px dashed #d0d5dd !important;
  padding:28px !important;
  color:#667085 !important;
  text-align:center !important;
}

body.mtg-template-tm2 .tm2-review-clean__hint,
.tm2-review-clean__hint{
  color:#667085 !important;
  font-size:16px !important;
  line-height:1.7 !important;
  margin:0 0 22px !important;
}

body.mtg-template-tm2 .tm2-review-clean__form,
.tm2-review-clean__form{
  display:grid !important;
  gap:18px !important;
}

body.mtg-template-tm2 .tm2-review-clean__form label,
.tm2-review-clean__form label{
  display:grid !important;
  gap:8px !important;
}

body.mtg-template-tm2 .tm2-review-clean__form label span,
.tm2-review-clean__form label span{
  font-size:13px !important;
  color:#111 !important;
  font-weight:800 !important;
}

body.mtg-template-tm2 .tm2-review-clean__form input[type="text"],
.tm2-review-clean__form input[type="text"],
body.mtg-template-tm2 .tm2-review-clean__form input[type="file"],
.tm2-review-clean__form input[type="file"]{
  width:100% !important;
  min-height:52px !important;
  border:1px solid #dcdcdc !important;
  padding:13px 14px !important;
  background:#fff !important;
  color:#111 !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

body.mtg-template-tm2 .tm2-review-clean__form button,
.tm2-review-clean__form button,
body.mtg-template-tm2 .tm2-review-clean__btn,
.tm2-review-clean__btn{
  width:100% !important;
  min-height:54px !important;
  border:1px solid #000 !important;
  background:#000 !important;
  color:#fff !important;
  font-weight:800 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
  border-radius:0 !important;
  cursor:pointer !important;
  text-decoration:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

body.mtg-template-tm2 .tm2-review-clean__empty,
.tm2-review-clean__empty{
  width:min(760px,90%) !important;
  margin:0 auto !important;
  border:1px solid #eeeeee !important;
  padding:50px !important;
  text-align:center !important;
}

@media(max-width:900px){
  body.mtg-template-tm2 .tm2-review-clean__grid,
  .tm2-review-clean__grid{
    grid-template-columns:1fr !important;
  }

  body.mtg-template-tm2 .tm2-review-clean__head h1,
  .tm2-review-clean__head h1{
    font-size:40px !important;
  }
}

/* ==========================================================
   TM2 Payment icons + color accents
========================================================== */

body.mtg-template-tm2 .tm2-payment-option{
  border-left:5px solid var(--tm2-pay-accent,#111) !important;
  grid-template-columns:22px 52px minmax(0,1fr) !important;
  align-items:center !important;
  background:linear-gradient(90deg, color-mix(in srgb, var(--tm2-pay-accent,#111) 7%, #fff) 0%, #fff 42%) !important;
}

body.mtg-template-tm2 .tm2-payment-option__icon{
  width:46px !important;
  height:46px !important;
  border-radius:14px !important;
  background:#fff !important;
  border:1px solid color-mix(in srgb, var(--tm2-pay-accent,#111) 26%, #eee) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}

body.mtg-template-tm2 .tm2-payment-option__icon img{
  width:34px !important;
  height:34px !important;
  object-fit:contain !important;
  display:block !important;
}

body.mtg-template-tm2 .tm2-payment-option__icon b{
  color:var(--tm2-pay-accent,#111) !important;
  font-size:20px !important;
  font-weight:900 !important;
}

body.mtg-template-tm2 .tm2-payment-option__text strong{
  color:#111 !important;
}

body.mtg-template-tm2 .tm2-payment-option input:checked + .tm2-payment-option__icon{
  box-shadow:0 0 0 4px color-mix(in srgb, var(--tm2-pay-accent,#111) 14%, transparent) !important;
}

/* Review payment brand */

body.mtg-template-tm2 .tm2-review-clean__brand,
.tm2-review-clean__brand{
  width:82px !important;
  height:82px !important;
  border-radius:24px !important;
  margin:0 auto 18px !important;
  background:linear-gradient(135deg, color-mix(in srgb, var(--tm2-pay-accent,#111) 14%, #fff), #fff) !important;
  border:1px solid color-mix(in srgb, var(--tm2-pay-accent,#111) 30%, #eee) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

body.mtg-template-tm2 .tm2-review-clean__brand img,
.tm2-review-clean__brand img{
  width:58px !important;
  height:58px !important;
  object-fit:contain !important;
}

body.mtg-template-tm2 .tm2-review-clean__brand span,
.tm2-review-clean__brand span{
  color:var(--tm2-pay-accent,#111) !important;
  font-size:34px !important;
  font-weight:900 !important;
}

body.mtg-template-tm2 .tm2-review-clean__eyebrow,
.tm2-review-clean__eyebrow{
  background:var(--tm2-pay-accent,#111) !important;
}

body.mtg-template-tm2 .tm2-review-clean__card,
.tm2-review-clean__card{
  border-top:5px solid var(--tm2-pay-accent,#111) !important;
}

body.mtg-template-tm2 .tm2-review-clean__card-title,
.tm2-review-clean__card-title{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  margin-bottom:18px !important;
}

body.mtg-template-tm2 .tm2-review-clean__card-title h2,
.tm2-review-clean__card-title h2{
  margin:0 !important;
}

body.mtg-template-tm2 .tm2-review-clean__mini-icon,
.tm2-review-clean__mini-icon{
  width:48px !important;
  height:48px !important;
  border-radius:14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:color-mix(in srgb, var(--tm2-pay-accent,#111) 10%, #fff) !important;
  border:1px solid color-mix(in srgb, var(--tm2-pay-accent,#111) 24%, #eee) !important;
  overflow:hidden !important;
  flex:0 0 auto !important;
}

body.mtg-template-tm2 .tm2-review-clean__mini-icon img,
.tm2-review-clean__mini-icon img{
  width:34px !important;
  height:34px !important;
  object-fit:contain !important;
}

body.mtg-template-tm2 .tm2-review-clean__mini-icon span,
.tm2-review-clean__mini-icon span{
  color:var(--tm2-pay-accent,#111) !important;
  font-size:22px !important;
  font-weight:900 !important;
}

body.mtg-template-tm2 .tm2-review-clean__total strong,
.tm2-review-clean__total strong,
body.mtg-template-tm2 .tm2-review-clean__data strong,
.tm2-review-clean__data strong{
  color:var(--tm2-pay-accent,#111) !important;
}

body.mtg-template-tm2 .tm2-review-clean__form button,
.tm2-review-clean__form button{
  background:var(--tm2-pay-accent,#111) !important;
  border-color:var(--tm2-pay-accent,#111) !important;
}

body.mtg-template-tm2 .tm2-review-clean__qr,
.tm2-review-clean__qr{
  border-color:color-mix(in srgb, var(--tm2-pay-accent,#111) 26%, #eee) !important;
  background:linear-gradient(135deg, #fff, color-mix(in srgb, var(--tm2-pay-accent,#111) 6%, #fff)) !important;
}

/* Fallback si color-mix no aplica en navegador */
@supports not (background: color-mix(in srgb, #000 10%, #fff)){
  body.mtg-template-tm2 .tm2-payment-option,
  body.mtg-template-tm2 .tm2-review-clean__brand,
  body.mtg-template-tm2 .tm2-review-clean__mini-icon{
    background:#fff !important;
  }
}

/* ==========================================================
   TM2 payment gradients by gateway
========================================================== */

body.mtg-template-tm2 .tm2-payment-option,
.tm2-payment-option{
  position:relative !important;
  overflow:hidden !important;
  border-left:6px solid var(--tm2-pay-accent,#111) !important;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--tm2-pay-accent,#111) 13%, #fff) 0%, #fff 58%) !important;
}

body.mtg-template-tm2 .tm2-payment-option--whatsapp,
.tm2-payment-option--whatsapp{
  --tm2-pay-accent:#22c55e;
}

body.mtg-template-tm2 .tm2-payment-option--yape,
.tm2-payment-option--yape{
  --tm2-pay-accent:#6d28d9;
}

body.mtg-template-tm2 .tm2-payment-option--plin,
.tm2-payment-option--plin{
  --tm2-pay-accent:#0ea5e9;
}

body.mtg-template-tm2 .tm2-payment-option--paypal,
.tm2-payment-option--paypal{
  --tm2-pay-accent:#0070ba;
}

body.mtg-template-tm2 .tm2-payment-option__icon,
.tm2-payment-option__icon{
  width:52px !important;
  height:52px !important;
  border-radius:16px !important;
  background:#fff !important;
  border:1px solid color-mix(in srgb, var(--tm2-pay-accent,#111) 35%, #e5e7eb) !important;
  box-shadow:0 10px 26px color-mix(in srgb, var(--tm2-pay-accent,#111) 14%, transparent) !important;
}

body.mtg-template-tm2 .tm2-payment-option__icon img,
.tm2-payment-option__icon img{
  width:38px !important;
  height:38px !important;
  object-fit:contain !important;
}

body.mtg-template-tm2 .tm2-payment-option__icon b,
.tm2-payment-option__icon b{
  color:var(--tm2-pay-accent,#111) !important;
}

body.mtg-template-tm2 .tm2-payment-option input:checked ~ .tm2-payment-option__text strong,
.tm2-payment-option input:checked ~ .tm2-payment-option__text strong{
  color:var(--tm2-pay-accent,#111) !important;
}

/* Review payment gradient */
body.mtg-template-tm2 .tm2-review-clean,
.tm2-review-clean{
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--tm2-pay-accent,#111) 9%, transparent), transparent 34%),
    #fff !important;
}

body.mtg-template-tm2 .tm2-review-clean__brand,
.tm2-review-clean__brand{
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tm2-pay-accent,#111) 20%, #fff), #fff) !important;
  border-color:color-mix(in srgb, var(--tm2-pay-accent,#111) 38%, #e5e7eb) !important;
  box-shadow:0 18px 44px color-mix(in srgb, var(--tm2-pay-accent,#111) 16%, transparent) !important;
}

body.mtg-template-tm2 .tm2-review-clean__card,
.tm2-review-clean__card{
  border-top:6px solid var(--tm2-pay-accent,#111) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tm2-pay-accent,#111) 5%, #fff), #fff 34%) !important;
}

body.mtg-template-tm2 .tm2-review-clean__form button,
.tm2-review-clean__form button{
  background:linear-gradient(90deg, var(--tm2-pay-accent,#111), color-mix(in srgb, var(--tm2-pay-accent,#111) 78%, #000)) !important;
  border-color:var(--tm2-pay-accent,#111) !important;
}

@supports not (background: color-mix(in srgb, #000 10%, #fff)){
  body.mtg-template-tm2 .tm2-payment-option,
  .tm2-payment-option,
  body.mtg-template-tm2 .tm2-review-clean__card,
  .tm2-review-clean__card{
    background:#fff !important;
  }
}

/* ==========================================================
   TM2 FINAL PAYMENT COLORS
   Quita look negro/boceto y usa identidad por medio de pago
========================================================== */

/* Variables por medio de pago */
body.mtg-template-tm2 .tm2-payment-option--whatsapp,
.tm2-payment-option--whatsapp,
body.mtg-template-tm2 .tm2-review-clean--whatsapp,
.tm2-review-clean--whatsapp{
  --tm2-pay-accent:#16a34a;
  --tm2-pay-soft:#ecfdf3;
  --tm2-pay-mid:#bbf7d0;
  --tm2-action:#16a34a;
  --tm2-action-dark:#15803d;
}

body.mtg-template-tm2 .tm2-payment-option--yape,
.tm2-payment-option--yape,
body.mtg-template-tm2 .tm2-review-clean--yape,
.tm2-review-clean--yape{
  --tm2-pay-accent:#7c3aed;
  --tm2-pay-soft:#f5f3ff;
  --tm2-pay-mid:#ddd6fe;
  --tm2-action:#f97316;
  --tm2-action-dark:#ea580c;
}

body.mtg-template-tm2 .tm2-payment-option--plin,
.tm2-payment-option--plin,
body.mtg-template-tm2 .tm2-review-clean--plin,
.tm2-review-clean--plin{
  --tm2-pay-accent:#06b6d4;
  --tm2-pay-soft:#ecfeff;
  --tm2-pay-mid:#a5f3fc;
  --tm2-action:#f97316;
  --tm2-action-dark:#ea580c;
}

body.mtg-template-tm2 .tm2-payment-option--paypal,
.tm2-payment-option--paypal,
body.mtg-template-tm2 .tm2-review-clean--paypal,
.tm2-review-clean--paypal{
  --tm2-pay-accent:#0070ba;
  --tm2-pay-soft:#eff6ff;
  --tm2-pay-mid:#bfdbfe;
  --tm2-action:#2563eb;
  --tm2-action-dark:#1d4ed8;
}

/* Checkout: opciones de pago con color */
body.mtg-template-tm2 .tm2-payment-option,
.tm2-payment-option{
  border:1px solid color-mix(in srgb, var(--tm2-pay-accent,#111) 22%, #e5e7eb) !important;
  border-left:7px solid var(--tm2-pay-accent,#111) !important;
  background:
    linear-gradient(90deg, var(--tm2-pay-soft,#fff) 0%, #ffffff 68%) !important;
  box-shadow:0 12px 28px rgba(15,23,42,.04) !important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

body.mtg-template-tm2 .tm2-payment-option:hover,
.tm2-payment-option:hover{
  transform:translateY(-1px) !important;
  box-shadow:0 18px 40px rgba(15,23,42,.08) !important;
  border-color:var(--tm2-pay-accent,#111) !important;
}

body.mtg-template-tm2 .tm2-payment-option input:checked ~ .tm2-payment-option__text strong,
.tm2-payment-option input:checked ~ .tm2-payment-option__text strong{
  color:var(--tm2-pay-accent,#111) !important;
}

body.mtg-template-tm2 .tm2-payment-option__icon,
.tm2-payment-option__icon{
  background:#ffffff !important;
  border:1px solid color-mix(in srgb, var(--tm2-pay-accent,#111) 32%, #e5e7eb) !important;
  box-shadow:0 10px 24px color-mix(in srgb, var(--tm2-pay-accent,#111) 14%, transparent) !important;
}

/* Review payment: fondo y cards con identidad */
body.mtg-template-tm2 .tm2-review-clean,
.tm2-review-clean{
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--tm2-pay-accent,#111) 12%, transparent), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, var(--tm2-pay-soft,#fff) 100%) !important;
}

body.mtg-template-tm2 .tm2-review-clean__eyebrow,
.tm2-review-clean__eyebrow{
  background:var(--tm2-pay-accent,#111) !important;
  color:#fff !important;
}

body.mtg-template-tm2 .tm2-review-clean__card,
.tm2-review-clean__card{
  border:1px solid color-mix(in srgb, var(--tm2-pay-accent,#111) 20%, #e5e7eb) !important;
  border-top:7px solid var(--tm2-pay-accent,#111) !important;
  background:
    linear-gradient(180deg, var(--tm2-pay-soft,#fff) 0%, #ffffff 42%) !important;
  box-shadow:0 22px 50px rgba(15,23,42,.06) !important;
}

body.mtg-template-tm2 .tm2-review-clean__total,
.tm2-review-clean__total,
body.mtg-template-tm2 .tm2-review-clean__data,
.tm2-review-clean__data{
  border:1px solid color-mix(in srgb, var(--tm2-pay-accent,#111) 20%, #e5e7eb) !important;
  background:#fff !important;
}

body.mtg-template-tm2 .tm2-review-clean__total strong,
.tm2-review-clean__total strong,
body.mtg-template-tm2 .tm2-review-clean__data strong,
.tm2-review-clean__data strong{
  color:var(--tm2-pay-accent,#111) !important;
}

/* QR / no QR */
body.mtg-template-tm2 .tm2-review-clean__qr,
.tm2-review-clean__qr,
body.mtg-template-tm2 .tm2-review-clean__noqr,
.tm2-review-clean__noqr{
  border:1px dashed color-mix(in srgb, var(--tm2-pay-accent,#111) 35%, #cbd5e1) !important;
  background:
    linear-gradient(135deg, #ffffff 0%, var(--tm2-pay-soft,#fff) 100%) !important;
}

/* Botón mandar pedido a revisión: naranja bonito para pagos manuales */
body.mtg-template-tm2 .tm2-review-clean--yape .tm2-review-clean__form button,
.tm2-review-clean--yape .tm2-review-clean__form button,
body.mtg-template-tm2 .tm2-review-clean--plin .tm2-review-clean__form button,
.tm2-review-clean--plin .tm2-review-clean__form button{
  background:linear-gradient(90deg, #f97316 0%, #fb923c 100%) !important;
  border-color:#f97316 !important;
  color:#ffffff !important;
  box-shadow:0 16px 34px rgba(249,115,22,.24) !important;
}

body.mtg-template-tm2 .tm2-review-clean--yape .tm2-review-clean__form button:hover,
.tm2-review-clean--yape .tm2-review-clean__form button:hover,
body.mtg-template-tm2 .tm2-review-clean--plin .tm2-review-clean__form button:hover,
.tm2-review-clean--plin .tm2-review-clean__form button:hover{
  background:linear-gradient(90deg, #ea580c 0%, #f97316 100%) !important;
  transform:translateY(-1px) !important;
}

/* Botón WhatsApp: verde bonito */
body.mtg-template-tm2 .tm2-review-clean--whatsapp .tm2-review-clean__form button,
.tm2-review-clean--whatsapp .tm2-review-clean__form button,
body.mtg-template-tm2 .tm2-payment-option--whatsapp + button,
.tm2-payment-option--whatsapp + button{
  background:linear-gradient(90deg, #16a34a 0%, #22c55e 100%) !important;
  border-color:#16a34a !important;
  color:#ffffff !important;
}

/* Botón PayPal: azul */
body.mtg-template-tm2 .tm2-review-clean--paypal .tm2-review-clean__form button,
.tm2-review-clean--paypal .tm2-review-clean__form button{
  background:linear-gradient(90deg, #0070ba 0%, #2563eb 100%) !important;
  border-color:#0070ba !important;
  color:#ffffff !important;
}

/* Quitar cualquier negro duro heredado en review */
body.mtg-template-tm2 .tm2-review-clean__card,
.tm2-review-clean__card,
body.mtg-template-tm2 .tm2-review-clean__form button,
.tm2-review-clean__form button{
  border-radius:0 !important;
}

/* Fallback para navegadores sin color-mix */
@supports not (background: color-mix(in srgb, #000 10%, #fff)){
  body.mtg-template-tm2 .tm2-payment-option,
  .tm2-payment-option,
  body.mtg-template-tm2 .tm2-review-clean__card,
  .tm2-review-clean__card{
    background:#ffffff !important;
  }

  body.mtg-template-tm2 .tm2-review-clean--yape .tm2-review-clean__card,
  .tm2-review-clean--yape .tm2-review-clean__card{
    border-top-color:#7c3aed !important;
  }

  body.mtg-template-tm2 .tm2-review-clean--plin .tm2-review-clean__card,
  .tm2-review-clean--plin .tm2-review-clean__card{
    border-top-color:#06b6d4 !important;
  }
}

/* ==========================================================
   TM2 FINAL OVERRIDE - REVIEW PAYMENT COLORS
   Este bloque debe quedar al final del archivo.
========================================================== */

html body.mtg-template-tm2 main.tm2-review-clean.tm2-review-clean--yape{
  --tm2-pay-accent:#7c3aed !important;
  --tm2-action:#f97316 !important;
}

html body.mtg-template-tm2 main.tm2-review-clean.tm2-review-clean--plin{
  --tm2-pay-accent:#06b6d4 !important;
  --tm2-action:#f97316 !important;
}

html body.mtg-template-tm2 main.tm2-review-clean.tm2-review-clean--paypal{
  --tm2-pay-accent:#0070ba !important;
  --tm2-action:#2563eb !important;
}

html body.mtg-template-tm2 main.tm2-review-clean.tm2-review-clean--whatsapp{
  --tm2-pay-accent:#16a34a !important;
  --tm2-action:#16a34a !important;
}

html body main.tm2-review-clean{
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--tm2-pay-accent) 14%, transparent), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--tm2-pay-accent) 7%, #ffffff) 100%) !important;
}

html body main.tm2-review-clean .tm2-review-clean__eyebrow{
  background:var(--tm2-pay-accent) !important;
  border-color:var(--tm2-pay-accent) !important;
  color:#ffffff !important;
}

html body main.tm2-review-clean .tm2-review-clean__card{
  border:1px solid color-mix(in srgb, var(--tm2-pay-accent) 25%, #e5e7eb) !important;
  border-top:7px solid var(--tm2-pay-accent) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tm2-pay-accent) 7%, #ffffff) 0%, #ffffff 48%) !important;
  box-shadow:0 22px 52px rgba(15,23,42,.07) !important;
}

html body main.tm2-review-clean .tm2-review-clean__total,
html body main.tm2-review-clean .tm2-review-clean__data,
html body main.tm2-review-clean .tm2-review-clean__noqr,
html body main.tm2-review-clean .tm2-review-clean__qr{
  border-color:color-mix(in srgb, var(--tm2-pay-accent) 30%, #e5e7eb) !important;
  background:#ffffff !important;
}

html body main.tm2-review-clean .tm2-review-clean__total strong,
html body main.tm2-review-clean .tm2-review-clean__data strong{
  color:var(--tm2-pay-accent) !important;
}

html body main.tm2-review-clean .tm2-review-clean__form button,
html body main.tm2-review-clean button[type="submit"]{
  background:linear-gradient(90deg, var(--tm2-action) 0%, color-mix(in srgb, var(--tm2-action) 78%, #ffffff) 100%) !important;
  border:1px solid var(--tm2-action) !important;
  color:#ffffff !important;
  box-shadow:0 16px 34px color-mix(in srgb, var(--tm2-action) 26%, transparent) !important;
}

html body main.tm2-review-clean .tm2-review-clean__form button:hover,
html body main.tm2-review-clean button[type="submit"]:hover{
  filter:brightness(.96) !important;
  transform:translateY(-1px) !important;
}

/* Si el navegador no soporta color-mix, igual no dejamos negro */
@supports not (background: color-mix(in srgb, #000 10%, #fff)){
  html body main.tm2-review-clean .tm2-review-clean__card{
    background:#ffffff !important;
  }

  html body.mtg-template-tm2 main.tm2-review-clean.tm2-review-clean--yape .tm2-review-clean__card{
    border-top-color:#7c3aed !important;
  }

  html body.mtg-template-tm2 main.tm2-review-clean.tm2-review-clean--plin .tm2-review-clean__card{
    border-top-color:#06b6d4 !important;
  }

  html body.mtg-template-tm2 main.tm2-review-clean.tm2-review-clean--yape button[type="submit"],
  html body.mtg-template-tm2 main.tm2-review-clean.tm2-review-clean--plin button[type="submit"]{
    background:#f97316 !important;
    border-color:#f97316 !important;
  }
}

/* ==========================================================
   TM2 FORCE VISIBLE PAYMENT REVIEW
   Última capa: evita botones blancos / bordes negros
========================================================== */

html body main.tm2-review-clean .tm2-review-clean__card{
  border-top-color:var(--tm2-pay-accent) !important;
  border-color:color-mix(in srgb, var(--tm2-pay-accent) 28%, #e5e7eb) !important;
}

html body main.tm2-review-clean .tm2-review-clean__total strong,
html body main.tm2-review-clean .tm2-review-clean__data strong,
html body main.tm2-review-clean .tm2-review-clean__data strong span{
  color:var(--tm2-pay-accent) !important;
}

html body main.tm2-review-clean button.tm2-review-submit,
html body main.tm2-review-clean .tm2-review-clean__form button.tm2-review-submit,
html body main.tm2-review-clean form button[type="submit"].tm2-review-submit{
  color:#ffffff !important;
  opacity:1 !important;
  visibility:visible !important;
  font-weight:900 !important;
  letter-spacing:.05em !important;
  text-transform:uppercase !important;
}

html body main.tm2-review-clean--yape button.tm2-review-submit{
  background:linear-gradient(90deg,#f97316 0%,#fb923c 100%) !important;
  border-color:#f97316 !important;
}

html body main.tm2-review-clean--plin button.tm2-review-submit{
  background:linear-gradient(90deg,#f97316 0%,#fb923c 100%) !important;
  border-color:#f97316 !important;
}

html body main.tm2-review-clean--paypal button.tm2-review-submit{
  background:linear-gradient(90deg,#0070ba 0%,#2563eb 100%) !important;
  border-color:#0070ba !important;
}

html body main.tm2-review-clean--whatsapp button.tm2-review-submit{
  background:linear-gradient(90deg,#16a34a 0%,#22c55e 100%) !important;
  border-color:#16a34a !important;
}

html body main.tm2-review-clean button.tm2-review-submit:hover{
  color:#ffffff !important;
  filter:brightness(.96) !important;
  transform:translateY(-1px) !important;
}

/* ==========================================================
   TM2 CHECKOUT 90% + COUNTRY WHATSAPP FIELD
========================================================== */

html body.mtg-template-tm2 .tm2-checkout-shell .tm2-shell,
html body .tm2-checkout-shell .tm2-shell{
  width:90% !important;
  max-width:none !important;
  margin:0 auto !important;
}

html body.mtg-template-tm2 .tm2-checkout-layout,
html body .tm2-checkout-layout{
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
  grid-template-columns:minmax(0,1fr) 420px !important;
  gap:36px !important;
}

html body.mtg-template-tm2 .tm2-checkout-form,
html body .tm2-checkout-form{
  padding:34px !important;
}

html body.mtg-template-tm2 .tm2-checkout-fields,
html body .tm2-checkout-fields{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:18px 20px !important;
}

html body.mtg-template-tm2 .tm2-field,
html body .tm2-field{
  display:grid !important;
  gap:8px !important;
}

html body.mtg-template-tm2 .tm2-field--full,
html body .tm2-field--full{
  grid-column:1 / -1 !important;
}

html body.mtg-template-tm2 .tm2-field span,
html body .tm2-field span{
  font-size:13px !important;
  font-weight:900 !important;
  color:#111827 !important;
}

html body.mtg-template-tm2 .tm2-field input,
html body .tm2-field input,
html body.mtg-template-tm2 .tm2-phone-field select,
html body .tm2-phone-field select{
  width:100% !important;
  min-height:54px !important;
  border:1px solid #d9dee7 !important;
  background:#fff !important;
  color:#111827 !important;
  padding:0 14px !important;
  box-shadow:none !important;
  border-radius:0 !important;
  font-size:15px !important;
}

html body.mtg-template-tm2 .tm2-phone-field,
html body .tm2-phone-field{
  display:grid !important;
  grid-template-columns:190px minmax(0,1fr) !important;
  gap:10px !important;
}

html body.mtg-template-tm2 .tm2-phone-field select,
html body .tm2-phone-field select{
  cursor:pointer !important;
}

html body.mtg-template-tm2 .tm2-checkout-summary,
html body .tm2-checkout-summary{
  padding:34px !important;
}

@media(max-width:1000px){
  html body.mtg-template-tm2 .tm2-checkout-layout,
  html body .tm2-checkout-layout{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:700px){
  html body.mtg-template-tm2 .tm2-checkout-fields,
  html body .tm2-checkout-fields{
    grid-template-columns:1fr !important;
  }

  html body.mtg-template-tm2 .tm2-phone-field,
  html body .tm2-phone-field{
    grid-template-columns:1fr !important;
  }
}

/* ==========================================================
   TM2 CHECKOUT REAL PATCH - 90% + COUNTRY PHONE
========================================================== */

html body .tm2-checkout-shell .tm2-shell{
  width:90% !important;
  max-width:none !important;
  margin:0 auto !important;
}

html body .tm2-checkout-layout{
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
  grid-template-columns:minmax(0,1fr) 420px !important;
  gap:36px !important;
}

html body .tm2-checkout-form{
  padding:34px !important;
}

html body .tm2-checkout-fields{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:18px 20px !important;
}

html body .tm2-field{
  display:grid !important;
  gap:8px !important;
}

html body .tm2-field--full{
  grid-column:1 / -1 !important;
}

html body .tm2-field span{
  font-size:13px !important;
  font-weight:900 !important;
  color:#111827 !important;
}

html body .tm2-field input,
html body .tm2-phone-field select{
  width:100% !important;
  min-height:54px !important;
  border:1px solid #d9dee7 !important;
  background:#fff !important;
  color:#111827 !important;
  padding:0 14px !important;
  box-shadow:none !important;
  border-radius:0 !important;
  font-size:15px !important;
}

html body .tm2-phone-field{
  display:grid !important;
  grid-template-columns:190px minmax(0,1fr) !important;
  gap:10px !important;
}

html body .tm2-phone-field select{
  cursor:pointer !important;
}

html body .tm2-checkout-summary{
  padding:34px !important;
}

@media(max-width:1000px){
  html body .tm2-checkout-layout{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:700px){
  html body .tm2-checkout-fields{
    grid-template-columns:1fr !important;
  }

  html body .tm2-phone-field{
    grid-template-columns:1fr !important;
  }
}

/* ==========================================================
   TM2 CUSTOM COUNTRY FLAG PICKER
========================================================== */

html body .tm2-phone-field{
  display:grid !important;
  grid-template-columns:220px minmax(0,1fr) !important;
  gap:10px !important;
  position:relative !important;
}

html body .tm2-country-picker{
  position:relative !important;
  z-index:20 !important;
}

html body .tm2-country-picker__button{
  width:100% !important;
  min-height:54px !important;
  border:1px solid #d9dee7 !important;
  background:#fff !important;
  color:#111827 !important;
  padding:0 14px !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  cursor:pointer !important;
  font-size:15px !important;
  font-weight:700 !important;
  text-align:left !important;
}

html body .tm2-country-picker__button::after{
  content:"⌄" !important;
  margin-left:auto !important;
  color:#667085 !important;
  font-size:18px !important;
}

html body .tm2-country-picker__button img,
html body .tm2-country-picker__menu img{
  width:26px !important;
  height:18px !important;
  object-fit:cover !important;
  border-radius:2px !important;
  box-shadow:0 0 0 1px rgba(15,23,42,.08) !important;
  flex:0 0 auto !important;
}

html body .tm2-country-picker__menu{
  position:absolute !important;
  top:calc(100% + 6px) !important;
  left:0 !important;
  width:100% !important;
  max-height:320px !important;
  overflow:auto !important;
  background:#fff !important;
  border:1px solid #d9dee7 !important;
  box-shadow:0 18px 40px rgba(15,23,42,.14) !important;
  display:none !important;
  z-index:9999 !important;
}

html body .tm2-country-picker.is-open .tm2-country-picker__menu{
  display:block !important;
}

html body .tm2-country-picker__menu button{
  width:100% !important;
  min-height:44px !important;
  border:0 !important;
  border-bottom:1px solid #f1f5f9 !important;
  background:#fff !important;
  color:#111827 !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:0 12px !important;
  cursor:pointer !important;
  text-align:left !important;
  font-size:15px !important;
  font-weight:700 !important;
}

html body .tm2-country-picker__menu button:hover{
  background:#f8fafc !important;
}

@media(max-width:700px){
  html body .tm2-phone-field{
    grid-template-columns:1fr !important;
  }
}

/* ==========================================================
   TM2 WORLD COUNTRY PICKER SEARCH
========================================================== */

html body .tm2-country-picker__menu{
  width:320px !important;
  max-height:390px !important;
}

html body .tm2-country-picker__search{
  position:sticky !important;
  top:0 !important;
  z-index:2 !important;
  padding:10px !important;
  background:#fff !important;
  border-bottom:1px solid #e5e7eb !important;
}

html body .tm2-country-picker__search input{
  width:100% !important;
  min-height:42px !important;
  border:1px solid #d9dee7 !important;
  padding:0 12px !important;
  font-size:14px !important;
  color:#111827 !important;
  background:#fff !important;
}

html body .tm2-country-picker__list{
  max-height:320px !important;
  overflow:auto !important;
}

html body .tm2-country-picker__list button{
  width:100% !important;
  min-height:44px !important;
  border:0 !important;
  border-bottom:1px solid #f1f5f9 !important;
  background:#fff !important;
  color:#111827 !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:0 12px !important;
  cursor:pointer !important;
  text-align:left !important;
  font-size:14px !important;
  font-weight:700 !important;
}

html body .tm2-country-picker__list button:hover{
  background:#f8fafc !important;
}

html body .tm2-country-picker__list img{
  width:26px !important;
  height:18px !important;
  object-fit:cover !important;
  border-radius:2px !important;
  box-shadow:0 0 0 1px rgba(15,23,42,.08) !important;
  flex:0 0 auto !important;
}

@media(max-width:700px){
  html body .tm2-country-picker__menu{
    width:100% !important;
  }
}


/* MTG TM2 controlled builder upgrades */
body.mtg-template-tm2 .tm2-hero--image_left .tm2-hero__visual{order:1;}
body.mtg-template-tm2 .tm2-hero--image_left .tm2-hero__copy{order:2;}
body.mtg-template-tm2 .tm2-brands__logos{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:18px;
    align-items:center;
}
body.mtg-template-tm2 .tm2-brand-logo{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:86px;
    padding:18px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
}
body.mtg-template-tm2 .tm2-brand-logo img{
    max-width:100%;
    max-height:54px;
    object-fit:contain;
    display:block;
}
@media(max-width:900px){
    body.mtg-template-tm2 .tm2-brands__logos{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
@media(max-width:600px){
    body.mtg-template-tm2 .tm2-brands__logos{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}


/* MTG TM2 FINAL: grilla productos e imagen centrada */
body.mtg-template-tm2 .tm2-home .tm2-products-grid,
.tm2-home .tm2-products-grid{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

body.mtg-template-tm2 .tm2-home .tm2-product-card__media,
.tm2-home .tm2-product-card__media{
    aspect-ratio: 1 / 1.15 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    box-sizing: border-box !important;
}

body.mtg-template-tm2 .tm2-home .tm2-product-card__media img,
.tm2-home .tm2-product-card__media img{
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center center !important;
}

body.mtg-template-tm2 .tm2-home .tm2-product-card__body,
.tm2-home .tm2-product-card__body{
    text-align: center !important;
}

body.mtg-template-tm2 .tm2-journal,
.tm2-journal{
    display: none !important;
}

@media(max-width:1100px){
    body.mtg-template-tm2 .tm2-home .tm2-products-grid,
    .tm2-home .tm2-products-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media(max-width:640px){
    body.mtg-template-tm2 .tm2-home .tm2-products-grid,
    .tm2-home .tm2-products-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    body.mtg-template-tm2 .tm2-home .tm2-product-card__media,
    .tm2-home .tm2-product-card__media{
        padding: 12px !important;
    }
}


/* MTG TM2 HERO FIXED HEIGHT START */
body.mtg-template-tm2 .tm2-hero,
.tm2-hero{
    min-height: auto !important;
}

body.mtg-template-tm2 .tm2-hero__grid,
.tm2-hero__grid{
    min-height: 720px !important;
    height: 720px !important;
    align-items: stretch !important;
}

body.mtg-template-tm2 .tm2-hero__copy,
.tm2-hero__copy{
    min-height: 720px !important;
    height: 720px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

body.mtg-template-tm2 .tm2-hero__visual,
.tm2-hero__visual{
    min-height: 720px !important;
    height: 720px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
}

body.mtg-template-tm2 .tm2-hero__visual img,
.tm2-hero__visual img{
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

@media(max-width:1100px){
    body.mtg-template-tm2 .tm2-hero__grid,
    .tm2-hero__grid{
        min-height: auto !important;
        height: auto !important;
    }

    body.mtg-template-tm2 .tm2-hero__copy,
    .tm2-hero__copy{
        min-height: auto !important;
        height: auto !important;
        padding-top: 70px !important;
        padding-bottom: 50px !important;
    }

    body.mtg-template-tm2 .tm2-hero__visual,
    .tm2-hero__visual{
        min-height: 520px !important;
        height: 520px !important;
    }
}

@media(max-width:640px){
    body.mtg-template-tm2 .tm2-hero__copy,
    .tm2-hero__copy{
        padding-top: 46px !important;
        padding-bottom: 34px !important;
    }

    body.mtg-template-tm2 .tm2-hero__visual,
    .tm2-hero__visual{
        min-height: 420px !important;
        height: 420px !important;
    }
}
/* MTG TM2 HERO FIXED HEIGHT END */


/* MTG TM2 FIX HERO BADGE START */
body.mtg-template-tm2 .tm2-hero__badge,
.tm2-hero__badge{
    display: inline-flex !important;
    width: auto !important;
    max-width: max-content !important;
    align-self: flex-start !important;
    padding: 9px 16px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}
/* MTG TM2 FIX HERO BADGE END */


/* =========================================================
   MTG TM2 KIDS LAB - Danilo
   Capa visual infantil/pastel basada en TM1, sin tocar core.
   ========================================================= */

body.mtg-template-tm2{
  --tm2-bg:#fff8f3;
  --tm2-text:#293044;
  --tm2-soft:#7b8298;
  --tm2-line:#f2d8df;
  --tm2-card:#ffffff;
  --tm2-black:#293044;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 208, 220, .55), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(193, 232, 255, .58), transparent 26%),
    linear-gradient(180deg, #fff8f3 0%, #fffdf9 45%, #fff8fb 100%) !important;
}

body.mtg-template-tm2 .tm2-home{
  overflow:hidden;
}

body.mtg-template-tm2 .tm2-shell{
  width:min(1180px, 92%);
}

body.mtg-template-tm2 .tm2-hero{
  padding:42px 0 34px;
}

body.mtg-template-tm2 .tm2-hero__grid{
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.75), transparent 26%),
    linear-gradient(135deg, #ffe7ef 0%, #fff4d8 48%, #dff4ff 100%);
  border:1px solid rgba(255,255,255,.85);
  border-radius:38px;
  padding:46px;
  box-shadow:0 28px 80px rgba(217, 126, 158, .20);
  position:relative;
  overflow:hidden;
}

body.mtg-template-tm2 .tm2-hero__grid:before{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:-55px;
  top:-55px;
  background:rgba(255,255,255,.55);
  border-radius:999px;
}

body.mtg-template-tm2 .tm2-hero__grid:after{
  content:"";
  position:absolute;
  width:110px;
  height:110px;
  left:42%;
  bottom:-42px;
  background:rgba(255, 196, 120, .35);
  border-radius:999px;
}

body.mtg-template-tm2 .tm2-hero__copy,
body.mtg-template-tm2 .tm2-hero__visual{
  position:relative;
  z-index:2;
}

body.mtg-template-tm2 .tm2-hero__badge{
  background:#ffffff;
  color:#ff6f9f;
  border:1px solid rgba(255,111,159,.22);
  box-shadow:0 12px 28px rgba(255,111,159,.16);
  border-radius:999px;
  letter-spacing:.08em;
}

body.mtg-template-tm2 .tm2-hero__title{
  color:#26324d;
  font-size:clamp(38px, 5.4vw, 72px);
  line-height:.96;
  letter-spacing:-.055em;
}

body.mtg-template-tm2 .tm2-hero__text{
  color:#667085;
  font-size:18px;
  max-width:580px;
}

body.mtg-template-tm2 .tm2-btn{
  border-radius:999px;
  box-shadow:0 16px 34px rgba(255,111,159,.20);
}

body.mtg-template-tm2 .tm2-btn--dark{
  background:linear-gradient(135deg,#ff6f9f,#ff9f6e);
  color:#fff;
}

body.mtg-template-tm2 .tm2-btn--light{
  background:#ffffff;
  color:#26324d;
  border:1px solid rgba(38,50,77,.08);
}

body.mtg-template-tm2 .tm2-hero__meta{
  gap:12px;
}

body.mtg-template-tm2 .tm2-hero__meta-item{
  background:rgba(255,255,255,.62);
  border:1px solid rgba(255,255,255,.9);
  border-radius:22px;
  padding:14px 16px;
}

body.mtg-template-tm2 .tm2-hero__meta-item strong{
  color:#ff6f9f;
}

body.mtg-template-tm2 .tm2-hero__visual{
  border-radius:34px;
}

body.mtg-template-tm2 .tm2-hero__visual img{
  border-radius:34px;
  box-shadow:0 22px 54px rgba(38,50,77,.16);
}

body.mtg-template-tm2 .tm2-head--center h2,
body.mtg-template-tm2 .tm2-head--split h2,
body.mtg-template-tm2 .tm2-footer-cta__copy h2{
  color:#26324d;
  letter-spacing:-.035em;
}

body.mtg-template-tm2 .tm2-head__mini-line,
body.mtg-template-tm2 .tm2-head__line{
  background:linear-gradient(90deg,#ff8fb7,#ffd36e,#8bdcff);
  border-radius:999px;
}

body.mtg-template-tm2 .tm2-cat-card{
  border-radius:30px;
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 20px 48px rgba(38,50,77,.10);
  overflow:hidden;
}

body.mtg-template-tm2 .tm2-cat-card:after{
  background:linear-gradient(180deg, transparent 22%, rgba(38,50,77,.62));
}

body.mtg-template-tm2 .tm2-cat-card span{
  background:rgba(255,255,255,.88);
  color:#26324d;
  border-radius:999px;
  padding:10px 16px;
  left:18px;
  right:auto;
  bottom:18px;
}

body.mtg-template-tm2 .tm2-product-card{
  border-radius:30px;
  border:1px solid rgba(242,216,223,.85);
  box-shadow:0 18px 42px rgba(38,50,77,.08);
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease;
}

body.mtg-template-tm2 .tm2-product-card:hover{
  transform:translateY(-5px);
  box-shadow:0 26px 58px rgba(255,111,159,.16);
}

body.mtg-template-tm2 .tm2-product-card__media{
  background:linear-gradient(135deg,#fff0f6,#f0fbff);
}

body.mtg-template-tm2 .tm2-product-card__cat{
  color:#ff6f9f;
}

body.mtg-template-tm2 .tm2-product-card__title{
  color:#26324d;
}

body.mtg-template-tm2 .tm2-product-card__btn{
  border-radius:999px;
  background:#fff3f7;
  color:#ff5f95;
}

body.mtg-template-tm2 .tm2-band{
  background:linear-gradient(135deg,#ff8fb7,#ffbf7a);
  border-radius:34px;
  box-shadow:0 24px 60px rgba(255,111,159,.22);
}

body.mtg-template-tm2 .tm2-band__item{
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28);
  border-radius:26px;
}

body.mtg-template-tm2 .tm2-newsletter{
  border-radius:36px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.35), transparent 26%),
    linear-gradient(135deg,#8bdcff,#b7a8ff 48%,#ff8fb7);
  box-shadow:0 26px 70px rgba(139,220,255,.25);
}

body.mtg-template-tm2 .tm2-newsletter__form{
  background:rgba(255,255,255,.30);
  border:1px solid rgba(255,255,255,.42);
  border-radius:999px;
  padding:8px;
}

body.mtg-template-tm2 .tm2-newsletter__form input,
body.mtg-template-tm2 .tm2-newsletter__form button{
  border-radius:999px;
}

body.mtg-template-tm2 .tm2-footer-cta__grid{
  border-radius:36px;
  background:#ffffff;
  border:1px solid rgba(242,216,223,.9);
  box-shadow:0 24px 60px rgba(38,50,77,.08);
}

body.mtg-template-tm2 .tm2-point{
  border-radius:22px;
  background:#fff8fb;
  border:1px solid rgba(255,143,183,.18);
}

@media (max-width: 780px){
  body.mtg-template-tm2 .tm2-hero{
    padding:22px 0 24px;
  }

  body.mtg-template-tm2 .tm2-hero__grid{
    padding:26px 20px;
    border-radius:28px;
  }

  body.mtg-template-tm2 .tm2-hero__title{
    font-size:42px;
  }

  body.mtg-template-tm2 .tm2-hero__text{
    font-size:16px;
  }

  body.mtg-template-tm2 .tm2-hero__actions{
    flex-direction:column;
    align-items:stretch;
  }

  body.mtg-template-tm2 .tm2-btn{
    justify-content:center;
    width:100%;
  }

  body.mtg-template-tm2 .tm2-newsletter__form{
    border-radius:24px;
  }
}

/* =========================================================
   MTG TM2 KIDS LAB - primera capa visual infantil/pastel
   ========================================================= */

body.mtg-template-tm2{
  --tm2-bg:#fff8f3;
  --tm2-text:#26324d;
  --tm2-soft:#758096;
  --tm2-line:#f4d9e2;
  --tm2-card:#ffffff;
  --tm2-black:#26324d;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 208, 220, .55), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(193, 232, 255, .58), transparent 26%),
    linear-gradient(180deg, #fff8f3 0%, #fffdf9 45%, #fff8fb 100%) !important;
}

body.mtg-template-tm2 .tm2-shell{
  width:min(1180px, 92%);
}

body.mtg-template-tm2 .tm2-hero{
  padding:42px 0 34px;
}

body.mtg-template-tm2 .tm2-hero__grid{
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.75), transparent 26%),
    linear-gradient(135deg, #ffe7ef 0%, #fff4d8 48%, #dff4ff 100%);
  border:1px solid rgba(255,255,255,.85);
  border-radius:38px;
  padding:46px;
  box-shadow:0 28px 80px rgba(217, 126, 158, .20);
  position:relative;
  overflow:hidden;
}

body.mtg-template-tm2 .tm2-hero__grid:before{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:-55px;
  top:-55px;
  background:rgba(255,255,255,.55);
  border-radius:999px;
}

body.mtg-template-tm2 .tm2-hero__copy,
body.mtg-template-tm2 .tm2-hero__visual{
  position:relative;
  z-index:2;
}

body.mtg-template-tm2 .tm2-hero__badge{
  background:#ffffff;
  color:#ff6f9f;
  border:1px solid rgba(255,111,159,.22);
  box-shadow:0 12px 28px rgba(255,111,159,.16);
  border-radius:999px;
  letter-spacing:.08em;
}

body.mtg-template-tm2 .tm2-hero__title{
  color:#26324d;
  font-size:clamp(38px, 5.4vw, 72px);
  line-height:.96;
  letter-spacing:-.055em;
}

body.mtg-template-tm2 .tm2-hero__text{
  color:#667085;
  font-size:18px;
  max-width:580px;
}

body.mtg-template-tm2 .tm2-btn{
  border-radius:999px;
  box-shadow:0 16px 34px rgba(255,111,159,.20);
}

body.mtg-template-tm2 .tm2-btn--dark{
  background:linear-gradient(135deg,#ff6f9f,#ff9f6e);
  color:#fff;
}

body.mtg-template-tm2 .tm2-btn--light{
  background:#ffffff;
  color:#26324d;
  border:1px solid rgba(38,50,77,.08);
}

body.mtg-template-tm2 .tm2-hero__meta-item{
  background:rgba(255,255,255,.66);
  border:1px solid rgba(255,255,255,.92);
  border-radius:22px;
  padding:14px 16px;
}

body.mtg-template-tm2 .tm2-hero__meta-item strong{
  color:#ff6f9f;
}

body.mtg-template-tm2 .tm2-hero__visual img{
  border-radius:34px;
  box-shadow:0 22px 54px rgba(38,50,77,.16);
}

body.mtg-template-tm2 .tm2-head--center h2,
body.mtg-template-tm2 .tm2-head--split h2,
body.mtg-template-tm2 .tm2-footer-cta__copy h2{
  color:#26324d;
  letter-spacing:-.035em;
}

body.mtg-template-tm2 .tm2-head__mini-line,
body.mtg-template-tm2 .tm2-head__line{
  background:linear-gradient(90deg,#ff8fb7,#ffd36e,#8bdcff);
  border-radius:999px;
}

body.mtg-template-tm2 .tm2-cat-card{
  border-radius:30px;
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 20px 48px rgba(38,50,77,.10);
  overflow:hidden;
}

body.mtg-template-tm2 .tm2-cat-card span{
  background:rgba(255,255,255,.9);
  color:#26324d;
  border-radius:999px;
  padding:10px 16px;
  left:18px;
  right:auto;
  bottom:18px;
}

body.mtg-template-tm2 .tm2-product-card{
  border-radius:30px;
  border:1px solid rgba(242,216,223,.85);
  box-shadow:0 18px 42px rgba(38,50,77,.08);
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease;
}

body.mtg-template-tm2 .tm2-product-card:hover{
  transform:translateY(-5px);
  box-shadow:0 26px 58px rgba(255,111,159,.16);
}

body.mtg-template-tm2 .tm2-product-card__media{
  background:linear-gradient(135deg,#fff0f6,#f0fbff);
}

body.mtg-template-tm2 .tm2-product-card__cat{
  color:#ff6f9f;
}

body.mtg-template-tm2 .tm2-product-card__btn{
  border-radius:999px;
  background:#fff3f7;
  color:#ff5f95;
}

body.mtg-template-tm2 .tm2-band{
  background:linear-gradient(135deg,#ff8fb7,#ffbf7a);
  border-radius:34px;
  box-shadow:0 24px 60px rgba(255,111,159,.22);
}

body.mtg-template-tm2 .tm2-band__item{
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28);
  border-radius:26px;
}

body.mtg-template-tm2 .tm2-newsletter{
  border-radius:36px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.35), transparent 26%),
    linear-gradient(135deg,#8bdcff,#b7a8ff 48%,#ff8fb7);
  box-shadow:0 26px 70px rgba(139,220,255,.25);
}

body.mtg-template-tm2 .tm2-newsletter__form{
  background:rgba(255,255,255,.30);
  border:1px solid rgba(255,255,255,.42);
  border-radius:999px;
  padding:8px;
}

body.mtg-template-tm2 .tm2-newsletter__form input,
body.mtg-template-tm2 .tm2-newsletter__form button{
  border-radius:999px;
}

body.mtg-template-tm2 .tm2-footer-cta__grid{
  border-radius:36px;
  background:#ffffff;
  border:1px solid rgba(242,216,223,.9);
  box-shadow:0 24px 60px rgba(38,50,77,.08);
}

body.mtg-template-tm2 .tm2-point{
  border-radius:22px;
  background:#fff8fb;
  border:1px solid rgba(255,143,183,.18);
}

@media (max-width: 780px){
  body.mtg-template-tm2 .tm2-hero{
    padding:22px 0 24px;
  }

  body.mtg-template-tm2 .tm2-hero__grid{
    padding:26px 20px;
    border-radius:28px;
  }

  body.mtg-template-tm2 .tm2-hero__title{
    font-size:42px;
  }

  body.mtg-template-tm2 .tm2-hero__text{
    font-size:16px;
  }

  body.mtg-template-tm2 .tm2-hero__actions{
    flex-direction:column;
    align-items:stretch;
  }

  body.mtg-template-tm2 .tm2-btn{
    justify-content:center;
    width:100%;
  }
}


/* =========================================================
   MTG TM2 KIDS - Tipografía infantil fina
   ========================================================= */

body.mtg-template-tm2,
body.mtg-template-tm2 p,
body.mtg-template-tm2 a,
body.mtg-template-tm2 span,
body.mtg-template-tm2 button,
body.mtg-template-tm2 input,
body.mtg-template-tm2 textarea,
body.mtg-template-tm2 select,
body.mtg-template-tm2 li,
body.mtg-template-tm2 .tm2-product-card__cat,
body.mtg-template-tm2 .tm2-product-card__price,
body.mtg-template-tm2 .tm2-hero__text{
  font-family:'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

body.mtg-template-tm2 h1,
body.mtg-template-tm2 h2,
body.mtg-template-tm2 h3,
body.mtg-template-tm2 h4,
body.mtg-template-tm2 .tm2-hero__title,
body.mtg-template-tm2 .tm2-head--center h2,
body.mtg-template-tm2 .tm2-head--split h2,
body.mtg-template-tm2 .tm2-product-card__title,
body.mtg-template-tm2 .tm2-footer-cta__copy h2{
  font-family:'Fredoka', 'Nunito', system-ui, sans-serif !important;
  font-weight:700;
}

body.mtg-template-tm2 .tm2-hero__title{
  letter-spacing:-.035em;
  line-height:.98;
}

body.mtg-template-tm2 .tm2-head--center h2,
body.mtg-template-tm2 .tm2-head--split h2{
  font-weight:700;
  letter-spacing:-.025em;
}

body.mtg-template-tm2 .tm2-hero__badge,
body.mtg-template-tm2 .tm2-btn,
body.mtg-template-tm2 .tm2-product-card__btn,
body.mtg-template-tm2 .tm2-cat-card span{
  font-family:'Nunito', system-ui, sans-serif !important;
  font-weight:800;
}

body.mtg-template-tm2 .tm2-hero__text,
body.mtg-template-tm2 .tm2-head--center p,
body.mtg-template-tm2 .tm2-head--split p,
body.mtg-template-tm2 .tm2-footer-cta__copy p{
  font-weight:500;
  line-height:1.65;
}

/* =========================================================
   MTG TM2 FRONT - Hero/index al 90%
   Evita que el hero se vea compacto al centro.
   ========================================================= */

body.mtg-template-tm2 .tm2-home,
body.mtg-template-tm2 .tm2-hero,
body.mtg-template-tm2 .tm2-sec {
  width: 100%;
}

body.mtg-template-tm2 .tm2-shell {
  width: min(90vw, 1440px) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

body.mtg-template-tm2 .tm2-hero {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.mtg-template-tm2 .tm2-hero__grid {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) !important;
  gap: clamp(24px, 3vw, 54px) !important;
}

body.mtg-template-tm2 .tm2-hero__copy {
  min-width: 0;
}

body.mtg-template-tm2 .tm2-hero__visual {
  min-width: 0;
}

body.mtg-template-tm2 .tm2-hero__visual img {
  width: 100% !important;
  height: 100% !important;
  min-height: 520px;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
}

@media (min-width: 1500px) {
  body.mtg-template-tm2 .tm2-shell {
    width: min(90vw, 1540px) !important;
  }

  body.mtg-template-tm2 .tm2-hero__visual img {
    min-height: 580px;
  }
}

@media (max-width: 980px) {
  body.mtg-template-tm2 .tm2-shell {
    width: min(92vw, 100%) !important;
  }

  body.mtg-template-tm2 .tm2-hero__grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body.mtg-template-tm2 .tm2-hero__visual img {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  body.mtg-template-tm2 .tm2-shell {
    width: min(94vw, 100%) !important;
  }

  body.mtg-template-tm2 .tm2-hero__visual img {
    min-height: 300px;
  }
}


/* =========================================================
   MTG TM2 FRONT - Hero interno más amplio
   La hoja ya está al 90%, ahora abrimos texto + imagen dentro.
   ========================================================= */

body.mtg-template-tm2 .tm2-hero .tm2-shell{
  width:min(90vw, 1540px) !important;
  max-width:none !important;
}

body.mtg-template-tm2 .tm2-hero__grid{
  width:100% !important;
  max-width:none !important;
  padding:clamp(42px, 4.2vw, 72px) !important;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1.15fr) !important;
  align-items:center !important;
}

body.mtg-template-tm2 .tm2-hero__copy{
  width:100% !important;
  max-width:none !important;
}

body.mtg-template-tm2 .tm2-hero__title{
  max-width:760px !important;
  font-size:clamp(54px, 5.8vw, 92px) !important;
  line-height:.92 !important;
  letter-spacing:-.055em !important;
}

body.mtg-template-tm2 .tm2-hero__text{
  max-width:680px !important;
  font-size:clamp(18px, 1.15vw, 22px) !important;
  line-height:1.65 !important;
}

body.mtg-template-tm2 .tm2-hero__actions{
  margin-top:32px !important;
}

body.mtg-template-tm2 .tm2-btn{
  min-height:58px !important;
  padding:0 34px !important;
  font-size:15px !important;
}

body.mtg-template-tm2 .tm2-hero__meta{
  margin-top:42px !important;
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:16px !important;
}

body.mtg-template-tm2 .tm2-hero__meta-item{
  min-width:0 !important;
}

body.mtg-template-tm2 .tm2-hero__visual{
  width:100% !important;
  max-width:none !important;
  height:100% !important;
}

body.mtg-template-tm2 .tm2-hero__visual img{
  width:100% !important;
  min-height:640px !important;
  height:100% !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center center !important;
}

@media (min-width: 1600px){
  body.mtg-template-tm2 .tm2-hero .tm2-shell{
    width:min(90vw, 1660px) !important;
  }

  body.mtg-template-tm2 .tm2-hero__visual img{
    min-height:700px !important;
  }

  body.mtg-template-tm2 .tm2-hero__title{
    font-size:clamp(64px, 5.4vw, 104px) !important;
  }
}

@media (max-width: 1180px){
  body.mtg-template-tm2 .tm2-hero__grid{
    grid-template-columns:1fr !important;
    padding:34px 26px !important;
  }

  body.mtg-template-tm2 .tm2-hero__title{
    max-width:100% !important;
    font-size:clamp(44px, 8vw, 72px) !important;
  }

  body.mtg-template-tm2 .tm2-hero__text{
    max-width:100% !important;
  }

  body.mtg-template-tm2 .tm2-hero__visual img{
    min-height:420px !important;
  }
}

@media (max-width: 680px){
  body.mtg-template-tm2 .tm2-hero__grid{
    padding:26px 20px !important;
  }

  body.mtg-template-tm2 .tm2-hero__title{
    font-size:42px !important;
    line-height:.96 !important;
  }

  body.mtg-template-tm2 .tm2-hero__meta{
    grid-template-columns:1fr !important;
  }

  body.mtg-template-tm2 .tm2-hero__visual img{
    min-height:320px !important;
  }
}


/* =========================================================
   MTG TM2 FRONT - Secciones 5-8 controladas por builder
   ========================================================= */

body.mtg-template-tm2 .tm2-trending {
  margin-top: 38px;
}

body.mtg-template-tm2 .tm2-brands {
  margin-top: 42px;
}

body.mtg-template-tm2 .tm2-brands__text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

body.mtg-template-tm2 .tm2-brands__text span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(242,216,223,.9);
  box-shadow: 0 14px 34px rgba(38,50,77,.06);
  color: #26324d;
  font-weight: 900;
}

body.mtg-template-tm2 .tm2-brands__logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

body.mtg-template-tm2 .tm2-brand-logo {
  min-height: 110px;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(242,216,223,.9);
  box-shadow: 0 14px 34px rgba(38,50,77,.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.mtg-template-tm2 .tm2-brand-logo img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

body.mtg-template-tm2 .tm2-newsletter-sec {
  margin-top: 48px;
}

body.mtg-template-tm2 .tm2-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 4vw, 54px);
}

body.mtg-template-tm2 .tm2-newsletter__copy h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.04em;
}

body.mtg-template-tm2 .tm2-newsletter__copy p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 17px;
  line-height: 1.65;
}

body.mtg-template-tm2 .tm2-newsletter__form {
  display: flex;
  gap: 8px;
}

body.mtg-template-tm2 .tm2-newsletter__form input {
  flex: 1;
  min-height: 56px;
  border: 0;
  padding: 0 18px;
  background: rgba(255,255,255,.95);
  color: #26324d;
  outline: none;
}

body.mtg-template-tm2 .tm2-newsletter__form button {
  min-height: 56px;
  border: 0;
  padding: 0 24px;
  background: #26324d;
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

body.mtg-template-tm2 .tm2-footer-cta {
  margin-top: 54px;
  margin-bottom: 54px;
}

body.mtg-template-tm2 .tm2-footer-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
}

body.mtg-template-tm2 .tm2-footer-cta__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: .98;
}

body.mtg-template-tm2 .tm2-footer-cta__copy p {
  color: #667085;
  font-size: 17px;
  line-height: 1.65;
}

body.mtg-template-tm2 .tm2-footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

body.mtg-template-tm2 .tm2-footer-cta__points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

body.mtg-template-tm2 .tm2-point {
  padding: 16px 18px;
  color: #26324d;
  font-weight: 800;
}

@media (max-width: 980px) {
  body.mtg-template-tm2 .tm2-brands__logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.mtg-template-tm2 .tm2-newsletter,
  body.mtg-template-tm2 .tm2-footer-cta__grid {
    grid-template-columns: 1fr;
  }

  body.mtg-template-tm2 .tm2-newsletter__form {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body.mtg-template-tm2 .tm2-brands__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* =========================================================
   MTG TM2 FRONT - Categorías visuales solo 4 cards
   ========================================================= */

body.mtg-template-tm2 .tm2-cats__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 28px) !important;
}

body.mtg-template-tm2 .tm2-cats__grid .tm2-cat-card:nth-child(n+5) {
  display: none !important;
}

@media (max-width: 980px) {
  body.mtg-template-tm2 .tm2-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  body.mtg-template-tm2 .tm2-cats__grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   TM2 Shop - cards más grandes / imagen sin corte
   ========================================================= */

body.mtg-template-tm2 .tm2-shop-grid-clean,
body.mtg-template-tm2 .mtg-shop-products,
body.mtg-template-tm2 .mtg-shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)) !important;
  gap: clamp(22px, 2vw, 34px) !important;
}

body.mtg-template-tm2 .tm2-product-card-clean,
body.mtg-template-tm2 .mtg-product-card,
body.mtg-template-tm2 .mtg-shop-card {
  min-height: 520px !important;
}

body.mtg-template-tm2 .tm2-product-card-clean img,
body.mtg-template-tm2 .mtg-product-card img,
body.mtg-template-tm2 .mtg-shop-card img {
  object-fit: contain !important;
  object-position: center center !important;
}

body.mtg-template-tm2 .tm2-product-card-clean__media,
body.mtg-template-tm2 .tm2-product-media,
body.mtg-template-tm2 .mtg-product-card__media,
body.mtg-template-tm2 .mtg-shop-card__media {
  height: 360px !important;
  min-height: 360px !important;
  background: #f8fafc !important;
}

@media (max-width: 560px) {
  body.mtg-template-tm2 .tm2-shop-grid-clean,
  body.mtg-template-tm2 .mtg-shop-products,
  body.mtg-template-tm2 .mtg-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.mtg-template-tm2 .tm2-product-card-clean__media,
  body.mtg-template-tm2 .tm2-product-media,
  body.mtg-template-tm2 .mtg-product-card__media,
  body.mtg-template-tm2 .mtg-shop-card__media {
    height: 210px !important;
    min-height: 210px !important;
  }
}


/* =========================================================
   MTG TM2 - Shop real: cards más grandes + imagen sin corte
   ========================================================= */

/* Hero del shop más compacto: el título Shop estaba robando mucho espacio */
body.mtg-template-tm2 .tm2-shop-hero,
body.mtg-template-tm2 .tm2-shop-heading,
body.mtg-template-tm2 .tm2-shop-header,
body.mtg-template-tm2 .tm2-archive-hero {
  padding-top: 34px !important;
  padding-bottom: 34px !important;
  margin-bottom: 34px !important;
}

body.mtg-template-tm2 .tm2-shop-hero h1,
body.mtg-template-tm2 .tm2-shop-heading h1,
body.mtg-template-tm2 .tm2-shop-header h1,
body.mtg-template-tm2 .tm2-archive-hero h1,
body.mtg-template-tm2 .tm2-shop-title {
  font-size: clamp(42px, 4vw, 72px) !important;
  line-height: .95 !important;
  margin-bottom: 12px !important;
}

body.mtg-template-tm2 .tm2-shop-hero p,
body.mtg-template-tm2 .tm2-shop-heading p,
body.mtg-template-tm2 .tm2-shop-header p,
body.mtg-template-tm2 .tm2-archive-hero p {
  font-size: 18px !important;
  line-height: 1.45 !important;
  max-width: 760px !important;
}

/* Contenedor shop más ancho */
body.mtg-template-tm2 .tm2-shop-page-clean,
body.mtg-template-tm2 .tm2-shop-wrap-clean,
body.mtg-template-tm2 .tm2-shop-shell-clean,
body.mtg-template-tm2 .tm2-shop-layout-clean {
  width: min(94vw, 1580px) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Grid real de productos: 4 columnas en PC para que las cards respiren */
body.mtg-template-tm2 .tm2-shop-grid-clean,
body.mtg-template-tm2 .tm2-products-grid-clean,
body.mtg-template-tm2 .tm2-shop-products-clean,
body.mtg-template-tm2 .tm2-shop-main-clean .products,
body.mtg-template-tm2 .tm2-shop-main-clean {
  gap: 34px !important;
}

body.mtg-template-tm2 .tm2-shop-grid-clean,
body.mtg-template-tm2 .tm2-products-grid-clean,
body.mtg-template-tm2 .tm2-shop-products-clean {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(250px, 1fr)) !important;
  align-items: stretch !important;
}

/* Si el grid viene con una clase genérica dentro del template */
body.mtg-template-tm2 .tm2-shop-layout-clean .tm2-product-grid,
body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-products-grid,
body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-shop-grid {
  grid-template-columns: repeat(4, minmax(250px, 1fr)) !important;
  gap: 34px !important;
}

/* Card real */
body.mtg-template-tm2 .tm2-product-card-clean,
body.mtg-template-tm2 .tm2-shop-card-clean,
body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-product-card,
body.mtg-template-tm2 .tm2-shop-layout-clean article.mtg_product,
body.mtg-template-tm2 .tm2-shop-layout-clean article.mtg-product {
  min-height: 510px !important;
  border-radius: 28px !important;
  overflow: hidden !important;
}

/* Área de imagen real */
body.mtg-template-tm2 .tm2-product-card-clean__media,
body.mtg-template-tm2 .tm2-product-card-clean .tm2-product-media,
body.mtg-template-tm2 .tm2-shop-card-clean__media,
body.mtg-template-tm2 .tm2-shop-card-clean .tm2-product-media,
body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-product-card__media,
body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-product-image,
body.mtg-template-tm2 .tm2-shop-layout-clean .product-image {
  height: 330px !important;
  min-height: 330px !important;
  max-height: none !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

/* Imagen sin corte */
body.mtg-template-tm2 .tm2-product-card-clean__media img,
body.mtg-template-tm2 .tm2-product-card-clean .tm2-product-media img,
body.mtg-template-tm2 .tm2-shop-card-clean__media img,
body.mtg-template-tm2 .tm2-shop-card-clean .tm2-product-media img,
body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-product-card__media img,
body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-product-image img,
body.mtg-template-tm2 .tm2-shop-layout-clean .product-image img,
body.mtg-template-tm2 .tm2-shop-layout-clean article img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  max-height: none !important;
}

/* Título del producto más chico */
body.mtg-template-tm2 .tm2-product-card-clean h2,
body.mtg-template-tm2 .tm2-product-card-clean h3,
body.mtg-template-tm2 .tm2-shop-card-clean h2,
body.mtg-template-tm2 .tm2-shop-card-clean h3,
body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-product-card h2,
body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-product-card h3,
body.mtg-template-tm2 .tm2-shop-layout-clean article h2,
body.mtg-template-tm2 .tm2-shop-layout-clean article h3 {
  font-size: 18px !important;
  line-height: 1.15 !important;
  margin: 0 0 8px !important;
  letter-spacing: -.02em !important;
}

/* Precios y botón compactos para que la card no se infle por texto */
body.mtg-template-tm2 .tm2-shop-layout-clean .price,
body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-product-price,
body.mtg-template-tm2 .tm2-product-card-clean .price,
body.mtg-template-tm2 .tm2-shop-card-clean .price {
  font-size: 20px !important;
  line-height: 1.1 !important;
}

body.mtg-template-tm2 .tm2-shop-layout-clean .button,
body.mtg-template-tm2 .tm2-shop-layout-clean .tm2-btn,
body.mtg-template-tm2 .tm2-product-card-clean a[class*="button"],
body.mtg-template-tm2 .tm2-shop-card-clean a[class*="button"] {
  min-height: 48px !important;
  font-size: 14px !important;
}

/* Responsive */
@media (max-width: 1720px) {
  body.mtg-template-tm2 .tm2-shop-grid-clean,
  body.mtg-template-tm2 .tm2-products-grid-clean,
  body.mtg-template-tm2 .tm2-shop-products-clean,
  body.mtg-template-tm2 .tm2-shop-layout-clean .tm2-product-grid,
  body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-products-grid,
  body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-shop-grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  body.mtg-template-tm2 .tm2-shop-grid-clean,
  body.mtg-template-tm2 .tm2-products-grid-clean,
  body.mtg-template-tm2 .tm2-shop-products-clean,
  body.mtg-template-tm2 .tm2-shop-layout-clean .tm2-product-grid,
  body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-products-grid,
  body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  body.mtg-template-tm2 .tm2-product-card-clean__media,
  body.mtg-template-tm2 .tm2-product-card-clean .tm2-product-media,
  body.mtg-template-tm2 .tm2-shop-card-clean__media,
  body.mtg-template-tm2 .tm2-shop-card-clean .tm2-product-media,
  body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-product-card__media,
  body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-product-image,
  body.mtg-template-tm2 .tm2-shop-layout-clean .product-image {
    height: 250px !important;
    min-height: 250px !important;
  }

  body.mtg-template-tm2 .tm2-shop-hero h1,
  body.mtg-template-tm2 .tm2-shop-heading h1,
  body.mtg-template-tm2 .tm2-shop-header h1,
  body.mtg-template-tm2 .tm2-archive-hero h1,
  body.mtg-template-tm2 .tm2-shop-title {
    font-size: 44px !important;
  }
}

@media (max-width: 560px) {
  body.mtg-template-tm2 .tm2-shop-grid-clean,
  body.mtg-template-tm2 .tm2-products-grid-clean,
  body.mtg-template-tm2 .tm2-shop-products-clean,
  body.mtg-template-tm2 .tm2-shop-layout-clean .tm2-product-grid,
  body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-products-grid,
  body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body.mtg-template-tm2 .tm2-product-card-clean,
  body.mtg-template-tm2 .tm2-shop-card-clean,
  body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-product-card,
  body.mtg-template-tm2 .tm2-shop-layout-clean article.mtg_product,
  body.mtg-template-tm2 .tm2-shop-layout-clean article.mtg-product {
    min-height: 340px !important;
    border-radius: 20px !important;
  }

  body.mtg-template-tm2 .tm2-product-card-clean__media,
  body.mtg-template-tm2 .tm2-product-card-clean .tm2-product-media,
  body.mtg-template-tm2 .tm2-shop-card-clean__media,
  body.mtg-template-tm2 .tm2-shop-card-clean .tm2-product-media,
  body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-product-card__media,
  body.mtg-template-tm2 .tm2-shop-layout-clean .mtg-product-image,
  body.mtg-template-tm2 .tm2-shop-layout-clean .product-image {
    height: 190px !important;
    min-height: 190px !important;
  }

  body.mtg-template-tm2 .tm2-product-card-clean h2,
  body.mtg-template-tm2 .tm2-product-card-clean h3,
  body.mtg-template-tm2 .tm2-shop-card-clean h2,
  body.mtg-template-tm2 .tm2-shop-card-clean h3,
  body.mtg-template-tm2 .tm2-shop-layout-clean article h2,
  body.mtg-template-tm2 .tm2-shop-layout-clean article h3 {
    font-size: 14px !important;
  }
}



/* MTG FIX: ancho real 90% para TM2 - aplicado desde criterio TM4 */
.tm2-shell,
.tm2-container,
.tm2-wrap,
.tm2-section-inner,
.tm2-home .container,
.tm2-home .wrap,
.tm2-home .inner{
  width:90% !important;
  max-width:1720px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.tm2-hero-grid,
.tm2-hero__grid,
.tm2-hero-inner,
.tm2-hero .tm2-shell{
  width:90% !important;
  max-width:1720px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.tm2-hero-grid,
.tm2-hero__grid{
  gap:64px !important;
}

.tm2-hero-copy,
.tm2-hero__copy{
  max-width:720px !important;
}

.tm2-hero-visual,
.tm2-hero__visual{
  width:100% !important;
}

.tm2-hero-img,
.tm2-hero__image,
.tm2-hero__visual img{
  width:100% !important;
  max-width:760px !important;
  height:auto !important;
  object-fit:cover;
}

@media(max-width:1180px){
  .tm2-shell,
  .tm2-container,
  .tm2-wrap,
  .tm2-section-inner,
  .tm2-home .container,
  .tm2-home .wrap,
  .tm2-home .inner,
  .tm2-hero-grid,
  .tm2-hero__grid,
  .tm2-hero-inner,
  .tm2-hero .tm2-shell{
    width:90% !important;
    max-width:100% !important;
  }

  .tm2-hero-grid,
  .tm2-hero__grid{
    grid-template-columns:1fr !important;
    gap:36px !important;
  }

  .tm2-hero-copy,
  .tm2-hero__copy{
    max-width:100% !important;
  }

  .tm2-hero-img,
  .tm2-hero__image,
  .tm2-hero__visual img{
    max-width:100% !important;
  }
}


/* MTG FIX EXACTO TM2: ancho real 90%, hero y secciones menos colapsadas */
body.mtg-template-tm2 .tm2-shell{
  width:90vw !important;
  max-width:1720px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.mtg-template-tm2 .tm2-hero .tm2-shell{
  width:90vw !important;
  max-width:1720px !important;
}

body.mtg-template-tm2 .tm2-hero__grid{
  width:100% !important;
  max-width:none !important;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr) !important;
  gap:72px !important;
}

body.mtg-template-tm2 .tm2-hero__title{
  max-width:720px !important;
}

body.mtg-template-tm2 .tm2-hero__text{
  max-width:620px !important;
}

body.mtg-template-tm2 .tm2-hero__meta{
  max-width:720px !important;
}

body.mtg-template-tm2 .tm2-hero__visual img{
  width:100% !important;
  max-width:780px !important;
  height:auto !important;
  object-fit:cover !important;
}

body.mtg-template-tm2 .tm2-products-grid,
body.mtg-template-tm2 .tm2-cats__grid,
body.mtg-template-tm2 .tm2-band__grid,
body.mtg-template-tm2 .tm2-journal__grid{
  width:100% !important;
}

@media(max-width:1100px){
  body.mtg-template-tm2 .tm2-shell,
  body.mtg-template-tm2 .tm2-hero .tm2-shell{
    width:90vw !important;
    max-width:100% !important;
  }

  body.mtg-template-tm2 .tm2-hero__grid{
    grid-template-columns:1fr !important;
    gap:36px !important;
  }

  body.mtg-template-tm2 .tm2-hero__title,
  body.mtg-template-tm2 .tm2-hero__text,
  body.mtg-template-tm2 .tm2-hero__meta{
    max-width:100% !important;
  }

  body.mtg-template-tm2 .tm2-hero__visual img{
    max-width:100% !important;
  }
}


/* MTG TM2 RESPONSIVE HERO CATS V1 - START */

/*
 * TM2 mobile:
 * Hero/giro compacto tipo TM1, pero manteniendo la estética kids/pastel.
 * Categorías 50/50 para evitar cards gigantes.
 */
@media (max-width: 780px){

    body.mtg-template-tm2 .tm2-hero{
        padding:18px 0 20px !important;
        margin:0 !important;
        overflow:hidden !important;
    }

    body.mtg-template-tm2 .tm2-hero .tm2-shell{
        width:92% !important;
        max-width:430px !important;
        margin:0 auto !important;
        padding:0 !important;
    }

    body.mtg-template-tm2 .tm2-hero__grid{
        display:flex !important;
        flex-direction:column-reverse !important;
        gap:0 !important;
        width:100% !important;
        min-height:0 !important;
        padding:12px !important;
        border-radius:28px !important;
        background:linear-gradient(180deg,#fff7fb 0%,#ffffff 54%,#f7fcff 100%) !important;
        border:1px solid rgba(255,151,190,.22) !important;
        box-shadow:0 18px 42px rgba(30,41,59,.08) !important;
        overflow:hidden !important;
    }

    body.mtg-template-tm2 .tm2-hero__grid:before,
    body.mtg-template-tm2 .tm2-hero__grid:after{
        display:none !important;
        content:none !important;
    }

    body.mtg-template-tm2 .tm2-hero__visual{
        width:100% !important;
        min-height:0 !important;
        height:auto !important;
        padding:0 !important;
        margin:0 0 14px !important;
        border-radius:24px !important;
        overflow:hidden !important;
        display:block !important;
        background:#ffffff !important;
        box-shadow:none !important;
    }

    body.mtg-template-tm2 .tm2-hero__visual img{
        width:100% !important;
        height:330px !important;
        max-height:330px !important;
        min-height:0 !important;
        object-fit:cover !important;
        object-position:center top !important;
        display:block !important;
        border-radius:24px !important;
        box-shadow:none !important;
    }

    body.mtg-template-tm2 .tm2-hero__placeholder{
        width:100% !important;
        height:260px !important;
        border-radius:24px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        font-size:22px !important;
    }

    body.mtg-template-tm2 .tm2-hero__copy{
        width:100% !important;
        max-width:100% !important;
        padding:0 4px 4px !important;
        margin:0 !important;
        text-align:center !important;
        align-items:center !important;
        display:flex !important;
        flex-direction:column !important;
    }

    body.mtg-template-tm2 .tm2-hero__badge{
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        margin:0 auto 10px !important;
        min-height:30px !important;
        padding:7px 15px !important;
        border-radius:999px !important;
        font-size:11px !important;
        line-height:1 !important;
        letter-spacing:.08em !important;
        font-weight:950 !important;
        max-width:92% !important;
        white-space:nowrap !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
    }

    body.mtg-template-tm2 .tm2-hero__title{
        margin:0 auto 10px !important;
        max-width:350px !important;
        font-size:clamp(28px, 8vw, 38px) !important;
        line-height:.98 !important;
        letter-spacing:-.04em !important;
        text-align:center !important;
    }

    body.mtg-template-tm2 .tm2-hero__text{
        margin:0 auto 14px !important;
        max-width:340px !important;
        font-size:14px !important;
        line-height:1.45 !important;
        text-align:center !important;
        color:#64748b !important;
    }

    body.mtg-template-tm2 .tm2-hero__text p{
        margin:0 !important;
    }

    body.mtg-template-tm2 .tm2-hero__actions{
        width:100% !important;
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:9px !important;
        margin:0 auto 12px !important;
        padding:0 !important;
    }

    body.mtg-template-tm2 .tm2-hero__actions .tm2-btn,
    body.mtg-template-tm2 .tm2-hero__actions a{
        width:100% !important;
        min-height:46px !important;
        height:46px !important;
        border-radius:16px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        text-align:center !important;
        font-size:13px !important;
        font-weight:950 !important;
        padding:0 14px !important;
        white-space:nowrap !important;
    }

    body.mtg-template-tm2 .tm2-hero__meta{
        width:100% !important;
        display:grid !important;
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
        gap:7px !important;
        margin:0 !important;
        padding:0 !important;
    }

    body.mtg-template-tm2 .tm2-hero__meta-item{
        min-width:0 !important;
        min-height:58px !important;
        padding:9px 6px !important;
        border-radius:15px !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;
        text-align:center !important;
        background:rgba(255,255,255,.78) !important;
        border:1px solid rgba(148,163,184,.22) !important;
    }

    body.mtg-template-tm2 .tm2-hero__meta-item strong{
        display:block !important;
        font-size:10px !important;
        line-height:1.05 !important;
        font-weight:950 !important;
        margin:0 0 3px !important;
        color:#0f172a !important;
    }

    body.mtg-template-tm2 .tm2-hero__meta-item span{
        display:block !important;
        font-size:9px !important;
        line-height:1.12 !important;
        font-weight:800 !important;
        color:#64748b !important;
    }

    /*
     * Categorías TM2 50/50 en móvil.
     * Cubrimos nombres actuales y variantes usadas en capas anteriores.
     */
    body.mtg-template-tm2 .tm2-cats__grid,
    body.mtg-template-tm2 .tm2-categories__grid,
    body.mtg-template-tm2 .tm2-category-grid,
    body.mtg-template-tm2 .tm2-cat-grid,
    body.mtg-template-tm2 .tm2-cats-grid,
    body.mtg-template-tm2 .tm2-categories-grid{
        display:grid !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:12px !important;
        width:100% !important;
    }

    body.mtg-template-tm2 .tm2-cat-card,
    body.mtg-template-tm2 .tm2-category-card,
    body.mtg-template-tm2 .tm2-cats__card,
    body.mtg-template-tm2 .tm2-categories__card{
        width:100% !important;
        min-width:0 !important;
        min-height:0 !important;
        padding:10px !important;
        border-radius:20px !important;
        text-align:center !important;
        overflow:hidden !important;
    }

    body.mtg-template-tm2 .tm2-cat-card img,
    body.mtg-template-tm2 .tm2-category-card img,
    body.mtg-template-tm2 .tm2-cats__card img,
    body.mtg-template-tm2 .tm2-categories__card img{
        width:100% !important;
        height:118px !important;
        max-height:118px !important;
        object-fit:cover !important;
        object-position:center !important;
        border-radius:16px !important;
        display:block !important;
        margin:0 auto 8px !important;
    }

    body.mtg-template-tm2 .tm2-cat-card h3,
    body.mtg-template-tm2 .tm2-category-card h3,
    body.mtg-template-tm2 .tm2-cats__card h3,
    body.mtg-template-tm2 .tm2-categories__card h3,
    body.mtg-template-tm2 .tm2-cat-card .tm2-card-title,
    body.mtg-template-tm2 .tm2-category-card .tm2-card-title{
        font-size:14px !important;
        line-height:1.05 !important;
        margin:0 0 4px !important;
        font-weight:950 !important;
        text-align:center !important;
    }

    body.mtg-template-tm2 .tm2-cat-card p,
    body.mtg-template-tm2 .tm2-category-card p,
    body.mtg-template-tm2 .tm2-cats__card p,
    body.mtg-template-tm2 .tm2-categories__card p{
        font-size:11px !important;
        line-height:1.25 !important;
        margin:0 !important;
        text-align:center !important;
    }
}

@media (max-width: 390px){
    body.mtg-template-tm2 .tm2-hero .tm2-shell{
        width:94% !important;
    }

    body.mtg-template-tm2 .tm2-hero__grid{
        padding:10px !important;
        border-radius:24px !important;
    }

    body.mtg-template-tm2 .tm2-hero__visual img{
        height:290px !important;
        max-height:290px !important;
        object-position:center top !important;
        border-radius:21px !important;
    }

    body.mtg-template-tm2 .tm2-hero__title{
        font-size:clamp(25px, 7.5vw, 32px) !important;
    }

    body.mtg-template-tm2 .tm2-hero__text{
        font-size:13px !important;
    }

    body.mtg-template-tm2 .tm2-hero__actions .tm2-btn,
    body.mtg-template-tm2 .tm2-hero__actions a{
        min-height:43px !important;
        height:43px !important;
        font-size:12px !important;
    }

    body.mtg-template-tm2 .tm2-hero__meta{
        gap:6px !important;
    }

    body.mtg-template-tm2 .tm2-hero__meta-item{
        min-height:54px !important;
        padding:8px 4px !important;
    }

    body.mtg-template-tm2 .tm2-hero__meta-item strong{
        font-size:9px !important;
    }

    body.mtg-template-tm2 .tm2-hero__meta-item span{
        font-size:8px !important;
    }

    body.mtg-template-tm2 .tm2-cats__grid,
    body.mtg-template-tm2 .tm2-categories__grid,
    body.mtg-template-tm2 .tm2-category-grid,
    body.mtg-template-tm2 .tm2-cat-grid,
    body.mtg-template-tm2 .tm2-cats-grid,
    body.mtg-template-tm2 .tm2-categories-grid{
        gap:10px !important;
    }

    body.mtg-template-tm2 .tm2-cat-card,
    body.mtg-template-tm2 .tm2-category-card,
    body.mtg-template-tm2 .tm2-cats__card,
    body.mtg-template-tm2 .tm2-categories__card{
        padding:9px !important;
        border-radius:18px !important;
    }

    body.mtg-template-tm2 .tm2-cat-card img,
    body.mtg-template-tm2 .tm2-category-card img,
    body.mtg-template-tm2 .tm2-cats__card img,
    body.mtg-template-tm2 .tm2-categories__card img{
        height:104px !important;
        max-height:104px !important;
        border-radius:14px !important;
    }
}

/* MTG TM2 RESPONSIVE HERO CATS V1 - END */

