/* =========================================================
   TM3 - LumiBelle Beauty Skin
   Layout base tipo TM1/TM2, identidad beauty.
   ========================================================= */

.mtg-tm3,
.mtg-tm3 * {
  box-sizing: border-box;
}

.mtg-tm3 {
  --tm3-bg: #fffaf7;
  --tm3-soft: #fff4ef;
  --tm3-card: #ffffff;
  --tm3-blush: #ef8f8b;
  --tm3-blush-2: #dd7b77;
  --tm3-rose: #c87577;
  --tm3-text: #3b2827;
  --tm3-dark: #1f1617;
  --tm3-muted: #7f6864;
  --tm3-line: rgba(200, 117, 119, .18);
  --tm3-shadow: 0 24px 54px rgba(82, 47, 45, .10);

  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  color: var(--tm3-text);
  background:
    radial-gradient(circle at 15% 8%, rgba(239, 143, 139, .12), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(255, 191, 185, .18), transparent 34%),
    linear-gradient(180deg, #fffaf7 0%, #fff 46%, #fffaf7 100%);
  font-family: Montserrat, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mtg-tm3 a {
  text-decoration: none;
}

/* HERO */
.mtg-tm3-hero {
  width: min(90vw, 1380px);
  margin: 58px auto 70px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 4vw, 72px);
  align-items: center;
}

.mtg-tm3-badge {
  display: inline-flex;
  width: fit-content;
  padding: 11px 18px;
  border-radius: 999px;
  background: #fde3df;
  color: var(--tm3-rose);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.mtg-tm3-hero h1 {
  margin: 28px 0 24px;
  color: var(--tm3-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 6vw, 92px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 700;
}

.mtg-tm3-hero__copy > p {
  max-width: 590px;
  margin: 0;
  color: var(--tm3-muted);
  font-size: 20px;
  line-height: 1.72;
}

.mtg-tm3-hero__buttons {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.mtg-tm3-btn {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: 18px;
  font-weight: 900;
}

.mtg-tm3-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #ef8f8b, #d87274);
  box-shadow: 0 18px 38px rgba(221, 123, 119, .25);
}

.mtg-tm3-btn--secondary {
  color: var(--tm3-rose);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(200,117,119,.45);
}

.mtg-tm3-hero__features {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mtg-tm3-feature {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.mtg-tm3-feature strong {
  display: block;
  color: var(--tm3-text);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mtg-tm3-feature span {
  display: block;
  color: var(--tm3-muted);
  font-size: 12px;
  line-height: 1.35;
}

.mtg-tm3-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  border-radius: 11px;
  color: var(--tm3-blush-2);
  background: rgba(255,255,255,.72);
}

.mtg-tm3-icon svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mtg-tm3-icon svg path,
.mtg-tm3-icon svg rect,
.mtg-tm3-icon svg circle {
  vector-effect: non-scaling-stroke;
}

.mtg-tm3-hero__media {
  min-height: 650px;
  border-radius: 22px;
  overflow: hidden;
  background: #f7d4ce;
  box-shadow: 0 30px 70px rgba(82,47,45,.13);
  border: 1px solid var(--tm3-line);
}

.mtg-tm3-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  display: block;
  object-fit: cover;
}

.mtg-tm3-hero-art {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 18%, rgba(255,255,255,.60), transparent 24%),
    linear-gradient(135deg, #f4c7bf, #fff2ee 54%, #e5aaa3);
}

.mtg-tm3-hero-art__portrait {
  position: absolute;
  right: 90px;
  top: 70px;
  width: 390px;
  height: 390px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 52% 30%, #f7d0c7 0 15%, transparent 16%),
    radial-gradient(circle at 50% 50%, #da8a84, #f8ddd7 63%, transparent 64%);
}

.mtg-tm3-hero-art__mirror {
  position: absolute;
  right: -94px;
  top: 190px;
  width: 300px;
  height: 300px;
  border: 16px solid rgba(190,141,105,.62);
  border-radius: 999px;
}

.mtg-tm3-hero-art__products {
  position: absolute;
  left: 70px;
  bottom: 86px;
  display: flex;
  align-items: end;
  gap: 18px;
}

.mtg-tm3-hero-art__products span {
  display: block;
  width: 54px;
  height: 150px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #fff, #e58f88);
  border: 1px solid rgba(120,70,66,.16);
  box-shadow: 0 18px 34px rgba(82,47,45,.13);
}

.mtg-tm3-hero-art__products span:nth-child(2) {
  width: 68px;
  height: 215px;
}

.mtg-tm3-hero-art__products span:nth-child(3) {
  width: 82px;
  height: 105px;
  border-radius: 20px;
}

.mtg-tm3-hero-art__products span:nth-child(4) {
  height: 178px;
}

/* SECTIONS */
.mtg-tm3-section {
  width: min(90vw, 1380px);
  margin: 0 auto 72px;
}

.mtg-tm3-section__head {
  margin-bottom: 30px;
}

.mtg-tm3-section__head--left {
  text-align: left;
}

.mtg-tm3-section__head--center {
  text-align: center;
}

.mtg-tm3-section__head h2 {
  margin: 0 0 10px;
  color: var(--tm3-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -.035em;
}

.mtg-tm3-section__head p {
  margin: 0;
  color: var(--tm3-muted);
  font-size: 16px;
}

/* CATEGORIES */
.mtg-tm3-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.mtg-tm3-category-card {
  position: relative;
  min-height: 340px;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #fde8e3;
  box-shadow: var(--tm3-shadow);
}

.mtg-tm3-category-card img,
.mtg-tm3-category-art {
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: block;
  object-fit: cover;
}

.mtg-tm3-category-art {
  background:
    radial-gradient(circle at 40% 26%, rgba(255,255,255,.78), transparent 22%),
    radial-gradient(circle at 74% 72%, rgba(221,123,119,.25), transparent 26%),
    linear-gradient(135deg, #f4c7bf, #fff3ef);
}

.mtg-tm3-category-card--2 .mtg-tm3-category-art {
  background: linear-gradient(135deg, #eeb9b0, #fff2ee);
}

.mtg-tm3-category-card--3 .mtg-tm3-category-art {
  background: linear-gradient(135deg, #f1ada9, #ffdcd7);
}

.mtg-tm3-category-card--4 .mtg-tm3-category-art {
  background: linear-gradient(135deg, #f8ddd7, #fffaf7);
}

.mtg-tm3-category-card strong {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 62px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(200,117,119,.92), rgba(216,115,116,.92));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
}

/* PRODUCTS */
.mtg-tm3-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.mtg-tm3-product-card {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--tm3-line);
  box-shadow: 0 18px 42px rgba(82,47,45,.08);
}

.mtg-tm3-product-card__image {
  height: 265px;
  display: grid;
  place-items: center;
  background: #fff7f4;
  overflow: hidden;
}

.mtg-tm3-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mtg-tm3-product-art {
  display: block;
  width: 72%;
  height: 72%;
  border-radius: 24px;
  background:
    radial-gradient(circle at 70% 18%, rgba(255,255,255,.95), transparent 22%),
    linear-gradient(135deg, #ec9c95, #f8dfd8);
}

.mtg-tm3-product-art--lipstick {
  width: 46%;
  height: 80%;
  border-radius: 999px 999px 18px 18px;
}

.mtg-tm3-product-art--palette {
  width: 78%;
  height: 55%;
  border-radius: 14px;
}

.mtg-tm3-product-art--brushes {
  width: 78%;
  height: 78%;
  border-radius: 18px;
}

.mtg-tm3-product-card__body {
  padding: 18px;
}

.mtg-tm3-product-card h3 {
  margin: 0 0 10px;
  color: var(--tm3-text);
  font-size: 16px;
  line-height: 1.25;
}

.mtg-tm3-product-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mtg-tm3-product-card__bottom strong {
  color: var(--tm3-dark);
  font-size: 20px;
  font-weight: 900;
}

.mtg-tm3-product-card__bottom a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ef8f8b, #d87274);
}

/* BENEFITS */
.mtg-tm3-benefits {
  width: min(90vw, 1380px);
  margin: 10px auto 74px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  border-radius: 22px;
  background: rgba(255,244,239,.92);
  border: 1px solid var(--tm3-line);
  box-shadow: 0 18px 42px rgba(82,47,45,.08);
}

.mtg-tm3-benefit {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.mtg-tm3-benefit strong {
  color: var(--tm3-text);
  font-size: 15px;
}

.mtg-tm3-benefit p {
  margin: 5px 0 0;
  color: var(--tm3-muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .mtg-tm3-hero {
    grid-template-columns: 1fr;
  }

  .mtg-tm3-nav,
  .mtg-tm3-category-grid,
  .mtg-tm3-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mtg-tm3-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mtg-tm3-hero,
  .mtg-tm3-section,
  .mtg-tm3-benefits {
    width: min(92vw, 100%);
  }

  .mtg-tm3-hero h1 {
    font-size: 48px;
  }

  .mtg-tm3-hero__features,
  .mtg-tm3-category-grid,
  .mtg-tm3-product-grid,
  .mtg-tm3-benefits {
    grid-template-columns: 1fr;
  }

  .mtg-tm3-hero__media,
  .mtg-tm3-hero-art {
    min-height: 430px;
  }
}

/* TM3 product grid: permite 9 productos reales sin romper layout */
.mtg-tm3-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .mtg-tm3-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

/* =========================================================
   TM3 secciones 5-8: Recién llegados, Marcas, Newsletter, Footer CTA
   ========================================================= */

.mtg-tm3-arrivals {
  margin-top: -18px;
}

.mtg-tm3-product-grid--arrivals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mtg-tm3-brands {
  margin-top: 8px;
}

.mtg-tm3-brands-grid {
  display: grid;
  gap: 22px;
}

.mtg-tm3-brands-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mtg-tm3-brands-grid--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.mtg-tm3-brand-card {
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--tm3-line);
  box-shadow: 0 16px 36px rgba(82,47,45,.08);
}

.mtg-tm3-brand-card strong {
  color: var(--tm3-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
}

.mtg-tm3-brand-card img {
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
}

.mtg-tm3-newsletter__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 22%, rgba(255,255,255,.8), transparent 28%),
    linear-gradient(135deg, #fff4ef, #f8d0c8);
  border: 1px solid var(--tm3-line);
  box-shadow: 0 20px 48px rgba(82,47,45,.10);
}

.mtg-tm3-newsletter h2,
.mtg-tm3-footer-cta h2 {
  margin: 0 0 12px;
  color: var(--tm3-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 3.5vw, 54px);
  line-height: 1;
  letter-spacing: -.035em;
}

.mtg-tm3-newsletter p,
.mtg-tm3-footer-cta p {
  margin: 0;
  color: var(--tm3-muted);
  font-size: 17px;
  line-height: 1.6;
}

.mtg-tm3-newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.mtg-tm3-newsletter input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(200,117,119,.28);
  background: #fff;
  color: var(--tm3-text);
  font-weight: 700;
}

.mtg-tm3-newsletter button {
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #ef8f8b, #d87274);
  font-weight: 900;
  cursor: pointer;
}

.mtg-tm3-footer-cta {
  margin-bottom: 82px;
}

.mtg-tm3-footer-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
  gap: 30px;
  align-items: center;
  padding: 46px;
  border-radius: 30px;
  background: #21171a;
  color: #fff;
  box-shadow: 0 26px 60px rgba(82,47,45,.16);
}

.mtg-tm3-footer-cta h2 {
  color: #fff;
}

.mtg-tm3-footer-cta p {
  color: rgba(255,255,255,.76);
}

.mtg-tm3-footer-cta__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.mtg-tm3-footer-cta__points {
  display: grid;
  gap: 14px;
}

.mtg-tm3-footer-cta__points div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.84);
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .mtg-tm3-product-grid--arrivals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mtg-tm3-brands-grid--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mtg-tm3-brands-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mtg-tm3-newsletter__box,
  .mtg-tm3-footer-cta__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mtg-tm3-product-grid--arrivals,
  .mtg-tm3-brands-grid--6,
  .mtg-tm3-brands-grid--4 {
    grid-template-columns: 1fr;
  }

  .mtg-tm3-newsletter__box,
  .mtg-tm3-footer-cta__inner {
    padding: 28px;
  }

  .mtg-tm3-newsletter form {
    grid-template-columns: 1fr;
  }
}

/* MTG TM3 FIX: arrivals 4 columns */
@media (min-width: 1101px) {
  .mtg-tm3-product-grid--arrivals {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .mtg-tm3-product-grid--arrivals {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .mtg-tm3-product-grid--arrivals {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}

/* MTG TM3 FIX: hero icons polish */
.mtg-tm3-hero__features {
  gap: 22px !important;
}

.mtg-tm3-hero__features .mtg-tm3-feature {
  grid-template-columns: 52px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
}

.mtg-tm3-hero__features .mtg-tm3-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(232, 123, 124, .45) !important;
  background: rgba(255,255,255,.72) !important;
  color: #d86f72 !important;
  box-shadow: 0 10px 24px rgba(216,111,114,.12) !important;
}

.mtg-tm3-hero__features .mtg-tm3-icon svg {
  width: 23px !important;
  height: 23px !important;
  stroke-width: 1.8 !important;
}

.mtg-tm3-hero__features .mtg-tm3-feature strong {
  font-size: 12px !important;
  letter-spacing: .02em !important;
}

.mtg-tm3-hero__features .mtg-tm3-feature span {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

@media (max-width: 767px) {
  .mtg-tm3-hero__features .mtg-tm3-feature {
    grid-template-columns: 46px minmax(0, 1fr) !important;
  }

  .mtg-tm3-hero__features .mtg-tm3-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .mtg-tm3-hero__features .mtg-tm3-icon svg {
    width: 21px !important;
    height: 21px !important;
  }
}

/* MTG TM3 FIX: hero icons no circle */
.mtg-tm3-hero__features .mtg-tm3-icon {
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #d86f72 !important;
}

.mtg-tm3-hero__features .mtg-tm3-icon svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  stroke-width: 1.9 !important;
}

.mtg-tm3-hero__features .mtg-tm3-feature {
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
}

@media (max-width: 767px) {
  .mtg-tm3-hero__features .mtg-tm3-feature {
    grid-template-columns: 26px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .mtg-tm3-hero__features .mtg-tm3-icon svg {
    width: 22px !important;
    height: 22px !important;
  }
}

/* MTG TM3 FIX: product cards fully clickable */
.mtg-tm3-product-card {
  position: relative;
}

.mtg-tm3-product-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  text-decoration: none;
}

.mtg-tm3-product-card__bottom a {
  position: relative;
  z-index: 5;
}

.mtg-tm3-product-card__body,
.mtg-tm3-product-card__image {
  position: relative;
  z-index: 1;
}

.mtg-tm3-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(82,47,45,.12);
}

.mtg-tm3-product-card:hover .mtg-tm3-product-card__image img {
  transform: scale(1.025);
}

.mtg-tm3-product-card__image img {
  transition: transform .22s ease;
}



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

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

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

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

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

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

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

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

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

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


/* MTG FIX EXACTO TM3: ancho real 90%, usando clases reales mtg-tm3-* */
body.mtg-template-tm3 .mtg-tm3-hero,
body.mtg-template-tm3 .mtg-tm3-section,
body.mtg-template-tm3 .mtg-tm3-benefits,
body.mtg-template-tm3 .mtg-tm3-newsletter,
body.mtg-template-tm3 .mtg-tm3-footer-cta{
  width:90vw !important;
  max-width:1720px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.mtg-template-tm3 .mtg-tm3-hero{
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr) !important;
  gap:72px !important;
}

body.mtg-template-tm3 .mtg-tm3-hero h1{
  max-width:760px !important;
}

body.mtg-template-tm3 .mtg-tm3-hero__copy > p{
  max-width:660px !important;
}

body.mtg-template-tm3 .mtg-tm3-hero__features{
  max-width:760px !important;
}

body.mtg-template-tm3 .mtg-tm3-hero__media{
  width:100% !important;
}

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

body.mtg-template-tm3 .mtg-tm3-category-grid,
body.mtg-template-tm3 .mtg-tm3-product-grid,
body.mtg-template-tm3 .mtg-tm3-brands-grid{
  width:100% !important;
}

@media(max-width:1180px){
  body.mtg-template-tm3 .mtg-tm3-hero,
  body.mtg-template-tm3 .mtg-tm3-section,
  body.mtg-template-tm3 .mtg-tm3-benefits,
  body.mtg-template-tm3 .mtg-tm3-newsletter,
  body.mtg-template-tm3 .mtg-tm3-footer-cta{
    width:90vw !important;
    max-width:100% !important;
  }

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

  body.mtg-template-tm3 .mtg-tm3-hero h1,
  body.mtg-template-tm3 .mtg-tm3-hero__copy > p,
  body.mtg-template-tm3 .mtg-tm3-hero__features{
    max-width:100% !important;
  }

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


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

/*
 * TM3 mobile:
 * Giro compacto, elegante, imagen protagonista grande.
 * Categorías 50/50 para celular.
 */
@media (max-width: 780px){

    body.mtg-template-tm3 .mtg-tm3{
        overflow:hidden !important;
    }

    body.mtg-template-tm3 .mtg-tm3-hero{
        width:92% !important;
        max-width:430px !important;
        margin:18px auto 22px !important;
        padding:12px !important;
        display:flex !important;
        flex-direction:column-reverse !important;
        gap:14px !important;
        border-radius:30px !important;
        background:linear-gradient(180deg,#fff7fb 0%,#ffffff 58%,#fff3f8 100%) !important;
        border:1px solid rgba(236,72,153,.16) !important;
        box-shadow:0 18px 44px rgba(148, 27, 90, .10) !important;
        min-height:0 !important;
    }

    body.mtg-template-tm3 .mtg-tm3-hero__media{
        width:100% !important;
        min-height:0 !important;
        height:auto !important;
        margin:0 !important;
        padding:0 !important;
        border-radius:24px !important;
        overflow:hidden !important;
        background:#fff !important;
        box-shadow:none !important;
    }

    body.mtg-template-tm3 .mtg-tm3-hero__media img{
        width:100% !important;
        height:330px !important;
        max-height:330px !important;
        min-height:0 !important;
        object-fit:cover !important;
        object-position:center center !important;
        display:block !important;
        border-radius:24px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-hero-art{
        width:100% !important;
        height:260px !important;
        min-height:260px !important;
        border-radius:24px !important;
    }

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

    body.mtg-template-tm3 .mtg-tm3-badge{
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        margin:0 auto 10px !important;
        min-height:30px !important;
        padding:7px 16px !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-tm3 .mtg-tm3-hero h1{
        margin:0 auto 10px !important;
        max-width:350px !important;
        font-size:clamp(30px, 8.5vw, 40px) !important;
        line-height:.96 !important;
        letter-spacing:-.045em !important;
        text-align:center !important;
    }

    body.mtg-template-tm3 .mtg-tm3-hero h1 br{
        display:none !important;
    }

    body.mtg-template-tm3 .mtg-tm3-hero__copy > p{
        margin:0 auto 14px !important;
        max-width:340px !important;
        font-size:14px !important;
        line-height:1.45 !important;
        text-align:center !important;
        color:#6b7280 !important;
    }

    body.mtg-template-tm3 .mtg-tm3-hero__buttons{
        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-tm3 .mtg-tm3-hero__buttons a,
    body.mtg-template-tm3 .mtg-tm3-btn{
        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-tm3 .mtg-tm3-hero__features{
        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-tm3 .mtg-tm3-feature{
        min-width:0 !important;
        min-height:60px !important;
        padding:8px 5px !important;
        border-radius:16px !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;
        text-align:center !important;
        gap:4px !important;
        background:rgba(255,255,255,.78) !important;
        border:1px solid rgba(148,163,184,.20) !important;
        box-shadow:none !important;
    }

    body.mtg-template-tm3 .mtg-tm3-feature .mtg-tm3-icon{
        width:20px !important;
        height:20px !important;
        min-width:20px !important;
        margin:0 !important;
    }

    body.mtg-template-tm3 .mtg-tm3-feature .mtg-tm3-icon svg{
        width:20px !important;
        height:20px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-feature strong{
        display:block !important;
        font-size:9.5px !important;
        line-height:1.05 !important;
        font-weight:950 !important;
        margin:0 !important;
        color:#111827 !important;
    }

    body.mtg-template-tm3 .mtg-tm3-feature span:not(.mtg-tm3-icon){
        display:block !important;
        font-size:8.5px !important;
        line-height:1.12 !important;
        font-weight:800 !important;
        color:#6b7280 !important;
    }

    /*
     * Categorías TM3 50/50.
     */
    body.mtg-template-tm3 .mtg-tm3-category-grid{
        display:grid !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:12px !important;
        width:100% !important;
        max-width:430px !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }

    body.mtg-template-tm3 .mtg-tm3-category-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-tm3 .mtg-tm3-category-card img,
    body.mtg-template-tm3 .mtg-tm3-category-art{
        width:100% !important;
        height:118px !important;
        max-height:118px !important;
        min-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-tm3 .mtg-tm3-category-card strong{
        display:block !important;
        font-size:14px !important;
        line-height:1.05 !important;
        margin:0 !important;
        font-weight:950 !important;
        text-align:center !important;
    }

    body.mtg-template-tm3 .mtg-tm3-section{
        width:92% !important;
        max-width:430px !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }

    body.mtg-template-tm3 .mtg-tm3-section__head{
        text-align:center !important;
        margin-bottom:16px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-section__head h2{
        font-size:26px !important;
        line-height:1 !important;
        text-align:center !important;
    }

    body.mtg-template-tm3 .mtg-tm3-section__head p{
        font-size:14px !important;
        line-height:1.35 !important;
        text-align:center !important;
    }
}

@media (max-width: 390px){

    body.mtg-template-tm3 .mtg-tm3-hero{
        width:94% !important;
        padding:10px !important;
        border-radius:26px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-hero__media img{
        height:292px !important;
        max-height:292px !important;
        border-radius:22px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-hero-art{
        height:240px !important;
        min-height:240px !important;
        border-radius:22px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-hero h1{
        font-size:clamp(27px, 8vw, 34px) !important;
    }

    body.mtg-template-tm3 .mtg-tm3-hero__copy > p{
        font-size:13px !important;
    }

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

    body.mtg-template-tm3 .mtg-tm3-hero__features{
        gap:6px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-feature{
        min-height:56px !important;
        padding:7px 4px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-feature strong{
        font-size:8.8px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-feature span:not(.mtg-tm3-icon){
        font-size:8px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-category-grid{
        gap:10px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-category-card{
        padding:9px !important;
        border-radius:18px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-category-card img,
    body.mtg-template-tm3 .mtg-tm3-category-art{
        height:104px !important;
        max-height:104px !important;
        min-height:104px !important;
        border-radius:14px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-category-card strong{
        font-size:13px !important;
    }
}

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


/* MTG TM3 PRODUCTS GRID MOBILE V1 - START */

/*
 * Productos destacados + recién llegados
 * en 2 columnas para móvil.
 */
@media (max-width: 780px){

    body.mtg-template-tm3 .mtg-tm3-product-grid,
    body.mtg-template-tm3 .mtg-tm3-arrival-grid,
    body.mtg-template-tm3 .mtg-tm3-arrivals-grid{
        display:grid !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:12px !important;
        width:100% !important;
        max-width:430px !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }

    body.mtg-template-tm3 .mtg-tm3-product-card,
    body.mtg-template-tm3 .mtg-tm3-arrival-card{
        width:100% !important;
        min-width:0 !important;
        min-height:0 !important;
        border-radius:18px !important;
        overflow:hidden !important;
    }

    body.mtg-template-tm3 .mtg-tm3-product-card__image{
        width:100% !important;
        height:150px !important;
        min-height:150px !important;
        max-height:150px !important;
        border-radius:16px !important;
        overflow:hidden !important;
    }

    body.mtg-template-tm3 .mtg-tm3-product-card__image img{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
        object-position:center !important;
        display:block !important;
    }

    body.mtg-template-tm3 .mtg-tm3-product-card__body{
        padding:10px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-product-card__body h3,
    body.mtg-template-tm3 .mtg-tm3-product-card h3{
        font-size:13px !important;
        line-height:1.18 !important;
        margin:0 0 6px !important;
        font-weight:900 !important;
    }

    body.mtg-template-tm3 .mtg-tm3-product-card__bottom{
        display:flex !important;
        align-items:center !important;
        justify-content:space-between !important;
        gap:8px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-product-card__bottom .price,
    body.mtg-template-tm3 .mtg-tm3-product-card__bottom .amount,
    body.mtg-template-tm3 .mtg-tm3-product-card__bottom .woocommerce-Price-amount{
        font-size:13px !important;
        font-weight:900 !important;
        line-height:1 !important;
    }

    body.mtg-template-tm3 .mtg-tm3-product-card__bottom a{
        min-width:32px !important;
        height:32px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        border-radius:10px !important;
        font-size:14px !important;
    }
}

@media (max-width: 390px){
    body.mtg-template-tm3 .mtg-tm3-product-grid,
    body.mtg-template-tm3 .mtg-tm3-arrival-grid,
    body.mtg-template-tm3 .mtg-tm3-arrivals-grid{
        gap:10px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-product-card__image{
        height:138px !important;
        min-height:138px !important;
        max-height:138px !important;
        border-radius:14px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-product-card__body{
        padding:9px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-product-card__body h3,
    body.mtg-template-tm3 .mtg-tm3-product-card h3{
        font-size:12px !important;
    }

    body.mtg-template-tm3 .mtg-tm3-product-card__bottom .price,
    body.mtg-template-tm3 .mtg-tm3-product-card__bottom .amount,
    body.mtg-template-tm3 .mtg-tm3-product-card__bottom .woocommerce-Price-amount{
        font-size:12px !important;
    }
}

/* MTG TM3 PRODUCTS GRID MOBILE V1 - END */

