/* MTG Shared Render Matrix: mtg-commerce-main-theme-inline-inline-css */

:root{
  --mtg-home-max: 1280px;
  --mtg-home-text: #22324d;
  --mtg-home-text-soft: #66758d;
  --mtg-home-green: #49a57f;
  --mtg-home-green-2: #71caa5;
  --mtg-home-yellow: #f7bf22;
  --mtg-home-bg-1: #f5f8fc;
  --mtg-home-bg-2: #edf6f0;
  --mtg-home-white: #ffffff;
  --mtg-home-border: rgba(15,23,42,.07);
  --mtg-home-shadow: 0 20px 60px rgba(15,23,42,.08);
  --mtg-home-shadow-soft: 0 10px 30px rgba(15,23,42,.05);
}

.mtg-home-wrap{
  width:min(90%, var(--mtg-home-max));
  margin:0 auto;
}

.mtg-home-topbar{
  background:var(--mtg-home-yellow);
  color:#3e3200;
  font-weight:800;
  font-size:14px;
}

.mtg-home-topbar .mtg-home-wrap{
  min-height:44px;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.mtg-home-hero{
  position:relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.95), rgba(255,255,255,.78) 36%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, var(--mtg-home-bg-1), var(--mtg-home-bg-2));
  padding:42px 0 24px;
  overflow:hidden;
}

.mtg-home-hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:34px;
  align-items:center;
}

.mtg-home-hero-copy h1{
  margin:0 0 16px;
  color:var(--mtg-home-text);
  font-size:clamp(42px,5vw,76px);
  line-height:1.02;
  letter-spacing:-.04em;
  font-weight:800;
  max-width:760px;
}

.mtg-home-hero-copy p{
  margin:0 0 26px;
  color:var(--mtg-home-text-soft);
  font-size:clamp(16px,1.4vw,24px);
  line-height:1.6;
  max-width:640px;
}

.mtg-home-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:24px;
}

.mtg-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:56px;
  padding:0 28px;
  border-radius:18px;
  text-decoration:none !important;
  font-weight:800;
  font-size:17px;
  transition:.18s ease;
}

.mtg-btn:hover{
  transform:translateY(-1px);
}

.mtg-btn-primary{
  color:#fff !important;
  background:linear-gradient(135deg,var(--mtg-home-green),var(--mtg-home-green-2));
  box-shadow:0 16px 34px rgba(70,166,126,.24);
}

.mtg-btn-secondary{
  color:var(--mtg-home-text) !important;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:var(--mtg-home-shadow-soft);
}

.mtg-btn-full{
  width:100%;
}

.mtg-home-hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.mtg-home-hero-badges span{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(15,23,42,.06);
  color:var(--mtg-home-text-soft);
  font-size:13px;
  font-weight:700;
}

.mtg-home-hero-media{
  position:relative;
  min-height:460px;
}

.mtg-home-hero-media img,
.mtg-home-hero-placeholder{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
  min-height:460px;
  object-fit:cover;
  border-radius:30px;
  box-shadow:var(--mtg-home-shadow);
  background:rgba(255,255,255,.72);
}

.mtg-home-hero-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--mtg-home-text-soft);
  border:2px dashed rgba(15,23,42,.1);
}

.mtg-home-hero-orb{
  position:absolute;
  border-radius:999px;
  filter:blur(3px);
}

.mtg-home-hero-orb-1{
  width:220px;
  height:220px;
  right:-30px;
  top:-10px;
  background:rgba(155, 203, 255, .25);
}

.mtg-home-hero-orb-2{
  width:180px;
  height:180px;
  left:-20px;
  bottom:10px;
  background:rgba(255, 206, 140, .22);
}

.mtg-home-features{
  margin-top:-10px;
  padding-bottom:28px;
  background:linear-gradient(180deg, rgba(237,246,240,1) 0%, rgba(245,248,252,0) 100%);
}

.mtg-home-features-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  background:rgba(255,255,255,.92);
  border:1px solid var(--mtg-home-border);
  border-radius:24px;
  box-shadow:var(--mtg-home-shadow);
  overflow:hidden;
}

.mtg-home-features-grid article{
  padding:26px 28px;
}

.mtg-home-features-grid article + article{
  border-left:1px solid rgba(15,23,42,.06);
}

.mtg-home-feature-icon{width:56px;height:56px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:26px;background:linear-gradient(135deg,var(--mtg-home-green),var(--mtg-home-green-2));color:#fff;box-shadow:0 12px 24px rgba(70,166,126,.18);margin-bottom:14px;}

.mtg-home-features-grid h3{
  margin:0 0 8px;
  color:var(--mtg-home-text);
  font-size:30px;
  line-height:1.08;
}

.mtg-home-features-grid p{
  margin:0;
  color:var(--mtg-home-text-soft);
  font-size:15px;
}

.mtg-home-categories,
.mtg-home-offers,
.mtg-home-social{
  padding:34px 0;
}

.mtg-home-categories h2,
.mtg-home-offers h2,
.mtg-home-social h2{
  margin:0 0 24px;
  text-align:center;
  color:var(--mtg-home-text);
  font-size:clamp(32px,3vw,54px);
  line-height:1.06;
  letter-spacing:-.03em;
}

.mtg-home-categories-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:18px;
}

.mtg-home-categories-grid .mtg-home-category-card:nth-child(1){ grid-column:span 4; }
.mtg-home-categories-grid .mtg-home-category-card:nth-child(2){ grid-column:span 4; }
.mtg-home-categories-grid .mtg-home-category-card:nth-child(3){ grid-column:span 4; }
.mtg-home-categories-grid .mtg-home-category-card:nth-child(4){ grid-column:span 6; }
.mtg-home-categories-grid .mtg-home-category-card:nth-child(5){ grid-column:span 6; }
.mtg-home-categories-grid .mtg-home-category-card:nth-child(n+6){ grid-column:span 4; }

.mtg-home-card{
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(245,248,252,.96));
  border:1px solid var(--mtg-home-border);
  border-radius:24px;
  box-shadow:var(--mtg-home-shadow-soft);
}

.mtg-home-category-card{
  overflow:hidden;
}

.mtg-home-category-media{
  height:190px;
  background:#eef3f8;
}

.mtg-home-category-media img,
.mtg-home-category-placeholder{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.mtg-home-category-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--mtg-home-text-soft);
}

.mtg-home-category-body{
  padding:22px;
}

.mtg-home-category-body h3{
  margin:0 0 8px;
  color:var(--mtg-home-text);
  font-size:clamp(24px,2vw,38px);
  line-height:1.08;
}

.mtg-home-category-body p{
  margin:0 0 14px;
  color:var(--mtg-home-text-soft);
  font-size:16px;
}

.mtg-home-category-body a{
  color:var(--mtg-home-green);
  text-decoration:none;
  font-weight:800;
}

.mtg-home-offers-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.mtg-home-offer-card{
  position:relative;
  padding:16px;
}

.mtg-home-discount-badge{
  position:absolute;
  z-index:3;
  top:14px;
  left:14px;
  min-width:58px;
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:var(--mtg-home-yellow);
  color:#fff;
  font-weight:800;
  font-size:16px;
}

.mtg-home-offer-thumb{
  display:block;
  text-decoration:none !important;
  margin-bottom:14px;
}

.mtg-home-offer-thumb img,
.mtg-home-offer-thumb .mtg-home-category-placeholder{
  width:100%;
  aspect-ratio:1/1;
  border-radius:18px;
  background:#eef2f7;
  object-fit:cover;
}

.mtg-home-offer-card h3{
  margin:0 0 10px;
  color:var(--mtg-home-text);
  font-size:22px;
  line-height:1.15;
}

.mtg-price{
  margin:0 0 14px;
  display:flex;
  align-items:center;
  gap:8px;
  line-height:1;
  white-space:nowrap;
}

.mtg-price-old{
  font-size:16px !important;
  line-height:1 !important;
  color:#9aa3b2 !important;
  text-decoration:line-through;
  font-weight:600 !important;
  display:inline-block;
  transform:translateY(-1px);
}

.mtg-price-current{
  font-size:28px !important;
  line-height:1 !important;
  color:var(--mtg-home-text) !important;
  font-weight:800 !important;
  display:inline-block;
}

.mtg-home-social .mtg-home-wrap{
  text-align:center;
  border-radius:28px;
  padding:44px 26px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,223,186,.42), transparent 18%),
    radial-gradient(circle at 88% 74%, rgba(198,230,255,.5), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,253,.96));
  border:1px solid var(--mtg-home-border);
  box-shadow:var(--mtg-home-shadow-soft);
}

.mtg-home-social p{
  margin:0 0 10px;
  color:var(--mtg-home-text-soft);
  font-size:18px;
}

.mtg-home-social strong{
  display:inline-block;
  margin-bottom:24px;
  color:var(--mtg-home-text);
  font-size:30px;
  letter-spacing:-.03em;
}

.mtg-home-social-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  margin-top:8px;
}

.mtg-home-social-card{
  aspect-ratio:1/1;
  border-radius:18px;
  background:linear-gradient(135deg,#eaf0f7,#f6f8fc);
  border:1px solid rgba(15,23,42,.06);
}

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

  .mtg-home-features-grid{
    grid-template-columns:1fr;
  }

  .mtg-home-features-grid article + article{
    border-left:0;
    border-top:1px solid rgba(15,23,42,.06);
  }

  .mtg-home-categories-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .mtg-home-categories-grid .mtg-home-category-card,
  .mtg-home-categories-grid .mtg-home-category-card:nth-child(1),
  .mtg-home-categories-grid .mtg-home-category-card:nth-child(2),
  .mtg-home-categories-grid .mtg-home-category-card:nth-child(3),
  .mtg-home-categories-grid .mtg-home-category-card:nth-child(4),
  .mtg-home-categories-grid .mtg-home-category-card:nth-child(5),
  .mtg-home-categories-grid .mtg-home-category-card:nth-child(n+6){
    grid-column:span 1;
  }

  .mtg-home-offers-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .mtg-home-social-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width: 680px){
  .mtg-home-topbar .mtg-home-wrap{
    min-height:38px;
    padding:0 10px;
    font-size:12px;
  }

  .mtg-home-hero{
    padding:20px 0 16px;
  }

  .mtg-home-hero-actions{
    flex-direction:column;
  }

  .mtg-btn{
    width:100%;
  }

  .mtg-home-hero-media,
  .mtg-home-hero-media img,
  .mtg-home-hero-placeholder{
    min-height:280px;
  }

  .mtg-home-categories,
  .mtg-home-offers,
  .mtg-home-social{
    padding:22px 0;
  }

  .mtg-home-categories-grid,
  .mtg-home-offers-grid,
  .mtg-home-social-grid{
    grid-template-columns:1fr;
  }

  .mtg-home-social .mtg-home-wrap{
    padding:34px 18px;
  }

  .mtg-home-social strong{
    font-size:24px;
  }

  .mtg-home-features-grid h3{
    font-size:22px;
  }
}

.mtg-toast-success{
  margin:0 0 18px;
  padding:14px 18px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--mtg-home-green),var(--mtg-home-green-2));
  color:#fff;
  font-weight:800;
  box-shadow:var(--mtg-home-shadow-soft);
}

.mtg-single-price-wrap{
  display:flex;
  align-items:flex-end;
  gap:12px;
  margin-bottom:14px;
}

.mtg-single-price-main{
  font-size:34px;
  font-weight:800;
  line-height:1;
  color:var(--mtg-home-text);
}

.mtg-single-price-old{
  font-size:18px;
  line-height:1;
  color:#94a3b8;
  text-decoration:line-through;
  transform:translateY(-3px);
}

.mtg-main-buy-form .mtg-buy-row{
  display:flex;
  gap:14px;
  align-items:flex-end;
  flex-wrap:wrap;
}

.mtg-main-buy-form .mtg-qty-wrap{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.mtg-main-buy-form .mtg-qty-wrap input{
  min-width:120px;
  min-height:52px;
  border-radius:16px;
  border:1px solid #d8e1ea;
  padding:0 14px;
  font-size:18px;
}

@media (max-width: 680px){
  .mtg-single-price-main{font-size:28px;}
  .mtg-single-price-old{font-size:16px;}
}

/*# sourceURL=mtg-commerce-main-theme-inline-inline-css */
