/*
Theme Name: Mamimu Nature
Theme URI: https://mamimu.local/
Author: Mamimu
Description: Светлая природная тема интернет-магазина Мамиму. Дерево, зелёная живописная фактура и реальные фотографии изделий.
Version: 0.9.53
Text Domain: mamimu
*/

:root{
  --mm-cream:#fbf8f1;
  --mm-paper:#fffdf9;
  --mm-sand:#f0e8dc;
  --mm-wood:#c79a68;
  --mm-ink:#40342b;
  --mm-green:#17634f;
  --mm-green-dark:#0c4d3d;
  --mm-teal:#2f8b80;
  --mm-muted:#756b61;
  --mm-line:rgba(71,56,43,.12);
  --mm-shadow:0 14px 36px rgba(70,52,35,.10);
  --mm-radius:22px;
  --mm-max:1380px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--mm-ink);
  background:var(--mm-cream);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button,input,textarea,select{font:inherit}
.mm-container{width:min(calc(100% - 48px),var(--mm-max));margin-inline:auto}

/* ===== top texture bar ===== */
.mm-topbar{
  color:#fff;
  background:
    linear-gradient(rgba(7,79,61,.28),rgba(7,79,61,.28)),
    url("assets/img/texture.webp") center 51%/cover;
  font-size:13px;
}
.mm-topbar-inner{
  min-height:35px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  text-align:center;
}
.mm-topbar-dot{opacity:.75}

/* ===== header ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,253,249,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--mm-line);
}
.mm-header{
  min-height:92px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:28px;
}
.mm-nav{
  display:flex;
  align-items:center;
  gap:29px;
  font-size:14px;
}
.mm-nav.right{justify-content:flex-end}
.mm-nav a{transition:.18s ease}
.mm-nav a:hover{color:var(--mm-green)}

.mm-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:310px;
  justify-content:center;
}
.mm-brand img{
  width:88px;
  height:52px;
  object-fit:contain;
}
.mm-wordmark{line-height:1}
.mm-wordmark strong{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  font-size:28px;
  letter-spacing:.17em;
  color:#6d4630;
}
.mm-wordmark small{
  display:block;
  margin-top:5px;
  color:#8d7f73;
  font-size:8px;
  letter-spacing:.035em;
}
.mm-header-tools{
  display:flex;
  gap:9px;
  align-items:center;
  margin-left:10px;
}
.mm-tool{
  width:38px;height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  border:1px solid transparent;
  position:relative;
  font-size:18px;
}
.mm-tool:hover{border-color:var(--mm-line);background:#fff}
.mm-count{
  position:absolute;right:-2px;top:-3px;
  min-width:17px;height:17px;padding:0 4px;
  border-radius:99px;
  display:grid;place-items:center;
  background:var(--mm-green);color:#fff;
  font-size:10px;
}

/* ===== HERO ===== */
.mm-hero-wrap{padding:22px 0 8px}
.mm-hero{
  position:relative;
  min-height:515px;
  overflow:hidden;
  border-radius:26px;
  background:
    radial-gradient(circle at 18% 60%,rgba(255,255,255,.86),transparent 35%),
    linear-gradient(125deg,#fbf7ef 0%,#f5eee5 52%,#eee3d4 100%);
  box-shadow:0 7px 26px rgba(81,59,37,.06);
}
.mm-hero:before{
  content:"";
  position:absolute;
  width:520px;height:185px;
  left:240px;bottom:-55px;
  border-radius:58% 42% 56% 44%/58% 52% 48% 42%;
  background:
    linear-gradient(rgba(255,255,255,.16),rgba(255,255,255,.16)),
    url("assets/img/texture.webp") center/cover;
  opacity:.22;
  transform:rotate(-9deg);
}
.mm-hero-copy{
  position:absolute;
  z-index:5;
  left:8%;
  top:50%;
  transform:translateY(-50%);
  width:39%;
}
.mm-hero h1{
  margin:0 0 20px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(44px,4.5vw,66px);
  font-weight:500;
  line-height:1.05;
  letter-spacing:-.035em;
  color:#4a372d;
}
.mm-hero p{
  max-width:500px;
  margin:0 0 26px;
  font-size:17px;
  color:#74675b;
}
.mm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 24px;
  border-radius:10px;
  border:1px solid var(--mm-teal);
  background:var(--mm-teal);
  color:#fff;
  font-weight:650;
  transition:.18s ease;
}
.mm-btn:hover{transform:translateY(-1px);background:#24776e}
.mm-btn.light{
  background:rgba(255,255,255,.75);
  color:var(--mm-green);
  border-color:rgba(23,99,79,.2);
}
.mm-hero-note{
  display:flex;gap:24px;margin-top:28px;
  color:#776b61;font-size:13px;
}
.mm-hero-note span{display:flex;align-items:center;gap:8px}
.mm-hero-note i{
  width:20px;height:20px;border-radius:50%;
  border:1px solid rgba(23,99,79,.25);
  display:grid;place-items:center;
  font-style:normal;color:var(--mm-green);
}

/* Real product photography in hero */
.mm-hero-scene{
  position:absolute;
  right:0;top:0;
  width:59%;height:100%;
}
.mm-packaging-photo{
  position:absolute;
  right:-2%;
  top:-2%;
  width:89%;
  height:104%;
  object-fit:cover;
  object-position:center;
  mix-blend-mode:multiply;
  opacity:.97;
}
.mm-insect-photo{
  position:absolute;
  right:2%;
  bottom:-7%;
  width:40%;
  border-radius:12px;
  box-shadow:0 18px 30px rgba(71,49,31,.18);
  transform:rotate(7deg);
}
.mm-hero-leaf{
  position:absolute;
  left:-2%;
  top:10%;
  width:140px;
  height:300px;
  opacity:.64;
  pointer-events:none;
}
.mm-hero-leaf:before,
.mm-hero-leaf:after{
  content:"";
  position:absolute;
  background:#6f8f76;
  border-radius:100% 0 100% 0;
}
.mm-hero-leaf:before{width:50px;height:112px;left:28px;top:30px;transform:rotate(-35deg)}
.mm-hero-leaf:after{width:45px;height:98px;left:63px;top:118px;transform:rotate(30deg)}

/* ===== section headings ===== */
.mm-section{padding:38px 0 18px}
.mm-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:19px;
  gap:20px;
}
.mm-section h2{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:31px;
  font-weight:500;
  letter-spacing:-.02em;
  color:#49362c;
}
.mm-more{font-size:13px;color:var(--mm-teal)}
.mm-more:hover{text-decoration:underline}

/* ===== categories ===== */
.mm-category-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:17px;
}
.mm-category{
  overflow:hidden;
  border-radius:18px;
  background:#f3ece4;
  box-shadow:0 5px 18px rgba(75,53,34,.06);
  text-align:center;
  transition:.18s ease;
}
.mm-category:hover{transform:translateY(-3px)}
.mm-category img{
  width:100%;
  aspect-ratio:1.22/1;
  object-fit:cover;
  background:#fff;
}
.mm-category strong{
  display:block;
  padding:12px 10px 15px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  font-weight:500;
}

/* ===== popular products ===== */
.mm-product-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:13px;
}
.mm-product-card{
  position:relative;
  background:rgba(255,255,255,.62);
  border:1px solid rgba(118,94,70,.16);
  border-radius:14px;
  padding:10px;
  min-width:0;
}
.mm-product-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:9px;
  background:#fff;
}
.mm-product-card h3{
  margin:10px 0 3px;
  min-height:42px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:15px;
  font-weight:500;
  line-height:1.25;
}
.mm-product-meta{
  display:flex;align-items:center;justify-content:space-between;
  gap:8px;margin-top:10px;
}
.mm-product-link{
  color:var(--mm-teal);
  font-size:13px;
  font-weight:650;
}
.mm-heart{
  position:absolute;right:14px;top:14px;
  width:28px;height:28px;border-radius:50%;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(76,61,49,.18);
  display:grid;place-items:center;color:#806d5e;
}

/* ===== workshop ===== */
.mm-story{
  min-height:360px;
  border-radius:20px;
  overflow:hidden;
  display:grid;
  grid-template-columns:.96fr 1.04fr;
  background:
    radial-gradient(circle at 22% 80%,rgba(47,139,128,.10),transparent 34%),
    linear-gradient(110deg,#fbf6ee,#f4ebe0);
  box-shadow:0 6px 22px rgba(70,52,35,.05);
}
.mm-story-copy{padding:42px 46px}
.mm-story h2{
  font-size:34px;
  line-height:1.06;
  margin-bottom:17px;
}
.mm-story p{max-width:560px;color:#70655b}
.mm-story-features{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:27px 0 23px;
}
.mm-mini-feature{text-align:center;font-size:12px;color:#6d6259}
.mm-mini-icon{
  width:43px;height:43px;border-radius:50%;
  border:1px solid rgba(66,78,65,.2);
  display:grid;place-items:center;
  margin:0 auto 7px;
  color:var(--mm-green);
  font-size:19px;
}
.mm-story-photo{
  position:relative;
  min-height:360px;
  overflow:hidden;
}
.mm-story-photo img{
  position:absolute;inset:0;
  width:100%;height:100%;object-fit:cover;
}
.mm-story-photo:after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg,#f8f0e6 0%,rgba(248,240,230,.08) 28%,transparent 55%);
}

/* ===== benefits row ===== */
.mm-benefits{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  padding:27px 0 36px;
}
.mm-benefit{
  display:grid;
  grid-template-columns:55px 1fr;
  align-items:center;
  gap:14px;
  padding:0 22px;
  border-right:1px solid rgba(107,83,61,.15);
}
.mm-benefit:last-child{border-right:0}
.mm-benefit-icon{
  width:48px;height:48px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid rgba(66,83,69,.25);
  color:var(--mm-green);
  font-size:21px;
}
.mm-benefit strong{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  font-size:15px;
}
.mm-benefit span span{
  display:block;
  margin-top:3px;
  color:#7e7268;
  font-size:11px;
  line-height:1.35;
}

/* ===== WooCommerce generic ===== */
.mm-content{width:min(calc(100% - 48px),var(--mm-max));margin:46px auto;min-height:50vh}
.woocommerce-products-header__title,.woocommerce div.product .product_title{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  color:#49362c;
}
.woocommerce div.product div.images img{border-radius:16px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--mm-teal)}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce div.product form.cart .button{
  background:var(--mm-teal);
  color:#fff;
  border-radius:10px;
}

/* ===== footer ===== */
.site-footer{
  color:#fff;
  background:
    linear-gradient(rgba(9,77,61,.20),rgba(9,77,61,.20)),
    url("assets/img/texture.webp") center/cover;
}
.mm-footer{
  display:grid;
  grid-template-columns:1.35fr .7fr .8fr 1fr;
  gap:50px;
  padding:42px 0 31px;
}
.mm-footer-brand{
  display:flex;align-items:center;gap:12px;
  margin-bottom:12px;
}
.mm-footer-brand img{width:83px;height:52px;object-fit:contain}
.mm-footer-brand strong{
  font-family:Georgia,"Times New Roman",serif;
  font-size:25px;font-weight:500;letter-spacing:.13em;
}
.mm-footer p,.mm-footer a{
  color:rgba(255,255,255,.82);
  font-size:12px;
}
.mm-footer h4{
  margin:0 0 12px;
  font-size:14px;font-weight:650;
}
.mm-footer a{display:block;margin:6px 0}
.mm-footer a:hover{color:#fff}
.mm-socials{display:flex;gap:8px;margin-top:14px}
.mm-social{
  width:31px;height:31px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(255,255,255,.88);
  color:var(--mm-green-dark);
  font-size:10px;font-weight:750;
}
.mm-copyright{
  min-height:43px;
  border-top:1px solid rgba(255,255,255,.19);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  color:rgba(255,255,255,.70);
}

/* ===== responsive ===== */
@media(max-width:1150px){
  .mm-nav{gap:15px;font-size:13px}
  .mm-brand{min-width:250px}
  .mm-category-grid{grid-template-columns:repeat(3,1fr)}
  .mm-product-grid{grid-template-columns:repeat(3,1fr)}
  .mm-footer{grid-template-columns:1fr 1fr}
}
@media(max-width:820px){
  .mm-header{grid-template-columns:1fr auto;min-height:74px}
  .mm-nav.left,.mm-nav.right>a{display:none}
  .mm-nav.right{display:flex}
  .mm-brand{justify-content:flex-start;min-width:0}
  .mm-brand img{width:68px}
  .mm-wordmark strong{font-size:22px}
  .mm-hero{min-height:730px}
  .mm-hero-copy{
    left:7%;top:38px;transform:none;width:86%;
  }
  .mm-hero h1{font-size:50px}
  .mm-hero-scene{top:310px;width:100%;height:420px}
  .mm-packaging-photo{right:0;width:92%;height:100%}
  .mm-insect-photo{right:2%;width:42%;bottom:-2%}
  .mm-hero:before{left:0;bottom:220px}
  .mm-category-grid{grid-template-columns:repeat(2,1fr)}
  .mm-product-grid{grid-template-columns:repeat(2,1fr)}
  .mm-story{grid-template-columns:1fr}
  .mm-story-photo{min-height:300px}
  .mm-benefits{grid-template-columns:1fr 1fr;gap:22px}
  .mm-benefit{border-right:0}
}
@media(max-width:560px){
  .mm-container{width:min(calc(100% - 24px),var(--mm-max))}
  .mm-topbar{font-size:11px}
  .mm-topbar-dot{display:none}
  .mm-header-tools .mm-tool:first-child{display:none}
  .mm-brand img{width:54px;height:38px}
  .mm-wordmark strong{font-size:18px}
  .mm-wordmark small{display:none}
  .mm-header-tools{gap:3px;margin-left:0}
  .mm-hero-wrap{padding-top:10px}
  .mm-hero{border-radius:18px;min-height:690px}
  .mm-hero-copy{left:6%;width:88%}
  .mm-hero h1{font-size:43px}
  .mm-hero p{font-size:15px}
  .mm-hero-note{gap:10px;flex-direction:column}
  .mm-hero-scene{top:335px;height:355px}
  .mm-packaging-photo{width:104%;right:-8%}
  .mm-insect-photo{width:48%;right:0}
  .mm-section{padding-top:30px}
  .mm-section-head{align-items:flex-start}
  .mm-section h2{font-size:27px}
  .mm-category-grid,.mm-product-grid{grid-template-columns:1fr 1fr}
  .mm-story-copy{padding:31px 25px}
  .mm-story-features{grid-template-columns:1fr 1fr}
  .mm-benefits{grid-template-columns:1fr}
  .mm-footer{grid-template-columns:1fr;gap:24px}
}


/* =========================================================
   v0.8.0 — КАТАЛОГ И КАРТОЧКА ТОВАРА
   Главная страница v0.7.4 не меняется.
   ========================================================= */

/* --- общая область WooCommerce --- */
body.woocommerce-page .mm-content{
  margin-top:34px;
  margin-bottom:70px;
}
.woocommerce .woocommerce-breadcrumb{
  margin:0 0 24px;
  color:#8a7d70;
  font-size:12px;
}
.woocommerce .woocommerce-breadcrumb a{
  color:var(--mm-teal);
}
.woocommerce-products-header{
  margin-bottom:26px;
}
.woocommerce-products-header__title{
  margin:0 0 10px;
  font-size:clamp(34px,4vw,52px);
  line-height:1.04;
  letter-spacing:-.035em;
}
.woocommerce-products-header .term-description{
  max-width:760px;
  color:#75695f;
}

/* --- панель каталога --- */
.woocommerce .woocommerce-result-count{
  margin:12px 0 24px;
  color:#81756a;
  font-size:13px;
}
.woocommerce .woocommerce-ordering{
  margin:0 0 24px;
}
.woocommerce .woocommerce-ordering select{
  min-height:43px;
  padding:0 42px 0 14px;
  border:1px solid rgba(78,61,46,.16);
  border-radius:10px;
  color:#54483e;
  background:#fffdf9;
  outline:none;
}
.woocommerce .woocommerce-ordering select:focus{
  border-color:rgba(47,139,128,.55);
  box-shadow:0 0 0 3px rgba(47,139,128,.08);
}

/* --- карточки каталога --- */
.woocommerce ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  clear:both;
  margin:0!important;
}
.woocommerce ul.products:before,
.woocommerce ul.products:after{
  display:none!important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  float:none!important;
  width:auto!important;
  margin:0!important;
  padding:10px 10px 18px!important;
  overflow:hidden;
  border:1px solid rgba(90,69,50,.12);
  border-radius:16px;
  background:rgba(255,255,255,.72);
  box-shadow:0 8px 24px rgba(74,55,37,.07);
  transition:transform .18s ease, box-shadow .18s ease;
}
.woocommerce ul.products li.product:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 32px rgba(74,55,37,.11);
}
.woocommerce ul.products li.product a img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  margin:0 0 14px!important;
  border-radius:11px;
  background:#f4eee5;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  min-height:47px;
  padding:0 4px!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:17px!important;
  line-height:1.3;
  font-weight:500;
  color:#49372d;
}
.woocommerce ul.products li.product .price{
  display:block;
  padding:0 4px;
  margin:7px 0 0!important;
  color:var(--mm-teal)!important;
  font-size:17px!important;
  font-weight:750!important;
}
.woocommerce ul.products li.product .price del{
  color:#a2968b!important;
  font-size:13px;
}
.woocommerce ul.products li.product .price ins{
  text-decoration:none;
}
.woocommerce ul.products li.product .button{
  min-height:40px;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  margin:13px 4px 0!important;
  padding:0 16px!important;
  border-radius:9px!important;
  background:var(--mm-teal)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
}
.woocommerce ul.products li.product .button:hover{
  background:#24776e!important;
}
.woocommerce span.onsale{
  min-width:auto;
  min-height:auto;
  margin:12px!important;
  padding:6px 9px!important;
  line-height:1!important;
  border-radius:999px;
  background:var(--mm-green)!important;
  font-size:11px;
  font-weight:700;
}

/* --- pagination --- */
.woocommerce nav.woocommerce-pagination{
  margin-top:36px;
}
.woocommerce nav.woocommerce-pagination ul{
  border:0!important;
  display:inline-flex;
  gap:7px;
}
.woocommerce nav.woocommerce-pagination ul li{
  border:0!important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  min-width:38px;
  height:38px;
  display:grid;
  place-items:center;
  padding:0!important;
  border-radius:9px;
  background:#fff;
  border:1px solid rgba(81,63,47,.13);
}
.woocommerce nav.woocommerce-pagination ul li span.current{
  background:var(--mm-teal);
  color:#fff;
}

/* =========================================================
   Карточка товара
   ========================================================= */
.woocommerce div.product{
  position:relative;
}
.woocommerce div.product div.images{
  width:54%!important;
  margin-bottom:40px!important;
}
.woocommerce div.product div.summary{
  width:40%!important;
  margin-bottom:40px!important;
  padding-top:10px;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{
  border-radius:20px;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image{
  overflow:hidden;
  border-radius:16px;
  background:#f4eee4;
}
.woocommerce div.product div.images img{
  border-radius:16px;
}
.woocommerce div.product div.images .flex-control-thumbs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
  margin-top:10px!important;
}
.woocommerce div.product div.images .flex-control-thumbs li{
  width:auto!important;
  float:none!important;
}
.woocommerce div.product div.images .flex-control-thumbs img{
  border-radius:9px;
  border:1px solid transparent;
}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active{
  border-color:var(--mm-teal);
}

.woocommerce div.product .product_title{
  margin:0 0 15px;
  font-size:clamp(34px,4vw,50px);
  line-height:1.04;
  letter-spacing:-.035em;
}
.woocommerce div.product .woocommerce-product-rating{
  margin-bottom:13px;
}
.woocommerce .star-rating span:before,
.woocommerce p.stars a{
  color:#b68b56;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price{
  margin:0 0 18px;
  color:var(--mm-teal)!important;
  font-size:28px!important;
  font-weight:750;
}
.woocommerce div.product .woocommerce-product-details__short-description{
  color:#74685e;
  font-size:15px;
  line-height:1.65;
}
.woocommerce div.product form.cart{
  display:flex;
  align-items:center;
  gap:10px;
  margin:25px 0 20px!important;
}
.woocommerce div.product form.cart .quantity{
  margin:0!important;
}
.woocommerce .quantity .qty{
  width:72px;
  min-height:48px;
  border:1px solid rgba(78,61,46,.16);
  border-radius:10px;
  background:#fff;
  color:#4f4238;
}
.woocommerce div.product form.cart .button{
  min-height:48px;
  padding:0 24px;
  border-radius:10px;
  background:var(--mm-teal);
  font-size:14px;
}
.woocommerce div.product form.cart .button:hover{
  background:#24776e;
}
.woocommerce div.product .product_meta{
  margin-top:22px;
  padding-top:17px;
  border-top:1px solid rgba(89,68,50,.12);
  color:#85796f;
  font-size:12px;
}
.woocommerce div.product .product_meta>span{
  display:block;
  margin:5px 0;
}
.woocommerce div.product .product_meta a{
  color:var(--mm-teal);
}

/* Наш блок доверия под кнопкой */
.mm-product-assurances{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin-top:17px;
}
.mm-product-assurance{
  min-height:42px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  border-radius:10px;
  background:#f7f1e8;
  color:#6f6359;
  font-size:12px;
}
.mm-product-assurance i{
  width:26px;height:26px;
  flex:0 0 26px;
  border-radius:50%;
  display:grid;
  place-items:center;
  border:1px solid rgba(23,99,79,.22);
  color:var(--mm-green);
  font-style:normal;
}

/* tabs */
.woocommerce div.product .woocommerce-tabs{
  clear:both;
  padding-top:30px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs{
  display:flex;
  gap:7px;
  padding:0!important;
  margin:0 0 20px!important;
  border-bottom:1px solid rgba(78,61,46,.12);
}
.woocommerce div.product .woocommerce-tabs ul.tabs:before{
  display:none!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:before,
.woocommerce div.product .woocommerce-tabs ul.tabs li:after{
  display:none!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  padding:13px 16px!important;
  color:#776b61!important;
  font-size:13px;
  font-weight:650!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{
  color:var(--mm-green)!important;
  box-shadow:inset 0 -2px 0 var(--mm-teal);
}
.woocommerce div.product .woocommerce-tabs .panel{
  padding:25px 28px;
  border-radius:16px;
  background:#fffdf9;
  border:1px solid rgba(82,63,47,.10);
  color:#6e6359;
}
.woocommerce div.product .woocommerce-tabs .panel h2{
  font-family:Georgia,"Times New Roman",serif;
  color:#49372d;
  font-weight:500;
}

/* related */
.woocommerce .related.products,
.woocommerce .upsells.products{
  clear:both;
  padding-top:44px;
}
.woocommerce .related.products>h2,
.woocommerce .upsells.products>h2{
  margin:0 0 22px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  font-weight:500;
  color:#49372d;
}

/* notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error{
  border:0!important;
  border-radius:12px;
  background:#f3eee5;
  color:#5e5146;
}
.woocommerce-message:before,
.woocommerce-info:before{
  color:var(--mm-teal)!important;
}

/* checkout/cart basic consistency */
.woocommerce table.shop_table{
  border:1px solid rgba(79,61,46,.12);
  border-radius:14px;
  overflow:hidden;
  background:#fffdf9;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td{
  border-color:rgba(79,61,46,.08)!important;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
  min-height:44px;
  border:1px solid rgba(78,61,46,.16);
  border-radius:9px;
  background:#fff;
  padding:9px 11px;
}
.woocommerce form .form-row textarea{
  min-height:110px;
}

/* responsive shop */
@media(max-width:1050px){
  .woocommerce ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .woocommerce div.product div.images{
    width:50%!important;
  }
  .woocommerce div.product div.summary{
    width:45%!important;
  }
}
@media(max-width:820px){
  .woocommerce ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary{
    float:none!important;
    width:100%!important;
  }
  .woocommerce div.product div.summary{
    padding-top:0;
  }
}
@media(max-width:520px){
  .woocommerce ul.products{
    grid-template-columns:1fr;
  }
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering{
    float:none;
  }
  .woocommerce .woocommerce-ordering select{
    width:100%;
  }
  .woocommerce div.product form.cart{
    align-items:stretch;
    flex-wrap:wrap;
  }
  .woocommerce div.product form.cart .button{
    flex:1;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs{
    overflow-x:auto;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li a{
    white-space:nowrap;
  }
}


/* =========================================================
   v0.8.1 — реальные fallback-фото и состояние без цены
   ========================================================= */
.mm-price-pending,
.mm-single-price-pending{
  display:block;
  color:#8a7b6d;
  font-size:14px;
  font-weight:650;
}
.mm-price-pending{padding:2px 4px 0}
.mm-single-price-pending{
  margin:0 0 18px;
  font-size:18px;
  color:var(--mm-teal);
}
.mm-fallback-gallery{
  width:100%;
  overflow:hidden;
  border-radius:16px;
  background:#f4eee5;
}
.mm-fallback-gallery img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
}
.mm-summary-fallback{
  margin:0 0 20px;
  color:#74685e;
  font-size:15px;
  line-height:1.65;
}
.mm-product-assurances{
  margin-top:20px!important;
}
.woocommerce ul.products li.product .button.mm-details-button,
.woocommerce ul.products li.product .button.product_type_simple{
  text-transform:none;
}


/* =========================================================
   v0.8.2 — ТОЧЕЧНАЯ ДОРАБОТКА КАРТОЧКИ ТОВАРА
   Главная и каталог без изменений.
   ========================================================= */

body.single-product .mm-content{
  margin-top:52px;
}

/* Более собранный первый экран карточки */
body.single-product .woocommerce div.product{
  max-width:1240px;
  margin-left:auto;
  margin-right:auto;
}

body.single-product .woocommerce div.product div.images{
  width:48%!important;
  max-width:590px;
  margin-bottom:30px!important;
}

body.single-product .woocommerce div.product div.summary{
  width:45%!important;
  max-width:540px;
  margin-bottom:30px!important;
  padding-top:12px;
}

/* Фото не должно раздувать карточку по вертикали */
body.single-product .woocommerce div.product div.images
.woocommerce-product-gallery__image > a{
  display:block;
  border-radius:16px;
  overflow:hidden;
  background:#f5f1ea;
}

body.single-product .woocommerce div.product div.images
.woocommerce-product-gallery__image img{
  width:100%;
  max-height:590px;
  object-fit:contain;
  object-position:center;
  background:#f5f1ea;
}

/* Заголовок и правый блок */
body.single-product .woocommerce div.product .product_title{
  margin-top:0!important;
  margin-bottom:17px!important;
  font-size:clamp(36px,3.4vw,48px);
  line-height:1.03;
}

body.single-product .mm-price-placeholder{
  margin:0 0 18px;
}

body.single-product .woocommerce-product-details__short-description{
  margin-bottom:18px;
}

body.single-product .mm-product-assurances{
  margin-top:14px;
}

body.single-product .mm-product-assurance{
  min-height:39px;
  padding:8px 11px;
}

/* Метаданные ближе к основному контенту */
body.single-product .woocommerce div.product .product_meta{
  margin-top:17px;
  padding-top:14px;
}

/* Вкладки ближе к первому экрану */
body.single-product .woocommerce div.product .woocommerce-tabs{
  padding-top:22px;
}

/* WordPress admin bar + липкая шапка не должны пересекаться */
body.admin-bar .site-header{
  top:32px;
}

@media screen and (max-width:782px){
  body.admin-bar .site-header{
    top:46px;
  }
}

@media(max-width:820px){
  body.single-product .woocommerce div.product{
    max-width:none;
  }
  body.single-product .woocommerce div.product div.images,
  body.single-product .woocommerce div.product div.summary{
    float:none!important;
    width:100%!important;
    max-width:none;
  }
  body.single-product .woocommerce div.product div.images
  .woocommerce-product-gallery__image img{
    max-height:none;
  }
  body.single-product .mm-content{
    margin-top:34px;
  }
}


/* =========================================================
   v0.8.3 — галерея товара: большое фото + миниатюры снизу
   ========================================================= */
.mm-fallback-gallery-main{
  border-radius:16px;
  overflow:hidden;
  background:#f5f1ea;
}
.mm-fallback-gallery-main img{
  display:block;
  width:100%;
  max-height:590px;
  object-fit:contain;
  object-position:center;
  background:#f5f1ea;
}
.mm-fallback-gallery-thumbs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
  margin-top:10px;
}
.mm-fallback-thumb{
  padding:0;
  border:1px solid transparent;
  border-radius:10px;
  background:#f5f1ea;
  overflow:hidden;
  cursor:pointer;
}
.mm-fallback-thumb img{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
}
.mm-fallback-thumb.is-active{
  border-color:var(--mm-teal);
  box-shadow:0 0 0 2px rgba(47,139,128,.10);
}
.mm-fallback-thumb:focus-visible{
  outline:2px solid rgba(47,139,128,.45);
  outline-offset:2px;
}


/* =========================================================
   v0.8.5 — полноэкранный просмотр фотографий товара
   ========================================================= */

.mm-fallback-gallery-main{
  position:relative;
  cursor:zoom-in;
}
.mm-fallback-gallery-main:after{
  content:"⌕";
  position:absolute;
  right:14px;
  bottom:14px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.90);
  border:1px solid rgba(69,54,42,.16);
  color:#4f463e;
  font-size:20px;
  pointer-events:none;
}

.mm-lightbox{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px 74px;
  background:rgba(18,17,15,.94);
}
.mm-lightbox.is-open{
  display:flex;
}
.mm-lightbox-stage{
  position:relative;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.mm-lightbox-image{
  display:block;
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  user-select:none;
  -webkit-user-drag:none;
}
.mm-lightbox-close,
.mm-lightbox-prev,
.mm-lightbox-next{
  position:absolute;
  border:0;
  color:#fff;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(8px);
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:background .15s ease;
}
.mm-lightbox-close:hover,
.mm-lightbox-prev:hover,
.mm-lightbox-next:hover{
  background:rgba(255,255,255,.22);
}
.mm-lightbox-close{
  top:18px;
  right:20px;
  width:46px;
  height:46px;
  border-radius:50%;
  font-size:28px;
  line-height:1;
}
.mm-lightbox-prev,
.mm-lightbox-next{
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:64px;
  border-radius:12px;
  font-size:31px;
}
.mm-lightbox-prev{left:18px}
.mm-lightbox-next{right:18px}
.mm-lightbox-counter{
  position:absolute;
  left:50%;
  bottom:16px;
  transform:translateX(-50%);
  min-width:58px;
  padding:7px 12px;
  border-radius:999px;
  color:#fff;
  background:rgba(0,0,0,.42);
  text-align:center;
  font-size:12px;
}
body.mm-lightbox-open{
  overflow:hidden;
}

@media(max-width:700px){
  .mm-lightbox{
    padding:62px 12px 64px;
  }
  .mm-lightbox-close{
    top:10px;
    right:10px;
  }
  .mm-lightbox-prev,
  .mm-lightbox-next{
    width:42px;
    height:56px;
    font-size:27px;
  }
  .mm-lightbox-prev{left:7px}
  .mm-lightbox-next{right:7px}
}


/* =========================================================
   v0.9.0 — корзина и оформление заказа
   Главная, каталог и карточка товара не меняются.
   ========================================================= */

/* Общие заголовки WooCommerce */
body.woocommerce-cart .mm-content,
body.woocommerce-checkout .mm-content{
  max-width:1240px;
  margin-top:48px;
  margin-bottom:76px;
}
body.woocommerce-cart .mm-content > h1,
body.woocommerce-checkout .mm-content > h1,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title{
  margin:0 0 28px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(36px,4vw,52px);
  line-height:1.05;
  font-weight:500;
  color:#49372d;
}

/* =========================
   КОРЗИНА
   ========================= */
body.woocommerce-cart .woocommerce-cart-form{
  width:66%;
  float:left;
}
body.woocommerce-cart .cart-collaterals{
  width:31%;
  float:right;
}
body.woocommerce-cart .cart-collaterals:after,
body.woocommerce-cart .woocommerce:after{
  content:"";
  display:table;
  clear:both;
}

body.woocommerce-cart table.shop_table{
  border:0!important;
  border-radius:18px;
  overflow:hidden;
  background:#fffdf9;
  box-shadow:0 8px 24px rgba(74,55,37,.07);
}
body.woocommerce-cart table.shop_table thead{
  background:#f4ede4;
}
body.woocommerce-cart table.shop_table th{
  padding:15px 14px!important;
  color:#5f5348;
  font-size:12px;
  font-weight:700;
}
body.woocommerce-cart table.shop_table td{
  padding:15px 14px!important;
  vertical-align:middle!important;
}
body.woocommerce-cart td.product-thumbnail{
  width:96px;
}
body.woocommerce-cart td.product-thumbnail img{
  width:76px!important;
  height:76px!important;
  object-fit:cover;
  border-radius:10px;
}
body.woocommerce-cart td.product-name a{
  font-family:Georgia,"Times New Roman",serif;
  color:#49372d;
  font-size:16px;
  font-weight:500;
}
body.woocommerce-cart td.product-price,
body.woocommerce-cart td.product-subtotal{
  color:var(--mm-teal);
  font-weight:700;
}
body.woocommerce-cart a.remove{
  width:30px!important;
  height:30px!important;
  line-height:27px!important;
  border-radius:50%;
  background:#f7efe8;
  color:#9b6f63!important;
}
body.woocommerce-cart a.remove:hover{
  background:#9b6f63!important;
  color:#fff!important;
}
body.woocommerce-cart .quantity .qty{
  min-height:42px;
}
body.woocommerce-cart td.actions{
  background:#faf5ed;
  padding:16px!important;
}
body.woocommerce-cart td.actions .coupon{
  display:flex;
  gap:8px;
}
body.woocommerce-cart td.actions .coupon .input-text{
  min-width:190px;
  height:42px;
  border:1px solid rgba(78,61,46,.16);
  border-radius:9px;
  background:#fff;
  padding:0 12px;
}
body.woocommerce-cart td.actions .button{
  min-height:42px;
  border-radius:9px;
  background:#eee5da;
  color:#5b4e43;
}
body.woocommerce-cart td.actions .button:hover{
  background:#e3d7c8;
}
body.woocommerce-cart td.actions .coupon .button{
  background:var(--mm-teal);
  color:#fff;
}
body.woocommerce-cart td.actions .coupon .button:hover{
  background:#24776e;
}

/* Итоги корзины */
body.woocommerce-cart .cart_totals{
  width:100%!important;
  float:none!important;
  padding:23px;
  border-radius:18px;
  background:#f6efe6;
  border:1px solid rgba(83,64,48,.10);
}
body.woocommerce-cart .cart_totals h2{
  margin:0 0 17px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:25px;
  font-weight:500;
  color:#49372d;
}
body.woocommerce-cart .cart_totals table{
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}
body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td{
  padding:12px 0!important;
}
body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td{
  font-size:17px;
}
body.woocommerce-cart .cart_totals .order-total strong{
  color:var(--mm-teal);
}
body.woocommerce-cart .wc-proceed-to-checkout{
  padding:17px 0 0!important;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  margin:0!important;
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:var(--mm-teal);
  font-size:14px;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{
  background:#24776e;
}

/* Пустая корзина */
body.woocommerce-cart .cart-empty{
  max-width:700px;
  margin:60px auto 20px;
  padding:25px;
  text-align:center;
  border-radius:16px;
  background:#f4eee5;
}
body.woocommerce-cart .return-to-shop{
  text-align:center;
}
body.woocommerce-cart .return-to-shop .button{
  min-height:46px;
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  border-radius:10px;
  background:var(--mm-teal);
  color:#fff;
}

/* =========================
   CHECKOUT
   ========================= */
body.woocommerce-checkout form.checkout{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);
  gap:34px;
  align-items:start;
}
body.woocommerce-checkout #customer_details{
  grid-column:1;
}
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review{
  grid-column:2;
}
body.woocommerce-checkout #order_review_heading{
  margin:0 0 -18px;
  padding:0 4px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:25px;
  font-weight:500;
  color:#49372d;
}

/* Левая колонка checkout */
body.woocommerce-checkout #customer_details > div{
  width:100%!important;
  float:none!important;
}
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout .woocommerce-shipping-fields{
  padding:25px 27px;
  margin-bottom:18px;
  border-radius:18px;
  background:#fffdf9;
  border:1px solid rgba(83,64,48,.10);
  box-shadow:0 7px 20px rgba(74,55,37,.05);
}
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3{
  margin:0 0 20px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:25px;
  font-weight:500;
  color:#49372d;
}
body.woocommerce-checkout .form-row{
  margin-bottom:15px!important;
}
body.woocommerce-checkout .form-row label{
  margin-bottom:6px;
  color:#665a50;
  font-size:12px;
  font-weight:650;
}
body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .select2-container .select2-selection--single{
  min-height:46px;
  border:1px solid rgba(78,61,46,.16)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.woocommerce-checkout .form-row input.input-text{
  padding:0 12px;
}
body.woocommerce-checkout .form-row textarea{
  min-height:116px;
  padding:12px;
}
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{
  line-height:44px!important;
  padding-left:12px!important;
}
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow{
  height:44px!important;
}
body.woocommerce-checkout .form-row.woocommerce-invalid input.input-text{
  border-color:#bd7669!important;
}
body.woocommerce-checkout .form-row.woocommerce-validated input.input-text{
  border-color:rgba(47,139,128,.42)!important;
}

/* Правая колонка checkout */
body.woocommerce-checkout #order_review{
  padding:22px;
  border-radius:18px;
  background:#f6efe6;
  border:1px solid rgba(83,64,48,.10);
  position:sticky;
  top:135px;
}
body.admin-bar.woocommerce-checkout #order_review{
  top:167px;
}
body.woocommerce-checkout #order_review table.shop_table{
  margin-bottom:18px;
  background:transparent;
  box-shadow:none;
  border:0!important;
}
body.woocommerce-checkout #order_review table th,
body.woocommerce-checkout #order_review table td{
  padding:11px 5px!important;
}
body.woocommerce-checkout #order_review .product-name{
  color:#5b5047;
}
body.woocommerce-checkout #order_review .cart-subtotal td,
body.woocommerce-checkout #order_review .order-total td{
  text-align:right;
}
body.woocommerce-checkout #order_review .order-total strong{
  color:var(--mm-teal);
  font-size:18px;
}

/* Оплата */
body.woocommerce-checkout #payment{
  border-radius:14px!important;
  background:#fffaf3!important;
}
body.woocommerce-checkout #payment ul.payment_methods{
  padding:14px!important;
  border-bottom:1px solid rgba(80,62,47,.10)!important;
}
body.woocommerce-checkout #payment div.payment_box{
  background:#f1e9de!important;
  color:#665b51;
  font-size:12px;
}
body.woocommerce-checkout #payment div.payment_box:before{
  border-bottom-color:#f1e9de!important;
}
body.woocommerce-checkout #payment .place-order{
  padding:15px!important;
}
body.woocommerce-checkout #place_order{
  width:100%;
  min-height:50px;
  border-radius:10px;
  background:var(--mm-teal);
  font-size:14px;
}
body.woocommerce-checkout #place_order:hover{
  background:#24776e;
}
body.woocommerce-checkout .woocommerce-privacy-policy-text{
  color:#7c7065;
  font-size:11px;
  line-height:1.5;
}

/* Купон на checkout */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce-form-login-toggle{
  margin-bottom:12px;
}
body.woocommerce-checkout form.checkout_coupon,
body.woocommerce-checkout form.login{
  margin:0 0 20px!important;
  border:1px solid rgba(82,64,48,.10)!important;
  border-radius:14px!important;
  background:#fffdf9;
}

/* Спасибо за заказ / order received */
body.woocommerce-order-received .woocommerce-order{
  max-width:1050px;
  margin:45px auto 70px;
}
body.woocommerce-order-received .woocommerce-thankyou-order-received{
  padding:22px 24px;
  border-radius:14px;
  background:#edf5f1;
  color:#316455;
  font-weight:650;
}
body.woocommerce-order-received ul.order_details{
  padding:20px!important;
  border-radius:14px;
  background:#fffdf9;
  border:1px solid rgba(82,64,48,.10);
}
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details{
  margin-top:30px;
}

/* Responsive */
@media(max-width:950px){
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals{
    width:100%;
    float:none;
  }
  body.woocommerce-cart .cart-collaterals{
    margin-top:24px;
  }
  body.woocommerce-checkout form.checkout{
    grid-template-columns:1fr;
  }
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    grid-column:1;
  }
  body.woocommerce-checkout #order_review_heading{
    margin:12px 0 0;
  }
  body.woocommerce-checkout #order_review{
    position:static;
  }
}
@media(max-width:650px){
  body.woocommerce-cart .shop_table_responsive tr td{
    padding:11px 12px!important;
  }
  body.woocommerce-cart td.product-thumbnail{
    display:block!important;
    width:auto;
  }
  body.woocommerce-cart td.product-thumbnail:before{
    display:none;
  }
  body.woocommerce-cart td.actions .coupon{
    float:none!important;
    display:grid;
    grid-template-columns:1fr;
  }
  body.woocommerce-cart td.actions .coupon .input-text{
    width:100%!important;
    min-width:0;
  }
  body.woocommerce-cart td.actions > .button{
    width:100%!important;
    margin-top:9px!important;
  }
  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout .woocommerce-shipping-fields,
  body.woocommerce-checkout #order_review{
    padding:18px;
  }
}


/* =========================================================
   v0.9.1 — WooCommerce BLOCK Cart / Checkout
   ========================================================= */

/* Пустая корзина */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block{
  max-width:1120px;
  margin:8px auto 50px;
  text-align:center;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block
.wc-block-cart__empty-cart__title{
  margin-top:18px;
  font-family:Georgia,"Times New Roman",serif;
  color:#49372d;
  font-size:24px;
  font-weight:500;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block
.wp-block-heading{
  font-family:Georgia,"Times New Roman",serif;
  color:#49372d;
  font-weight:500;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block
.wc-block-grid__products,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block
.wc-block-product-template{
  gap:18px!important;
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block
.wc-block-grid__product,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block
.wc-block-product{
  overflow:hidden;
  padding:10px!important;
  border:1px solid rgba(90,69,50,.11);
  border-radius:16px;
  background:rgba(255,255,255,.72);
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block img{
  border-radius:11px;
}

/* Новая block-корзина с товарами */
body.woocommerce-cart .wc-block-cart{
  max-width:1240px;
  margin:0 auto 70px;
}
body.woocommerce-cart .wc-block-components-sidebar-layout{
  gap:28px;
}
body.woocommerce-cart .wc-block-components-main{
  padding-right:0!important;
}
body.woocommerce-cart .wc-block-cart-items{
  overflow:hidden;
  border:1px solid rgba(82,64,48,.10)!important;
  border-radius:17px;
  background:#fffdf9;
}
body.woocommerce-cart .wc-block-cart-items thead{
  background:#f4ede4;
}
body.woocommerce-cart .wc-block-cart-items th,
body.woocommerce-cart .wc-block-cart-items td{
  border-color:rgba(80,62,47,.08)!important;
}
body.woocommerce-cart .wc-block-cart-item__image img{
  border-radius:10px;
}
body.woocommerce-cart .wc-block-components-product-name{
  font-family:Georgia,"Times New Roman",serif;
  color:#49372d!important;
  font-size:16px;
  font-weight:500;
}
body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-cart .wc-block-formatted-money-amount{
  color:var(--mm-teal);
}
body.woocommerce-cart .wc-block-components-quantity-selector{
  border-color:rgba(78,61,46,.16)!important;
  border-radius:9px!important;
  background:#fff;
}
body.woocommerce-cart .wc-block-cart-item__remove-link{
  color:#8b6e60!important;
  text-decoration:none!important;
}
body.woocommerce-cart .wc-block-cart-item__remove-link:hover{
  color:#9b574b!important;
}

/* sidebar итогов block cart */
body.woocommerce-cart .wc-block-components-sidebar{
  padding:22px!important;
  border:1px solid rgba(83,64,48,.10);
  border-radius:18px;
  background:#f6efe6;
}
body.woocommerce-cart .wc-block-cart__totals-title{
  font-family:Georgia,"Times New Roman",serif;
  font-size:23px!important;
  font-weight:500!important;
  color:#49372d;
  text-transform:none!important;
}
body.woocommerce-cart .wc-block-components-totals-wrapper{
  border-color:rgba(80,62,47,.10)!important;
}
body.woocommerce-cart .wc-block-components-button{
  min-height:50px!important;
  border-radius:10px!important;
  background:var(--mm-teal)!important;
  color:#fff!important;
  text-decoration:none!important;
}
body.woocommerce-cart .wc-block-components-button:hover{
  background:#24776e!important;
}

/* Block checkout */
body.woocommerce-checkout .wc-block-checkout{
  max-width:1240px;
  margin:0 auto 75px;
}
body.woocommerce-checkout .wc-block-checkout__main{
  padding-right:26px!important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar{
  padding:22px!important;
  border:1px solid rgba(83,64,48,.10);
  border-radius:18px;
  background:#f6efe6;
}
body.woocommerce-checkout .wc-block-components-checkout-step{
  margin-bottom:17px;
  padding:22px 24px!important;
  border:1px solid rgba(83,64,48,.10);
  border-radius:16px;
  background:#fffdf9;
}
body.woocommerce-checkout .wc-block-components-checkout-step__heading{
  font-family:Georgia,"Times New Roman",serif;
  color:#49372d;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input{
  border-color:rgba(78,61,46,.16)!important;
  border-radius:9px!important;
  background:#fff!important;
}
body.woocommerce-checkout .wc-block-components-button{
  min-height:50px!important;
  border-radius:10px!important;
  background:var(--mm-teal)!important;
  color:#fff!important;
}
body.woocommerce-checkout .wc-block-components-button:hover{
  background:#24776e!important;
}

@media(max-width:900px){
  body.woocommerce-cart .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout{
    display:block!important;
  }
  body.woocommerce-cart .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    margin-top:24px;
  }
  body.woocommerce-checkout .wc-block-checkout__main{
    padding-right:0!important;
  }
}


/* =========================================================
   v0.9.2 — корзина в шапке + тестирование товаров без цены
   ========================================================= */

.mm-cart-link{
  color:#31483a;
}
.mm-cart-icon{
  width:23px;
  height:23px;
  display:block;
}
.mm-cart-link:hover{
  color:var(--mm-teal);
}
.mm-cart-price-pending{
  color:var(--mm-teal);
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

/* Кнопка покупки должна быть заметной даже до ввода реальной цены. */
body.single-product .woocommerce div.product form.cart{
  display:flex!important;
}
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button{
  min-width:175px;
}

/* Для пустой реальной цены WooCommerce получает технические 0 ₽ только
   для логики корзины; пользователю показываем понятную подсказку. */
body.single-product .mm-single-price-pending:after{
  content:" · можно добавить в корзину для проверки заказа";
  color:#8b7e72;
  font-size:11px;
  font-weight:400;
}

@media(max-width:560px){
  .mm-cart-icon{
    width:22px;
    height:22px;
  }
  body.single-product .mm-single-price-pending:after{
    display:block;
    margin-top:3px;
  }
}


/* v0.9.3 — catalog safety patch */
body.woocommerce-shop .mm-content,
body.post-type-archive-product .mm-content,
body.tax-product_cat .mm-content{
  min-height:55vh;
}


/* =========================================================
   v0.9.4 — широкая двухколоночная Block Cart
   ========================================================= */

body.woocommerce-cart .wp-block-woocommerce-cart{
  width:min(calc(100% - 48px),1240px);
  margin:0 auto 70px!important;
}

/* В актуальном WooCommerce sidebar-layout часто является тем же узлом,
   что и wc-block-cart, поэтому задаём сетку независимо от вложенности. */
body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout,
body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1.7fr) minmax(340px,.8fr)!important;
  column-gap:30px!important;
  align-items:start!important;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-main,
body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout > .wc-block-components-main{
  width:auto!important;
  max-width:none!important;
  padding:0!important;
  margin:0!important;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar,
body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout > .wc-block-components-sidebar{
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:23px!important;
  border:1px solid rgba(83,64,48,.10);
  border-radius:18px;
  background:#f6efe6;
  position:sticky;
  top:135px;
}

body.admin-bar.woocommerce-cart .wc-block-cart .wc-block-components-sidebar,
body.admin-bar.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout > .wc-block-components-sidebar{
  top:167px;
}

/* У технически бесплатного тестового товара выводим нормальный статус. */
body.woocommerce-cart .mm-pending-price-text,
body.woocommerce-checkout .mm-pending-price-text{
  color:var(--mm-teal)!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:700!important;
  white-space:nowrap;
}

body.woocommerce-cart .mm-pending-order-total,
body.woocommerce-checkout .mm-pending-order-total{
  color:var(--mm-teal)!important;
  font-size:15px!important;
  font-weight:750!important;
}

body.woocommerce-cart .mm-pending-price-item .wc-block-components-product-price__value{
  display:none!important;
}

@media(max-width:950px){
  body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout,
  body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout{
    grid-template-columns:1fr!important;
    row-gap:24px!important;
  }
  body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar,
  body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout > .wc-block-components-sidebar{
    position:static!important;
  }
}

@media(max-width:560px){
  body.woocommerce-cart .wp-block-woocommerce-cart{
    width:min(calc(100% - 24px),1240px);
  }
}


/* =========================================================
   v0.9.6 — безопасная точечная правка таблицы корзины
   База: рабочая v0.9.4
   ========================================================= */

/* "Товар" немного внутрь от левого края. */
body.woocommerce-cart
.wc-block-cart-items
.wc-block-cart-items__header-image{
  padding-left:22px!important;
}

/* "Итого" немного внутрь от правого края. */
body.woocommerce-cart
.wc-block-cart-items
.wc-block-cart-items__header-total{
  padding-right:22px!important;
  text-align:right!important;
}

/* Сумма строки строго под колонкой "Итого". */
body.woocommerce-cart
.wc-block-cart-items
.wc-block-cart-item__total{
  padding-right:22px!important;
  text-align:right!important;
}

body.woocommerce-cart
.wc-block-cart-items
.wc-block-cart-item__total
.wc-block-cart-item__total-price-and-sale-badge-wrapper{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
}

/* Убираем вторую цену возле названия товара:
   она должна быть только справа в "Итого". */
body.woocommerce-cart
.wc-block-cart-items
.wc-block-cart-item__product
.wc-block-cart-item__prices{
  display:none!important;
}

/* Немного воздуха слева у содержимого товара. */
body.woocommerce-cart
.wc-block-cart-items
.wc-block-cart-item__product{
  padding-left:10px!important;
}

@media(max-width:560px){
  body.woocommerce-cart
  .wc-block-cart-items
  .wc-block-cart-items__header-image{
    padding-left:14px!important;
  }

  body.woocommerce-cart
  .wc-block-cart-items
  .wc-block-cart-items__header-total,
  body.woocommerce-cart
  .wc-block-cart-items
  .wc-block-cart-item__total{
    padding-right:14px!important;
  }
}


/* =========================================================
   v0.9.7 — стабильная и чёткая галерея товара
   ========================================================= */

/* Полностью нейтрализуем стили/opacity штатного WooCommerce slider,
   если какие-либо из них всё же присутствуют на странице. */
body.single-product .mm-product-gallery{
  opacity:1!important;
  visibility:visible!important;
  min-height:0!important;
}

body.single-product .mm-fallback-gallery{
  width:100%;
  opacity:1!important;
  visibility:visible!important;
}

body.single-product .mm-fallback-gallery-main{
  width:100%;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f5f1ea;
}

body.single-product .mm-fallback-gallery-main img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:590px!important;
  object-fit:contain!important;
  opacity:1!important;
  visibility:visible!important;
  image-rendering:auto;
}

/* Чёткие миниатюры: используем сами полноразмерные фото и только уменьшаем
   их браузером, а не растягиваем маленькие WooCommerce thumbnails. */
body.single-product .mm-fallback-gallery-thumbs{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin-top:12px!important;
}

body.single-product .mm-fallback-thumb{
  width:100%;
  min-width:0;
  padding:4px!important;
  border:1px solid rgba(75,60,47,.14)!important;
  border-radius:10px!important;
  background:#fff!important;
  overflow:hidden;
  opacity:1!important;
}

body.single-product .mm-fallback-thumb img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  object-position:center!important;
  opacity:1!important;
  filter:none!important;
  image-rendering:auto;
  transform:none!important;
}

body.single-product .mm-fallback-thumb.is-active{
  border-color:var(--mm-teal)!important;
  box-shadow:0 0 0 2px rgba(47,139,128,.12)!important;
}

/* На широком экране не делаем миниатюры слишком крупными —
   чем меньше визуальный размер, тем чётче воспринимается фото. */
@media(min-width:821px){
  body.single-product .mm-fallback-gallery-thumbs{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

@media(max-width:560px){
  body.single-product .mm-fallback-gallery-thumbs{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:7px!important;
  }
  body.single-product .mm-fallback-thumb{
    padding:2px!important;
  }
}

/* =========================================================
   v0.9.8 — увеличение левого блока корзины (товар)
   Изменено только: размер левого блока, фото и шрифты слева.
   ========================================================= */

/* Делаем левую товарную колонку заметно шире, правую — чуть уже. */
body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout,
body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout{
  grid-template-columns:minmax(0,2.25fr) minmax(300px,.6fr)!important;
}

/* Увеличиваем изображение товара примерно в 1.5 раза. */
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image{
  width:118px!important;
  min-width:118px!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image img{
  width:108px!important;
  max-width:108px!important;
  height:auto!important;
  border-radius:12px;
}

/* Увеличиваем отступы и делаем контент товара крупнее. */
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__product{
  padding-left:16px!important;
}

/* Заголовки таблицы слева/справа — чуть крупнее. */
body.woocommerce-cart .wc-block-cart-items th{
  font-size:15px!important;
}

/* Название товара. */
body.woocommerce-cart .wc-block-components-product-name{
  font-size:24px!important;
  line-height:1.2!important;
}

/* Описание/дополнительные подписи внутри левого блока. */
body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-details,
body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-details__description,
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__product .wc-block-components-product-name + *{
  font-size:18px!important;
  line-height:1.45!important;
}

/* Количество и кнопки +/- в левом блоке. */
body.woocommerce-cart .wc-block-cart-items .wc-block-components-quantity-selector{
  min-height:42px!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-components-quantity-selector input,
body.woocommerce-cart .wc-block-cart-items .wc-block-components-quantity-selector button{
  font-size:18px!important;
}

/* Ссылка удаления — тоже чуть крупнее. */
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__remove-link,
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__remove-link-container{
  font-size:17px!important;
}

/* На планшетах чуть скромнее, чтобы не ломать сетку. */
@media(max-width:1200px){
  body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout,
  body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout{
    grid-template-columns:minmax(0,2fr) minmax(300px,.7fr)!important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image{
    width:104px!important;
    min-width:104px!important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image img{
    width:96px!important;
    max-width:96px!important;
  }
  body.woocommerce-cart .wc-block-components-product-name{
    font-size:21px!important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-metadata,
  body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-details,
  body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-details__description,
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__product .wc-block-components-product-name + *{
    font-size:16px!important;
  }
}


/* v0.9.10 — увеличиваем шрифт цены товара в корзине */
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total,
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-formatted-money-amount,
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-components-product-price,
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-components-product-price__value{
  font-size:24px!important;
  line-height:1.2!important;
  font-weight:600!important;
}

@media(max-width:1200px){
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total,
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-formatted-money-amount,
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-components-product-price,
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-components-product-price__value{
    font-size:21px!important;
  }
}


/* =========================================================
   v0.9.11 — блок итогов корзины
   Меняем только правый блок корзины.
   ========================================================= */

/* Заголовок блока итогов. */
body.woocommerce-cart .wc-block-cart__totals-title{
  font-size:26px!important;
  line-height:1.2!important;
  font-weight:600!important;
  color:#49372d!important;
}

/* Подписи: подытог, доставка и прочие строки. */
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-item__description,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-panel__button,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-coupon__button{
  font-size:16px!important;
  line-height:1.35!important;
}

/* Значения сумм справа. */
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-formatted-money-amount{
  font-size:17px!important;
  line-height:1.3!important;
}

/* Финальная сумма — чуть заметнее. */
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-formatted-money-amount{
  font-size:20px!important;
  font-weight:700!important;
}


/* =========================================================
   v0.9.12 — увеличиваем предполагаемый итог в корзине
   Только финальная сумма справа.
   ========================================================= */
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-formatted-money-amount,
body.woocommerce-cart .wc-block-components-sidebar .mm-pending-order-total{
  font-size:26px!important;
  line-height:1.2!important;
  font-weight:700!important;
}

@media(max-width:1200px){
  body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
  body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
  body.woocommerce-cart .wc-block-components-sidebar .wc-block-formatted-money-amount,
  body.woocommerce-cart .wc-block-components-sidebar .mm-pending-order-total{
    font-size:23px!important;
  }
}

/* =========================================================
   v0.9.15 — утверждённая главная шапка Mamimu
   ========================================================= */

/* Промо-полоса как в утверждённом макете */
.mm-topbar-live{
  width:min(calc(100% - 72px),1580px);
  min-height:43px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.mm-topbar-left{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}
.mm-topbar-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  font-size:14px;
  font-weight:600;
}
.mm-topbar-item svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 auto;
}
.mm-topbar-gift{margin-left:auto}

/* Живая навигация поверх дизайна — без превращения шапки в картинку */
.site-header{
  background:#fffdf9;
}
.mm-header-live{
  width:min(calc(100% - 72px),1580px);
  min-height:97px;
  margin-inline:auto;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:24px;
}
.mm-header-live .mm-nav{
  font-size:15px;
  gap:34px;
}
.mm-brand-live{
  min-width:180px;
  flex-direction:column;
  gap:2px;
}
.mm-brand-live img{
  width:84px;
  height:50px;
  object-fit:contain;
}
.mm-brand-live strong{
  display:block;
  color:#3f3128;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:20px;
  line-height:1;
  font-weight:400;
  letter-spacing:.18em;
  padding-left:.18em;
}
.mm-tool-svg svg{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mm-header-live .mm-tool{
  width:34px;
  height:34px;
}
.mm-header-live .mm-cart-icon{
  width:22px;
  height:22px;
}

/* Главная hero: используем утверждённый макет как неизменяемый визуальный слой. */
.home .mm-home-hero{
  width:100%;
  background:#fbf8f1;
  overflow:hidden;
}
.mm-home-hero-art{
  position:relative;
  width:min(100%,1672px);
  margin-inline:auto;
}
.mm-home-hero-art > img{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
}
.mm-home-hero-hotspot{
  position:absolute;
  z-index:5;
  display:block;
  border-radius:8px;
}
.mm-home-hero-hotspot:focus-visible{
  outline:3px solid rgba(23,99,79,.65);
  outline-offset:3px;
}
/* Координаты кнопок внутри утверждённого crop 1672×741. */
.mm-home-hero-catalog{
  left:4.75%;
  top:70.85%;
  width:15.9%;
  height:9.25%;
}
.mm-home-hero-gift{
  left:21.85%;
  top:70.85%;
  width:15.95%;
  height:9.25%;
}
.mm-home-hero-mobile-actions{display:none}
.mm-btn-outline{
  background:transparent;
  color:var(--mm-ink);
  border-color:var(--mm-ink);
}

/* Первая секция после hero не должна иметь лишний верхний зазор. */
.home .mm-home-hero + .mm-section{padding-top:34px}

@media(max-width:1050px){
  .mm-topbar-live,
  .mm-header-live{width:min(calc(100% - 36px),1580px)}
  .mm-header-live{min-height:88px;grid-template-columns:1fr auto}
  .mm-header-live .mm-nav.left{display:none}
  .mm-header-live .mm-nav.right{gap:20px}
  .mm-brand-live{justify-self:start;min-width:0;flex-direction:row;gap:10px}
  .mm-brand-live img{width:68px;height:44px}
  .mm-brand-live strong{font-size:19px}
  .mm-topbar-item{font-size:12px}
  .mm-topbar-left .mm-topbar-item:nth-of-type(2){display:none}
}

@media(max-width:700px){
  .mm-topbar-live{width:calc(100% - 24px);min-height:38px;justify-content:center}
  .mm-topbar-left{gap:0}
  .mm-topbar-left .mm-topbar-item:not(:first-child),
  .mm-topbar-dot,
  .mm-topbar-gift{display:none}
  .mm-topbar-item{font-size:11px;white-space:normal;text-align:center}

  .mm-header-live{width:calc(100% - 24px);min-height:68px;gap:8px}
  .mm-brand-live img{width:50px;height:34px}
  .mm-brand-live strong{font-size:15px;letter-spacing:.12em;padding-left:.12em}
  .mm-header-live .mm-nav.right > a{display:none}
  .mm-header-live .mm-header-tools{margin-left:0;gap:1px}
  .mm-header-live .mm-tool{width:34px;height:34px}

  .mm-home-hero-art{
    width:1180px;
    max-width:none;
    margin-left:50%;
    transform:translateX(-39%);
  }
  .mm-home-hero-hotspot{display:none}
  .mm-home-hero-mobile-actions{
    display:flex;
    gap:10px;
    padding:14px 18px 22px;
    justify-content:center;
  }
  .mm-home-hero-mobile-actions .mm-btn{
    min-height:44px;
    padding:0 15px;
    font-size:13px;
  }
}

/* =========================================================
   v0.9.17 — фон по краям hero без растягивания макета
   Центральный утверждённый hero остаётся как в v0.9.15.
   ========================================================= */
.home .mm-home-hero{
  position:relative;
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:#f9f6ef;
  overflow:hidden;
  isolation:isolate;
}
.home .mm-home-hero::before{
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  right:0;
  bottom:0;
  width:50%;
  background:#f9f6ef url("assets/img/hero-side-green.png") left center/cover no-repeat;
  pointer-events:none;
}
.home .mm-home-hero::after{
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  left:0;
  bottom:0;
  width:50%;
  background:#f9f6ef;
  pointer-events:none;
}
.home .mm-home-hero-art{
  z-index:1;
  width:min(100%,1672px);
  max-width:1672px;
  margin-inline:auto;
}
.home .mm-home-hero-art > img{
  width:100%;
  max-width:1672px;
}
.home .mm-home-hero-mobile-actions{
  position:relative;
  z-index:2;
}


/* =========================================================
   v0.9.18 — единый hero от края до края без растягивания макета
   ========================================================= */
.home .mm-home-hero{
  position:relative;
  width:100%;
  margin-left:0;
  margin-right:0;
  background:#f2e9e0;
  overflow:hidden;
  isolation:isolate;
}
.home .mm-home-hero::after{
  display:none!important;
}
.home .mm-home-hero::before{
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  right:0;
  bottom:0;
  width:max(0px, calc((100% - 1672px) / 2));
  background:#d6dfcb url("assets/img/hero-side-green-seamless.png") left center/100% 100% no-repeat;
  pointer-events:none;
}
.home .mm-home-hero-art{
  position:relative;
  z-index:1;
  width:min(100%,1672px);
  max-width:1672px;
  margin-inline:auto;
}
.home .mm-home-hero-art > img{
  display:block;
  width:100%;
  max-width:1672px;
  height:auto;
}

/* =========================================================
   v0.9.19 — одобренный hero: левую сторону не меняем,
   справа равномерное продолжение зелёных мазков.
   ========================================================= */
.mm-brand-live{
  gap:0;
}

.home .mm-home-hero{
  background:#f2e9e0; /* левая сторона остаётся как в v0.9.18 */
}

.home .mm-home-hero::before{
  content:"";
  display:block!important;
  position:absolute;
  z-index:0;
  top:0;
  right:0;
  bottom:0;
  /* небольшой заход под центральный макет скрывает стык */
  width:max(42px, calc((100% - 1672px) / 2 + 42px));
  background:
    radial-gradient(115% 42% at 0% 18%, rgba(194,219,198,.62) 0 44%, rgba(194,219,198,0) 72%),
    radial-gradient(125% 48% at 0% 50%, rgba(165,207,184,.68) 0 48%, rgba(165,207,184,0) 76%),
    radial-gradient(120% 42% at 0% 79%, rgba(184,215,193,.55) 0 46%, rgba(184,215,193,0) 76%),
    linear-gradient(90deg,#dce8d9 0%,#e5ecdf 58%,#f1ede5 100%);
  pointer-events:none;
}


/* =========================================================
   v0.9.20 — возвращаем «МАМИМУ» и делаем правый край
   продолжением реального фонового мазка из approved hero.
   Центральный hero и левая сторона не меняются.
   ========================================================= */
.mm-brand-live{
  gap:2px;
}
.mm-brand-live strong{
  display:block;
}

.home .mm-home-hero::before{
  content:"";
  display:block!important;
  position:absolute;
  z-index:0;
  top:0;
  right:0;
  bottom:0;
  width:max(42px, calc((100% - 1672px) / 2 + 42px));
  background:#edf1e8 url("assets/img/hero-side-brush-right.jpg") left center/100% 100% no-repeat;
  pointer-events:none;
}

/* =========================================================
   v0.9.21 — hero пиксель-в-пиксель из утверждённого макета
   ========================================================= */
.home .mm-home-hero{
  position:relative;
  width:100%;
  margin:0;
  background:#f5efe7;
  overflow:hidden;
  isolation:auto;
}
.home .mm-home-hero::before,
.home .mm-home-hero::after{
  content:none!important;
  display:none!important;
}
.home .mm-home-hero-art{
  position:relative;
  z-index:1;
  width:100%;
  max-width:none;
  margin:0;
}
.home .mm-home-hero-art > img{
  display:block;
  width:100%;
  max-width:none;
  height:auto;
}
/* Hotspots for exact 1637×640 approved hero crop. */
.home .mm-home-hero-catalog{
  left:10.32%;
  top:71.56%;
  width:13.81%;
  height:8.75%;
}
.home .mm-home-hero-gift{
  left:25.23%;
  top:71.56%;
  width:14.05%;
  height:8.75%;
}


/* =========================================================
   v0.9.22 — убрать линию под шапкой и подписи под CTA
   ========================================================= */
.site-header{border-bottom:none!important;}
.home .mm-home-hero{margin-top:0;}
/* Hotspots for cropped 1637×560 hero */
.home .mm-home-hero-catalog{left:10.32%;top:81.79%;width:13.81%;height:10.00%;}
.home .mm-home-hero-gift{left:25.23%;top:81.79%;width:14.05%;height:10.00%;}


/* =========================================================
   v0.9.23 — блок категорий. Верхняя часть v0.9.22 не меняется.
   ========================================================= */
.home .mm-categories-section{
  padding:52px 0 26px;
  background:linear-gradient(180deg,#fbf8f1 0%,#f7f1e9 100%);
}
.home .mm-categories-section .mm-section-head{
  align-items:center;
  margin-bottom:24px;
}
.home .mm-categories-section .mm-section-head h2{
  font-size:36px;
  line-height:1.1;
}
.home .mm-categories-section .mm-more{
  font-size:14px;
  font-weight:600;
}
.home .mm-categories-section .mm-category-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
}
.home .mm-categories-section .mm-category{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  background:#fffdf9;
  border:1px solid rgba(92,70,52,.10);
  box-shadow:0 10px 28px rgba(79,58,40,.07);
  text-align:left;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.home .mm-categories-section .mm-category:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 34px rgba(79,58,40,.11);
  border-color:rgba(47,139,128,.26);
}
.home .mm-categories-section .mm-category img{
  width:100%;
  aspect-ratio:1.12/1;
  object-fit:cover;
  object-position:center;
  background:#f4eee7;
  transition:transform .35s ease;
}
.home .mm-categories-section .mm-category:hover img{
  transform:scale(1.025);
}
.home .mm-categories-section .mm-category strong{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:64px;
  padding:15px 42px 15px 18px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:20px;
  line-height:1.2;
  font-weight:500;
  color:#49372d;
  background:#fffdf9;
}
.home .mm-categories-section .mm-category strong::after{
  content:"→";
  position:absolute;
  right:17px;
  top:50%;
  transform:translateY(-50%);
  color:var(--mm-teal);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:19px;
  font-weight:500;
  transition:transform .2s ease;
}
.home .mm-categories-section .mm-category:hover strong::after{
  transform:translate(3px,-50%);
}

@media(max-width:1050px){
  .home .mm-categories-section .mm-category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:700px){
  .home .mm-categories-section{padding:36px 0 18px;}
  .home .mm-categories-section .mm-section-head h2{font-size:30px;}
  .home .mm-categories-section .mm-category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .home .mm-categories-section .mm-category strong{
    min-height:56px;
    padding:12px 34px 12px 13px;
    font-size:17px;
  }
}
\n\n/* =========================================================\n   v0.9.24 — категории с минималистичными фирменными иконками\n   Верхняя часть главной остаётся без изменений.\n   ========================================================= */\n.home .mm-categories-section{\n  padding-top:32px;\n  padding-bottom:30px;\n  background:#fbf8f1;\n}\n.home .mm-categories-section .mm-section-head{\n  margin-bottom:20px;\n}\n.home .mm-categories-section .mm-category-grid{\n  grid-template-columns:repeat(5,minmax(0,1fr));\n  gap:16px;\n}\n.home .mm-categories-section .mm-category{\n  min-height:270px;\n  display:flex;\n  flex-direction:column;\n  align-items:center;\n  justify-content:flex-start;\n  padding:20px 16px 18px;\n  background:rgba(255,253,249,.72);\n  border:1px solid rgba(92,70,50,.11);\n  border-radius:18px;\n  box-shadow:0 7px 20px rgba(70,52,35,.045);\n  text-align:center;\n  overflow:visible;\n}\n.home .mm-categories-section .mm-category:hover{\n  transform:translateY(-3px);\n  border-color:rgba(47,139,128,.25);\n  box-shadow:0 12px 26px rgba(70,52,35,.08);\n}\n.home .mm-categories-section .mm-category-icon{\n  width:170px;\n  height:170px;\n  display:grid;\n  place-items:center;\n  margin:0 auto 14px;\n}\n.home .mm-categories-section .mm-category-icon img{\n  width:100%;\n  height:100%;\n  object-fit:contain;\n  background:transparent;\n  border-radius:50%;\n  box-shadow:none;\n  transition:transform .2s ease;\n}\n.home .mm-categories-section .mm-category:hover .mm-category-icon img{\n  transform:scale(1.035);\n}\n.home .mm-categories-section .mm-category strong{\n  position:relative;\n  width:100%;\n  min-height:48px;\n  padding:0 24px 0 0;\n  display:flex;\n  align-items:center;\n  justify-content:center;\n  font-family:Georgia,"Times New Roman",serif;\n  font-size:20px;\n  line-height:1.18;\n  font-weight:500;\n  color:#5a3b25;\n}\n.home .mm-categories-section .mm-category strong::after{\n  content:"→";\n  position:absolute;\n  right:0;\n  top:50%;\n  transform:translateY(-50%);\n  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;\n  font-size:17px;\n  font-weight:400;\n  color:var(--mm-teal);\n  transition:transform .18s ease;\n}\n.home .mm-categories-section .mm-category:hover strong::after{\n  transform:translate(3px,-50%);\n}\n@media(max-width:1050px){\n  .home .mm-categories-section .mm-category-grid{grid-template-columns:repeat(3,1fr)}\n}\n@media(max-width:700px){\n  .home .mm-categories-section .mm-category-grid{grid-template-columns:repeat(2,1fr);gap:12px}\n  .home .mm-categories-section .mm-category{min-height:220px;padding:15px 10px}\n  .home .mm-categories-section .mm-category-icon{width:132px;height:132px;margin-bottom:10px}\n  .home .mm-categories-section .mm-category strong{font-size:16px;min-height:44px;padding-right:18px}\n}\n

/* =========================================================
   v0.9.25 — категории: центрирование названий, без стрелок,
   иконки целиком, фон совпадает с фоном сайта.
   ========================================================= */
.home .mm-categories-section{
  padding-top:32px;
  padding-bottom:30px;
  background:var(--mm-cream);
}
.home .mm-categories-section .mm-section-head{
  margin-bottom:20px;
}
.home .mm-categories-section .mm-category-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
}
.home .mm-categories-section .mm-category{
  min-height:290px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding:18px 16px 16px;
  background:var(--mm-cream);
  border:1px solid rgba(92,70,50,.10);
  border-radius:18px;
  box-shadow:0 4px 14px rgba(70,52,35,.035);
  text-align:center;
  overflow:visible;
}
.home .mm-categories-section .mm-category:hover{
  transform:translateY(-3px);
  border-color:rgba(47,139,128,.22);
  box-shadow:0 10px 22px rgba(70,52,35,.07);
}
.home .mm-categories-section .mm-category-icon{
  width:190px;
  height:190px;
  flex:0 0 190px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 12px;
  background:transparent;
}
.home .mm-categories-section .mm-category-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:transparent;
  border-radius:0;
  box-shadow:none;
  transition:transform .2s ease;
}
.home .mm-categories-section .mm-category:hover .mm-category-icon img{
  transform:scale(1.03);
}
.home .mm-categories-section .mm-category strong{
  position:static;
  width:100%;
  min-height:52px;
  margin-top:auto;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-family:Georgia,"Times New Roman",serif;
  font-size:20px;
  line-height:1.18;
  font-weight:500;
  color:#5a3b25;
  background:transparent;
}
.home .mm-categories-section .mm-category strong::after{
  content:none;
  display:none;
}
@media(max-width:1050px){
  .home .mm-categories-section .mm-category-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:700px){
  .home .mm-categories-section .mm-category-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .home .mm-categories-section .mm-category{min-height:240px;padding:14px 10px}
  .home .mm-categories-section .mm-category-icon{width:148px;height:148px;flex-basis:148px;margin-bottom:10px}
  .home .mm-categories-section .mm-category strong{font-size:16px;min-height:44px}
}


/* =========================================================
   v0.9.26 — категории без светлых прямоугольных подложек.
   ========================================================= */
.home .mm-categories-section .mm-category{
  background:transparent;
  border:none;
  box-shadow:none;
  border-radius:0;
  padding:10px 8px 8px;
}
.home .mm-categories-section .mm-category:hover{
  transform:none;
  border:none;
  box-shadow:none;
}
.home .mm-categories-section .mm-category strong{
  background:transparent;
}


/* =========================================================
   v0.9.27 — главная: реальные товары WooCommerce в «Популярных».
   Hero и категории v0.9.26 не меняются.
   ========================================================= */
.home .mm-popular-section{
  padding-top:38px;
  padding-bottom:34px;
  background:var(--mm-cream);
}
.home .mm-popular-section .mm-section-head{
  margin-bottom:22px;
  align-items:center;
}
.home .mm-home-products{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:16px;
}
.home .mm-home-product{
  min-width:0;
  display:flex;
  flex-direction:column;
  background:rgba(255,253,249,.68);
  border:1px solid rgba(92,70,50,.10);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 5px 16px rgba(70,52,35,.04);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.home .mm-home-product:hover{
  transform:translateY(-3px);
  border-color:rgba(47,139,128,.22);
  box-shadow:0 12px 25px rgba(70,52,35,.08);
}
.home .mm-home-product-image{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#f4eee7;
}
.home .mm-home-product-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .3s ease;
}
.home .mm-home-product:hover .mm-home-product-image img{
  transform:scale(1.025);
}
.home .mm-home-product-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  font-family:Georgia,"Times New Roman",serif;
  font-size:56px;
  color:rgba(23,99,79,.28);
  background:linear-gradient(135deg,#f7f0e6,#eee3d4);
}
.home .mm-home-product-info{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:14px 14px 15px;
}
.home .mm-home-product-title{
  min-height:44px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:17px;
  line-height:1.28;
  font-weight:500;
  color:#49372d;
}
.home .mm-home-product-bottom{
  margin-top:auto;
  padding-top:13px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
}
.home .mm-home-product-price{
  font-size:16px;
  line-height:1.2;
  font-weight:700;
  color:var(--mm-green);
}
.home .mm-home-product-price del{
  color:#9b8f84;
  font-size:12px;
  font-weight:400;
}
.home .mm-home-product-price ins{
  text-decoration:none;
}
.home .mm-home-product-price-pending{
  font-size:14px;
  font-weight:650;
  white-space:nowrap;
}
.home .mm-home-product-more{
  font-size:12px;
  color:var(--mm-teal);
  white-space:nowrap;
}
.home .mm-home-products-empty{
  grid-column:1/-1;
  padding:30px;
  text-align:center;
  color:#807468;
  border:1px dashed rgba(92,70,50,.18);
  border-radius:14px;
}
@media(max-width:1200px){
  .home .mm-home-products{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:700px){
  .home .mm-home-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .home .mm-home-product-info{padding:11px 10px 12px;}
  .home .mm-home-product-title{font-size:15px;min-height:40px;}
  .home .mm-home-product-price{font-size:14px;}
  .home .mm-home-product-price-pending{font-size:12px;white-space:normal;}
  .home .mm-home-product-more{display:none;}
}


/* =========================================================
   v0.9.29 — убрать белый фон у фото товаров без редактирования самих фото
   ========================================================= */
.woocommerce div.product div.images .woocommerce-product-gallery__image,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image > a,
.woocommerce div.product div.images .flex-control-thumbs li,
.woocommerce ul.products li.product a,
.mm-product-card,
body.woocommerce-cart td.product-thumbnail,
body.woocommerce-checkout td.product-name{
  background:var(--mm-cream);
  isolation:isolate;
}

.woocommerce ul.products li.product a img,
.mm-product-card img,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product div.images .flex-control-thumbs img,
body.woocommerce-cart td.product-thumbnail img,
body.woocommerce-checkout .product-thumbnail img{
  background:transparent !important;
  mix-blend-mode:multiply;
}

/* Главная фотография товара и миниатюры — фон страницы вместо белого */
.woocommerce div.product div.images .woocommerce-product-gallery__image,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image > a,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product div.images .flex-control-thumbs img{
  background:var(--mm-cream) !important;
}

/* Фото в сетках каталога / популярных товаров */
.woocommerce ul.products li.product a img,
.mm-product-card img{
  background:var(--mm-cream) !important;
}


/* =========================================================
   v0.9.30 — миниатюры галереи без белых подложек
   ========================================================= */
body.single-product .woocommerce div.product div.images .flex-control-thumbs{
  align-items:start;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs li{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  overflow:visible !important;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs img{
  display:block;
  width:100% !important;
  height:auto !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:1px solid transparent !important;
  border-radius:8px !important;
  box-shadow:none !important;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs img.flex-active{
  border-color:var(--mm-teal) !important;
  outline:none !important;
  box-shadow:0 0 0 1px rgba(47,139,128,.18) !important;
}


/* =========================================================
   v0.9.31 — убрать белые рамки/подложки у миниатюр в карточке товара
   ========================================================= */
body.single-product .mm-fallback-gallery-thumbs{
  background:transparent !important;
}

body.single-product .mm-fallback-thumb{
  padding:0 !important;
  border:1px solid transparent !important;
  border-radius:10px !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}

body.single-product .mm-fallback-thumb img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  border-radius:8px !important;
}

body.single-product .mm-fallback-thumb.is-active{
  border-color:var(--mm-teal) !important;
  box-shadow:0 0 0 1px rgba(47,139,128,.18) !important;
}


/* =========================================================
   v0.9.32 — убрать белые рамки/подложки в каталоге магазина
   ========================================================= */
body.post-type-archive-product .woocommerce ul.products li.product,
body.tax-product_cat .woocommerce ul.products li.product,
body.tax-product_tag .woocommerce ul.products li.product,
body.search-results .woocommerce ul.products li.product{
  padding:0 0 18px !important;
  border:none !important;
  background:transparent !important;
  box-shadow:none !important;
}

body.post-type-archive-product .woocommerce ul.products li.product:hover,
body.tax-product_cat .woocommerce ul.products li.product:hover,
body.tax-product_tag .woocommerce ul.products li.product:hover,
body.search-results .woocommerce ul.products li.product:hover{
  transform:none !important;
  box-shadow:none !important;
}

body.post-type-archive-product .woocommerce ul.products li.product a img,
body.tax-product_cat .woocommerce ul.products li.product a img,
body.tax-product_tag .woocommerce ul.products li.product a img,
body.search-results .woocommerce ul.products li.product a img{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  object-fit:contain !important;
}


/* =========================================================
   v0.9.33 — каталог: убрать белые карточки и подложки глобально
   ========================================================= */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  padding:0 0 18px !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover{
  transform:none !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

.woocommerce ul.products li.product > a,
.woocommerce-page ul.products li.product > a,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  margin:0 0 14px !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price{
  background:transparent !important;
}


/* =========================================================
   v0.9.34 — ровная сетка каталога + прозрачные PNG без пустых полей
   ========================================================= */
.woocommerce ul.products,
.woocommerce-page ul.products{
  align-items:start !important;
  grid-auto-flow:row !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  align-self:start !important;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img{
  width:100% !important;
  height:clamp(190px, 18vw, 270px) !important;
  object-fit:contain !important;
  object-position:center !important;
}

@media (max-width:980px){
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img{
    height:clamp(190px, 28vw, 260px) !important;
  }
}

@media (max-width:640px){
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img{
    height:220px !important;
  }
}

/* =========================================================
   v0.9.35 — каталог: лёгкая подложка + центрирование карточек
   ========================================================= */
body.post-type-archive-product .woocommerce ul.products,
body.tax-product_cat .woocommerce ul.products,
body.tax-product_tag .woocommerce ul.products,
body.search-results .woocommerce ul.products{
  align-items:stretch !important;
}

body.post-type-archive-product .woocommerce ul.products li.product,
body.tax-product_cat .woocommerce ul.products li.product,
body.tax-product_tag .woocommerce ul.products li.product,
body.search-results .woocommerce ul.products li.product{
  align-self:stretch !important;
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  padding:14px 14px 18px !important;
  background:rgba(64,52,43,.028) !important;
  border:0 !important;
  border-radius:14px !important;
  box-shadow:none !important;
  overflow:hidden !important;
  text-align:center !important;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}

body.post-type-archive-product .woocommerce ul.products li.product:hover,
body.tax-product_cat .woocommerce ul.products li.product:hover,
body.tax-product_tag .woocommerce ul.products li.product:hover,
body.search-results .woocommerce ul.products li.product:hover{
  transform:translateY(-1px) !important;
  background:rgba(64,52,43,.034) !important;
  box-shadow:0 8px 20px rgba(70,52,35,.065) !important;
}

body.post-type-archive-product .woocommerce ul.products li.product > a,
body.tax-product_cat .woocommerce ul.products li.product > a,
body.tax-product_tag .woocommerce ul.products li.product > a,
body.search-results .woocommerce ul.products li.product > a,
body.post-type-archive-product .woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
body.tax-product_cat .woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
body.tax-product_tag .woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
body.search-results .woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  width:100% !important;
  flex:1 1 auto !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  background:transparent !important;
  text-align:center !important;
}

body.post-type-archive-product .woocommerce ul.products li.product a img,
body.tax-product_cat .woocommerce ul.products li.product a img,
body.tax-product_tag .woocommerce ul.products li.product a img,
body.search-results .woocommerce ul.products li.product a img{
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.search-results .woocommerce ul.products li.product .woocommerce-loop-product__title{
  width:100% !important;
  min-height:2.7em !important;
  margin:6px 0 8px !important;
  padding:0 4px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
}

body.post-type-archive-product .woocommerce ul.products li.product .price,
body.tax-product_cat .woocommerce ul.products li.product .price,
body.tax-product_tag .woocommerce ul.products li.product .price,
body.search-results .woocommerce ul.products li.product .price{
  width:100% !important;
  margin:4px 0 0 !important;
  padding:0 !important;
  text-align:center !important;
}

body.post-type-archive-product .woocommerce ul.products li.product .button,
body.tax-product_cat .woocommerce ul.products li.product .button,
body.tax-product_tag .woocommerce ul.products li.product .button,
body.search-results .woocommerce ul.products li.product .button{
  align-self:center !important;
  margin:13px auto 0 !important;
}


/* =========================================================
   v0.9.36 — каталог: гарантированная лёгкая подложка + центр
   Без привязки к body-классам WooCommerce.
   ========================================================= */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  align-self:stretch !important;
  height:100% !important;
  padding:14px 14px 18px !important;
  background:#f6f1e9 !important;
  border:0 !important;
  border-radius:14px !important;
  box-shadow:none !important;
  overflow:hidden !important;
  text-align:center !important;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover,
ul.products li.product:hover{
  transform:translateY(-2px) !important;
  background:#f4ede4 !important;
  box-shadow:0 8px 22px rgba(70,52,35,.08) !important;
}

.woocommerce ul.products li.product > a,
.woocommerce-page ul.products li.product > a,
ul.products li.product > a,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link,
ul.products li.product a.woocommerce-LoopProduct-link{
  width:100% !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  flex:1 1 auto !important;
  text-align:center !important;
  background:transparent !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce-page ul.products li.product h2,
ul.products li.product h2{
  width:100% !important;
  min-height:2.8em !important;
  margin:8px 0 8px !important;
  padding:0 4px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
ul.products li.product .price{
  width:100% !important;
  margin:4px 0 0 !important;
  text-align:center !important;
  justify-content:center !important;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product a.button,
ul.products li.product a.button{
  align-self:center !important;
  margin:13px auto 0 !important;
  text-align:center !important;
}


/* =========================================================
   v0.9.37 — финальная компоновка карточки товара
   Только single product: каталог и главная не меняются.
   ========================================================= */
@media (min-width:821px){
  body.single-product .mm-content{
    margin-top:38px;
  }

  body.single-product .woocommerce div.product{
    max-width:1260px;
  }

  body.single-product .woocommerce div.product div.images{
    width:50%!important;
    max-width:610px;
    margin-bottom:34px!important;
  }

  body.single-product .woocommerce div.product div.summary{
    width:44%!important;
    max-width:535px;
    margin-bottom:34px!important;
    padding:28px 30px 26px!important;
    background:#f6f1e9;
    border-radius:20px;
    box-shadow:0 8px 26px rgba(70,52,35,.055);
  }
}

/* Основное фото — спокойная подложка в цвет сайта, без белой рамки. */
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image > a,
body.single-product .mm-fallback-gallery-main{
  background:#f6f1e9!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:20px!important;
}

body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img,
body.single-product .mm-fallback-gallery-main img{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:18px!important;
}

/* Миниатюры — компактно в одну линию на широком экране. */
body.single-product .woocommerce div.product div.images .flex-control-thumbs,
body.single-product .mm-fallback-gallery-thumbs{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:9px!important;
  margin-top:12px!important;
  background:transparent!important;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs li,
body.single-product .mm-fallback-thumb{
  min-width:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs img,
body.single-product .mm-fallback-thumb img{
  width:100%!important;
  height:82px!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:0!important;
  background:transparent!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  box-shadow:none!important;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs img.flex-active,
body.single-product .mm-fallback-thumb.is-active{
  border-color:var(--mm-teal)!important;
  box-shadow:0 0 0 1px rgba(47,139,128,.14)!important;
}

/* Правый информационный блок. */
body.single-product .woocommerce div.product .product_title{
  margin:0 0 15px!important;
  font-size:clamp(34px,3vw,46px)!important;
  line-height:1.06!important;
  letter-spacing:-.025em!important;
}

body.single-product .woocommerce div.product p.price,
body.single-product .woocommerce div.product span.price,
body.single-product .mm-price-placeholder,
body.single-product .mm-single-price-pending{
  margin:0 0 17px!important;
  color:var(--mm-teal)!important;
  font-size:26px!important;
  font-weight:750!important;
}

body.single-product .woocommerce-product-details__short-description{
  margin:0 0 20px!important;
  padding:0 0 19px!important;
  border-bottom:1px solid rgba(71,56,43,.10);
  color:#70655b!important;
  font-size:14px!important;
  line-height:1.65!important;
}

body.single-product .woocommerce div.product form.cart{
  width:100%;
  margin:0 0 18px!important;
  display:flex!important;
  align-items:stretch!important;
  gap:10px!important;
}

body.single-product .woocommerce div.product form.cart .quantity{
  flex:0 0 72px;
}

body.single-product .woocommerce div.product form.cart .quantity .qty{
  width:72px!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  background:#fffdf9!important;
}

body.single-product .woocommerce div.product form.cart .single_add_to_cart_button{
  flex:1 1 auto!important;
  min-width:0!important;
  min-height:48px!important;
  margin:0!important;
  border-radius:10px!important;
  box-shadow:none!important;
}

body.single-product .mm-product-assurances{
  gap:7px!important;
  margin-top:4px!important;
}

body.single-product .mm-product-assurance{
  min-height:42px!important;
  padding:9px 11px!important;
  background:#fbf8f1!important;
  border:1px solid rgba(71,56,43,.055);
}

body.single-product .woocommerce div.product .product_meta{
  margin-top:18px!important;
  padding-top:15px!important;
  border-top:1px solid rgba(71,56,43,.10)!important;
}

/* Описание — без отдельной белой коробки, чтобы страница оставалась воздушной. */
body.single-product .woocommerce div.product .woocommerce-tabs{
  padding-top:26px!important;
}

body.single-product .woocommerce div.product .woocommerce-tabs .panel{
  padding:28px 0 8px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  color:#695f56!important;
  max-width:920px;
}

body.single-product .woocommerce div.product .woocommerce-tabs .panel h2{
  margin-top:0!important;
  font-size:28px!important;
}

body.single-product .woocommerce .related.products,
body.single-product .woocommerce .upsells.products{
  padding-top:48px!important;
}

body.single-product .woocommerce .related.products>h2,
body.single-product .woocommerce .upsells.products>h2{
  margin-bottom:24px!important;
  font-size:30px!important;
}

@media (max-width:1000px) and (min-width:821px){
  body.single-product .woocommerce div.product div.summary{
    padding:22px 22px 22px!important;
  }
  body.single-product .woocommerce div.product .product_title{
    font-size:36px!important;
  }
  body.single-product .woocommerce div.product div.images .flex-control-thumbs img,
  body.single-product .mm-fallback-thumb img{
    height:70px!important;
  }
}

@media (max-width:820px){
  body.single-product .mm-content{
    margin-top:24px!important;
  }

  body.single-product .woocommerce div.product div.images{
    margin-bottom:22px!important;
  }

  body.single-product .woocommerce div.product div.summary{
    padding:20px 18px 20px!important;
    background:#f6f1e9;
    border-radius:17px;
    box-shadow:0 6px 20px rgba(70,52,35,.045);
  }

  body.single-product .woocommerce div.product .product_title{
    font-size:34px!important;
  }

  body.single-product .woocommerce div.product div.images .flex-control-thumbs,
  body.single-product .mm-fallback-gallery-thumbs{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }

  body.single-product .woocommerce div.product div.images .flex-control-thumbs img,
  body.single-product .mm-fallback-thumb img{
    height:76px!important;
  }
}

@media (max-width:520px){
  body.single-product .woocommerce div.product div.summary{
    padding:17px 14px 18px!important;
  }

  body.single-product .woocommerce div.product .product_title{
    font-size:30px!important;
  }

  body.single-product .woocommerce div.product form.cart{
    gap:8px!important;
  }

  body.single-product .woocommerce div.product form.cart .quantity{
    flex-basis:64px;
  }

  body.single-product .woocommerce div.product form.cart .quantity .qty{
    width:64px!important;
  }

  body.single-product .woocommerce div.product div.images .flex-control-thumbs,
  body.single-product .mm-fallback-gallery-thumbs{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

/* =========================================================
   v0.9.38 — финальная примерка карточки товара
   Увеличен первый экран, правый блок ближе к фото, описание
   без белой коробки, миниатюры крупнее, related в стиле каталога.
   ========================================================= */
@media (min-width:821px){
  body.single-product .mm-content{
    width:min(calc(100% - 56px),1380px)!important;
    margin-top:30px!important;
  }

  body.single-product .woocommerce div.product{
    width:100%!important;
    max-width:1360px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  body.single-product .woocommerce div.product div.images{
    width:52%!important;
    max-width:665px!important;
    margin-bottom:30px!important;
  }

  body.single-product .woocommerce div.product div.summary{
    width:45%!important;
    max-width:590px!important;
    margin-bottom:30px!important;
    padding:27px 28px 25px!important;
  }
}

/* Заголовок чуть спокойнее, чтобы не перетягивал внимание с изделия. */
body.single-product .woocommerce div.product .product_title{
  font-size:clamp(32px,2.55vw,41px)!important;
  line-height:1.07!important;
  margin-bottom:13px!important;
}

/* Немного крупнее главное фото и более заметные миниатюры. */
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img,
body.single-product .mm-fallback-gallery-main img{
  width:100%!important;
  max-height:660px!important;
  object-fit:contain!important;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs,
body.single-product .mm-fallback-gallery-thumbs{
  gap:11px!important;
  margin-top:13px!important;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs img,
body.single-product .mm-fallback-thumb img{
  height:92px!important;
  border-radius:10px!important;
}

/* Описание — полностью на общем фоне страницы. */
body.single-product .woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel,
body.single-product .woocommerce div.product .woocommerce-tabs .panel,
body.single-product .woocommerce-Tabs-panel{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:24px 0 4px!important;
}

body.single-product .woocommerce div.product .woocommerce-tabs .panel h2,
body.single-product .woocommerce-Tabs-panel h2{
  margin:0 0 12px!important;
  font-size:27px!important;
}

/* Похожие товары — та же лёгкая подложка, что утверждена в каталоге. */
body.single-product .woocommerce .related.products,
body.single-product .woocommerce .upsells.products{
  width:100%!important;
  max-width:1120px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-top:42px!important;
}

body.single-product .woocommerce .related.products > h2,
body.single-product .woocommerce .upsells.products > h2{
  margin:0 0 22px!important;
  font-size:29px!important;
}

body.single-product .woocommerce .related.products ul.products,
body.single-product .woocommerce .upsells.products ul.products{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  margin:0!important;
}

body.single-product .woocommerce .related.products ul.products li.product,
body.single-product .woocommerce .upsells.products ul.products li.product{
  width:auto!important;
  float:none!important;
  margin:0!important;
  padding:13px 13px 16px!important;
  background:rgba(71,56,43,.025)!important;
  border:0!important;
  border-radius:14px!important;
  box-shadow:none!important;
  text-align:center!important;
  transition:box-shadow .2s ease,transform .2s ease!important;
}

body.single-product .woocommerce .related.products ul.products li.product:hover,
body.single-product .woocommerce .upsells.products ul.products li.product:hover{
  box-shadow:0 7px 18px rgba(58,43,30,.055)!important;
  transform:translateY(-1px);
}

body.single-product .woocommerce .related.products ul.products li.product img,
body.single-product .woocommerce .upsells.products ul.products li.product img{
  width:100%!important;
  max-height:255px!important;
  object-fit:contain!important;
  margin:0 auto 11px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

body.single-product .woocommerce .related.products ul.products li.product .woocommerce-loop-product__title,
body.single-product .woocommerce .upsells.products ul.products li.product .woocommerce-loop-product__title{
  min-height:2.7em!important;
  margin:5px 0 7px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}

body.single-product .woocommerce .related.products ul.products li.product .price,
body.single-product .woocommerce .upsells.products ul.products li.product .price{
  margin:2px 0 9px!important;
  text-align:center!important;
}

body.single-product .woocommerce .related.products ul.products li.product .button,
body.single-product .woocommerce .upsells.products ul.products li.product .button{
  width:auto!important;
  min-width:118px!important;
  margin:7px auto 0!important;
  padding:10px 18px!important;
}

@media (max-width:1000px) and (min-width:821px){
  body.single-product .woocommerce div.product div.images{
    width:51%!important;
  }
  body.single-product .woocommerce div.product div.summary{
    width:46%!important;
    padding:22px 21px!important;
  }
  body.single-product .woocommerce div.product .product_title{
    font-size:34px!important;
  }
  body.single-product .woocommerce div.product div.images .flex-control-thumbs img,
  body.single-product .mm-fallback-thumb img{
    height:76px!important;
  }
}

@media (max-width:820px){
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img,
  body.single-product .mm-fallback-gallery-main img{
    max-height:none!important;
  }
  body.single-product .woocommerce .related.products ul.products,
  body.single-product .woocommerce .upsells.products ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
}

@media (max-width:520px){
  body.single-product .woocommerce .related.products ul.products,
  body.single-product .woocommerce .upsells.products ul.products{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   v0.9.39 — главная: «Популярные товары» в утверждённом стиле каталога.
   Верх, hero, категории и карточка товара не меняются.
   ========================================================= */
.home .mm-popular-section{
  padding-top:42px!important;
  padding-bottom:44px!important;
}
.home .mm-popular-section .mm-section-head{
  margin-bottom:24px!important;
}
.home .mm-home-products{
  gap:18px!important;
}
.home .mm-home-product{
  padding:12px 12px 15px!important;
  background:rgba(71,56,43,.025)!important;
  border:0!important;
  border-radius:14px!important;
  box-shadow:none!important;
  overflow:visible!important;
  text-align:center!important;
  align-items:center!important;
  transition:box-shadow .2s ease,transform .2s ease,background-color .2s ease!important;
}
.home .mm-home-product:hover{
  transform:translateY(-2px)!important;
  border:0!important;
  box-shadow:0 7px 18px rgba(58,43,30,.055)!important;
}
.home .mm-home-product-image{
  width:100%!important;
  aspect-ratio:1/1!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:transparent!important;
}
.home .mm-home-product-image img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.home .mm-home-product:hover .mm-home-product-image img{
  transform:scale(1.015)!important;
}
.home .mm-home-product-info{
  width:100%!important;
  padding:11px 5px 2px!important;
  align-items:center!important;
  text-align:center!important;
}
.home .mm-home-product-title{
  width:100%!important;
  min-height:46px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  font-size:16px!important;
  line-height:1.32!important;
}
.home .mm-home-product-bottom{
  width:100%!important;
  margin-top:auto!important;
  padding-top:10px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
}
.home .mm-home-product-price{
  width:100%!important;
  text-align:center!important;
  font-size:15px!important;
  line-height:1.2!important;
}
.home .mm-home-product-more{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:104px!important;
  min-height:34px!important;
  padding:8px 14px!important;
  border-radius:8px!important;
  background:var(--mm-teal)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
}
.home .mm-home-product:hover .mm-home-product-more{
  background:var(--mm-green)!important;
}

@media(max-width:1200px){
  .home .mm-home-products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:700px){
  .home .mm-home-products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .home .mm-home-product{
    padding:9px 9px 12px!important;
  }
  .home .mm-home-product-title{
    min-height:42px!important;
    font-size:14px!important;
  }
  .home .mm-home-product-more{
    min-width:94px!important;
    min-height:32px!important;
    padding:7px 12px!important;
    font-size:11px!important;
  }
}


/* =========================================================
   v0.9.40 — главная: блок семейной мастерской.
   Hero, категории, популярные товары и карточка товара не меняются.
   ========================================================= */
.home .mm-workshop-section{
  padding-top:30px!important;
  padding-bottom:30px!important;
  background:#fbf8f1;
}
.home .mm-workshop-card{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  min-height:470px;
  overflow:hidden;
  border-radius:20px;
  background:rgba(116,91,66,.035);
  box-shadow:0 8px 26px rgba(65,48,33,.045);
}
.home .mm-workshop-photo{
  position:relative;
  min-height:470px;
  overflow:hidden;
  background:#f3eee5;
}
.home .mm-workshop-photo img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.home .mm-workshop-photo::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 70%,rgba(249,245,237,.36) 100%);
}
.home .mm-workshop-copy{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:54px 58px 50px;
  background:
    radial-gradient(circle at 96% 5%,rgba(45,139,123,.075),transparent 30%),
    #f8f3ea;
}
.home .mm-workshop-kicker{
  display:inline-block;
  margin-bottom:13px;
  color:var(--mm-teal);
  font-size:12px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.home .mm-workshop-copy h2{
  max-width:600px;
  margin:0 0 17px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:38px;
  line-height:1.08;
  font-weight:500;
  color:#4c3628;
}
.home .mm-workshop-copy > p{
  max-width:590px;
  margin:0;
  color:#71655a;
  font-size:15px;
  line-height:1.7;
}
.home .mm-workshop-steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:27px 0 28px;
}
.home .mm-workshop-step{
  min-height:82px;
  padding:12px 10px;
  border-top:1px solid rgba(74,56,41,.15);
}
.home .mm-workshop-step span{
  display:block;
  margin-bottom:8px;
  color:var(--mm-teal);
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
}
.home .mm-workshop-step strong{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  color:#574236;
  font-size:14px;
  line-height:1.3;
  font-weight:500;
}
.home .mm-workshop-button{
  align-self:flex-start;
  min-width:168px;
}
.home .mm-home-benefits{
  margin-top:24px;
  padding:20px 10px 12px!important;
  border-radius:16px;
  background:rgba(116,91,66,.022);
}
.home .mm-home-benefits .mm-benefit{
  min-height:72px;
  padding:0 20px;
}
.home .mm-home-benefits .mm-benefit-icon{
  width:44px;
  height:44px;
  border-color:rgba(45,139,123,.2);
  background:rgba(255,255,255,.28);
}
.home .mm-home-benefits .mm-benefit strong{
  font-size:14px;
}
.home .mm-home-benefits .mm-benefit span span{
  max-width:210px;
  font-size:11px;
  line-height:1.42;
}

@media(max-width:1050px){
  .home .mm-workshop-card{
    grid-template-columns:1fr 1fr;
  }
  .home .mm-workshop-copy{
    padding:40px 34px;
  }
  .home .mm-workshop-copy h2{
    font-size:32px;
  }
  .home .mm-workshop-steps{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .home .mm-workshop-step{
    min-height:66px;
  }
}
@media(max-width:760px){
  .home .mm-workshop-section{
    padding-top:20px!important;
  }
  .home .mm-workshop-card{
    grid-template-columns:1fr;
    min-height:0;
    border-radius:16px;
  }
  .home .mm-workshop-photo{
    min-height:330px;
  }
  .home .mm-workshop-photo::after{
    background:linear-gradient(180deg,transparent 78%,rgba(248,243,234,.28) 100%);
  }
  .home .mm-workshop-copy{
    padding:30px 24px 32px;
  }
  .home .mm-workshop-copy h2{
    font-size:29px;
  }
  .home .mm-workshop-copy > p{
    font-size:14px;
  }
  .home .mm-workshop-steps{
    margin:22px 0 24px;
  }
  .home .mm-home-benefits{
    grid-template-columns:1fr 1fr!important;
    gap:12px!important;
    padding:18px 8px!important;
  }
  .home .mm-home-benefits .mm-benefit{
    border-right:0!important;
    padding:8px 10px!important;
  }
}
@media(max-width:520px){
  .home .mm-workshop-photo{
    min-height:265px;
  }
  .home .mm-workshop-copy{
    padding:26px 18px 28px;
  }
  .home .mm-workshop-copy h2{
    font-size:26px;
  }
  .home .mm-workshop-steps{
    grid-template-columns:1fr 1fr;
    gap:7px;
  }
  .home .mm-home-benefits{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   v0.9.41 — финализируем подвал сайта.
   Верх главной, категории, товары и карточка товара не меняются.
   ========================================================= */
.site-footer{
  position:relative;
  margin-top:0;
  color:#fff;
  background:
    linear-gradient(110deg,rgba(6,69,55,.42),rgba(11,88,72,.25)),
    url("assets/img/texture.webp") center/cover;
  overflow:hidden;
}
.site-footer::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.035),transparent 45%);
}
.site-footer .mm-footer{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.35fr 1.05fr .85fr 1fr;
  gap:58px;
  padding:48px 0 38px;
}
.site-footer .mm-footer-about{
  max-width:330px;
}
.site-footer .mm-footer-brand{
  display:inline-flex;
  align-items:center;
  gap:13px;
  margin:0 0 14px;
}
.site-footer .mm-footer-brand img{
  width:76px;
  height:48px;
  object-fit:contain;
}
.site-footer .mm-footer-brand strong{
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;
  line-height:1;
  font-weight:500;
  letter-spacing:.14em;
  color:#fff;
}
.site-footer .mm-footer-lead{
  margin:0 0 7px;
  max-width:290px;
  color:rgba(255,255,255,.95);
  font-family:Georgia,"Times New Roman",serif;
  font-size:15px;
  line-height:1.5;
}
.site-footer .mm-footer-note{
  margin:0;
  max-width:300px;
  color:rgba(255,255,255,.68);
  font-size:11px;
  line-height:1.55;
}
.site-footer .mm-footer-column h4{
  margin:3px 0 15px;
  color:#fff;
  font-size:12px;
  line-height:1.2;
  font-weight:750;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.site-footer .mm-footer-column a{
  display:block;
  width:fit-content;
  margin:0 0 8px;
  color:rgba(255,255,255,.78);
  font-size:12px;
  line-height:1.45;
  transition:color .18s ease,transform .18s ease;
}
.site-footer .mm-footer-column a:hover{
  color:#fff;
  transform:translateX(2px);
}
.site-footer .mm-footer-contact>p{
  max-width:255px;
  margin:0 0 18px;
  color:rgba(255,255,255,.72);
  font-size:12px;
  line-height:1.55;
}
.site-footer .mm-footer-made{
  display:flex;
  align-items:center;
  gap:10px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.78);
  font-size:11px;
  line-height:1.45;
}
.site-footer .mm-footer-made>span:first-child{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  flex:0 0 30px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  font-size:15px;
  color:#fff;
}
.site-footer .mm-footer-bottom{
  position:relative;
  z-index:1;
  min-height:47px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.62);
  font-size:10px;
  letter-spacing:.02em;
}
/* Старые элементы футера больше не используются. */
.site-footer .mm-socials,
.site-footer .mm-copyright{
  display:none!important;
}

@media(max-width:1080px){
  .site-footer .mm-footer{
    grid-template-columns:1.25fr 1fr 1fr;
    gap:36px 46px;
  }
  .site-footer .mm-footer-contact{
    grid-column:2 / 4;
  }
}
@media(max-width:760px){
  .site-footer .mm-footer{
    grid-template-columns:1fr 1fr;
    gap:32px 24px;
    padding:38px 0 30px;
  }
  .site-footer .mm-footer-about{
    grid-column:1 / -1;
    max-width:none;
  }
  .site-footer .mm-footer-contact{
    grid-column:1 / -1;
  }
  .site-footer .mm-footer-contact>p{
    max-width:390px;
  }
}
@media(max-width:520px){
  .site-footer .mm-footer{
    grid-template-columns:1fr;
    gap:28px;
    padding:34px 0 26px;
  }
  .site-footer .mm-footer-about,
  .site-footer .mm-footer-contact{
    grid-column:auto;
  }
  .site-footer .mm-footer-bottom{
    min-height:58px;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:2px;
  }
}

/* =========================================================
   v0.9.42 — финальная корзина Mamimu
   Упорядочиваем Block Cart, не меняя каталог и карточку товара.
   ========================================================= */
body.woocommerce-cart{
  background:var(--mm-cream);
}
body.woocommerce-cart .mm-content{
  width:min(calc(100% - 48px),1180px);
  max-width:1180px;
  margin:38px auto 72px;
}
body.woocommerce-cart .entry-title,
body.woocommerce-cart .mm-content > article > h1{
  margin:0 0 26px!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(34px,3.2vw,46px)!important;
  line-height:1.08!important;
  font-weight:500!important;
  color:#49372d!important;
}

/* Общая двухколоночная сетка */
body.woocommerce-cart .wp-block-woocommerce-cart{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout,
body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1.7fr) minmax(310px,.72fr)!important;
  gap:26px!important;
  align-items:start!important;
}
body.woocommerce-cart .wc-block-cart .wc-block-components-main,
body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout > .wc-block-components-main{
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

/* Левая часть: товары */
body.woocommerce-cart .wc-block-cart-items{
  margin:0!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  border:1px solid rgba(75,57,43,.09)!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:rgba(234,224,211,.28)!important;
  box-shadow:0 8px 24px rgba(69,50,34,.035)!important;
}
body.woocommerce-cart .wc-block-cart-items thead{
  background:rgba(224,211,195,.42)!important;
}
body.woocommerce-cart .wc-block-cart-items thead th{
  height:48px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  vertical-align:middle!important;
  color:#6d6157!important;
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:.035em!important;
  text-transform:none!important;
  border:0!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__header-image{
  padding-left:20px!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__header-total{
  padding-right:20px!important;
  text-align:right!important;
}
body.woocommerce-cart .wc-block-cart-items tbody tr{
  background:transparent!important;
}
body.woocommerce-cart .wc-block-cart-items tbody tr + tr td{
  border-top:1px solid rgba(79,61,47,.08)!important;
}
body.woocommerce-cart .wc-block-cart-items td{
  padding-top:20px!important;
  padding-bottom:20px!important;
  vertical-align:middle!important;
  border-bottom:0!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image{
  width:132px!important;
  min-width:132px!important;
  padding-left:20px!important;
  padding-right:0!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image a{
  display:block!important;
  border-radius:12px!important;
  background:transparent!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image img{
  display:block!important;
  width:116px!important;
  max-width:116px!important;
  height:116px!important;
  object-fit:contain!important;
  border-radius:10px!important;
  background:transparent!important;
  mix-blend-mode:multiply!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__product{
  padding-left:16px!important;
  padding-right:16px!important;
}
body.woocommerce-cart .wc-block-components-product-name{
  display:inline-block!important;
  margin:0 0 10px!important;
  font-family:Georgia,"Times New Roman",serif!important;
  color:#49372d!important;
  font-size:20px!important;
  line-height:1.25!important;
  font-weight:500!important;
  text-decoration:none!important;
}
body.woocommerce-cart .wc-block-components-product-name:hover{
  color:var(--mm-teal)!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-details,
body.woocommerce-cart .wc-block-cart-items .wc-block-components-product-details__description,
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__product .wc-block-components-product-name + *{
  color:#81756b!important;
  font-size:12px!important;
  line-height:1.45!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__product .wc-block-cart-item__prices{
  display:none!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-components-quantity-selector{
  min-height:38px!important;
  width:112px!important;
  margin-top:10px!important;
  border:1px solid rgba(78,61,46,.14)!important;
  border-radius:9px!important;
  background:rgba(255,253,249,.72)!important;
  box-shadow:none!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-components-quantity-selector input,
body.woocommerce-cart .wc-block-cart-items .wc-block-components-quantity-selector button{
  min-height:36px!important;
  color:#49372d!important;
  font-size:14px!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__remove-link{
  margin-top:9px!important;
  color:#8c776b!important;
  font-size:12px!important;
  text-decoration:none!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__remove-link:hover{
  color:#9b574b!important;
  text-decoration:underline!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total{
  min-width:130px!important;
  padding-right:20px!important;
  text-align:right!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-cart-item__total-price-and-sale-badge-wrapper{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total,
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-formatted-money-amount,
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-components-product-price,
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-components-product-price__value{
  color:var(--mm-teal)!important;
  font-size:19px!important;
  line-height:1.2!important;
  font-weight:700!important;
}

/* Правый блок итогов */
body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar,
body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout > .wc-block-components-sidebar{
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:23px 22px 22px!important;
  border:1px solid rgba(75,57,43,.09)!important;
  border-radius:16px!important;
  background:rgba(234,224,211,.34)!important;
  box-shadow:0 8px 24px rgba(69,50,34,.035)!important;
  position:sticky!important;
  top:128px!important;
}
body.admin-bar.woocommerce-cart .wc-block-cart .wc-block-components-sidebar,
body.admin-bar.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout > .wc-block-components-sidebar{
  top:160px!important;
}
body.woocommerce-cart .wc-block-cart__totals-title{
  margin:0 0 14px!important;
  padding:0!important;
  font-family:Georgia,"Times New Roman",serif!important;
  color:#49372d!important;
  font-size:24px!important;
  line-height:1.2!important;
  font-weight:500!important;
  text-align:left!important;
  text-transform:none!important;
}
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper{
  padding:14px 0!important;
  border-color:rgba(75,57,43,.09)!important;
}
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-item{
  padding-left:0!important;
  padding-right:0!important;
}
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-item__description,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-panel__button,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-coupon__button{
  color:#6e6258!important;
  font-size:13px!important;
  line-height:1.4!important;
}
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-formatted-money-amount{
  color:#49372d!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:650!important;
}
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-footer-item{
  margin-top:4px!important;
  padding-top:17px!important;
  border-top:1px solid rgba(75,57,43,.11)!important;
}
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{
  color:#49372d!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:17px!important;
  font-weight:500!important;
}
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-formatted-money-amount,
body.woocommerce-cart .wc-block-components-sidebar .mm-pending-order-total{
  color:var(--mm-teal)!important;
  font-size:22px!important;
  line-height:1.15!important;
  font-weight:750!important;
}
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-button,
body.woocommerce-cart .wc-block-cart__submit-button{
  width:100%!important;
  min-height:50px!important;
  margin-top:8px!important;
  border:0!important;
  border-radius:10px!important;
  background:var(--mm-teal)!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:700!important;
  text-decoration:none!important;
  transition:background .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover{
  background:#24776e!important;
  transform:translateY(-1px)!important;
  box-shadow:0 6px 14px rgba(39,119,110,.14)!important;
}
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-panel__button,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-coupon__button{
  color:var(--mm-teal)!important;
  font-weight:650!important;
}

/* Пустая корзина */
body.woocommerce-cart .wc-block-cart__empty-cart__title,
body.woocommerce-cart .cart-empty{
  color:#49372d!important;
  font-family:Georgia,"Times New Roman",serif!important;
}
body.woocommerce-cart .wc-block-cart__empty-cart__title{
  font-size:28px!important;
  font-weight:500!important;
}

@media(max-width:980px){
  body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout,
  body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout{
    grid-template-columns:1fr!important;
    gap:22px!important;
  }
  body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar,
  body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout > .wc-block-components-sidebar{
    position:static!important;
  }
}
@media(max-width:680px){
  body.woocommerce-cart .mm-content{
    width:min(calc(100% - 24px),1180px);
    margin-top:28px;
    margin-bottom:54px;
  }
  body.woocommerce-cart .entry-title,
  body.woocommerce-cart .mm-content > article > h1{
    margin-bottom:20px!important;
    font-size:34px!important;
  }
  body.woocommerce-cart .wc-block-cart-items{
    border-radius:12px!important;
  }
  body.woocommerce-cart .wc-block-cart-items thead{
    display:none!important;
  }
  body.woocommerce-cart .wc-block-cart-items td{
    padding-top:16px!important;
    padding-bottom:16px!important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image{
    width:92px!important;
    min-width:92px!important;
    padding-left:12px!important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image img{
    width:80px!important;
    max-width:80px!important;
    height:80px!important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__product{
    padding-left:12px!important;
    padding-right:8px!important;
  }
  body.woocommerce-cart .wc-block-components-product-name{
    font-size:17px!important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total{
    min-width:90px!important;
    padding-right:12px!important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total,
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-formatted-money-amount,
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-components-product-price,
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total .wc-block-components-product-price__value{
    font-size:16px!important;
  }
  body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar,
  body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout > .wc-block-components-sidebar{
    padding:20px 17px!important;
    border-radius:12px!important;
  }
}


/* =========================================================
   v0.9.43 — финальные текстовые правки корзины
   ========================================================= */

/* В корзине краткое описание товара не нужно. Вариации/атрибуты
   при этом остаются доступными, если они появятся в будущем. */
body.woocommerce-cart .wc-block-components-product-metadata__description{
  display:none!important;
}

/* При небольшом количестве товаров не оставляем лишнюю пустоту
   перед футером. */
body.woocommerce-cart .mm-content{
  min-height:0!important;
  margin-bottom:44px!important;
}
body.woocommerce-cart .wp-block-woocommerce-cart{
  margin-bottom:0!important;
}

@media(max-width:680px){
  body.woocommerce-cart .mm-content{
    margin-bottom:36px!important;
  }
}


/* =========================================================
   v0.9.44 — надёжная очередь добавления товаров в корзину.
   Внешний вид каталога не меняется.
   ========================================================= */
.woocommerce ul.products li.product .add_to_cart_button.mm-cart-queued{
  opacity:.72!important;
  cursor:wait!important;
}


/* =========================================================
   v0.9.46 — заголовки колонок корзины.
   "Товар" центрируем над изображением, "Сумма" — над ценой.
   ========================================================= */
body.woocommerce-cart .wc-block-cart-items thead th{
  font-size:15px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:.025em!important;
}

/* Первый заголовок в Woo Blocks охватывает товарную часть таблицы,
   поэтому центрируем подпись только относительно ширины фотографии. */
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__header-image{
  padding-left:20px!important;
  text-align:left!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__header-image > span{
  display:block!important;
  width:116px!important;
  margin:0!important;
  text-align:center!important;
}

/* Заголовок суммы ставим точно над правой ценовой зоной. */
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__header-total{
  padding-right:20px!important;
  text-align:right!important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__header-total > span{
  display:block!important;
  width:120px!important;
  margin-left:auto!important;
  text-align:center!important;
}

@media(max-width:560px){
  body.woocommerce-cart .wc-block-cart-items thead th{
    font-size:13px!important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__header-image{
    padding-left:14px!important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__header-total{
    padding-right:14px!important;
  }
}

/* =========================================================
   v0.9.47 — финальная компоновка страницы оформления заказа.
   Только checkout; корзину, каталог и карточки товара не трогаем.
   ========================================================= */
body.woocommerce-checkout .mm-content{
  max-width:1180px!important;
  margin-top:38px!important;
  margin-bottom:54px!important;
}
body.woocommerce-checkout .mm-content > h1,
body.woocommerce-checkout .entry-title{
  margin-bottom:24px!important;
  font-size:clamp(34px,3.4vw,46px)!important;
}

/* WooCommerce Checkout Block */
body.woocommerce-checkout .wc-block-checkout{
  max-width:1180px!important;
  margin:0 auto 0!important;
}
body.woocommerce-checkout .wc-block-components-sidebar-layout{
  gap:30px!important;
  align-items:flex-start!important;
}
body.woocommerce-checkout .wc-block-checkout__main{
  flex:1 1 68%!important;
  padding-right:0!important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar{
  flex:0 0 350px!important;
  width:350px!important;
  margin:0!important;
  padding:23px 24px!important;
  border:1px solid rgba(83,64,48,.10)!important;
  border-radius:18px!important;
  background:#f5eee5!important;
  box-shadow:0 8px 22px rgba(74,55,37,.045)!important;
  position:sticky!important;
  top:132px!important;
}
body.admin-bar.woocommerce-checkout .wc-block-checkout__sidebar{
  top:164px!important;
}

/* Шаги формы: лёгкая подложка вместо тяжёлых белых карточек. */
body.woocommerce-checkout .wc-block-components-checkout-step{
  margin:0 0 14px!important;
  padding:22px 24px!important;
  border:0!important;
  border-radius:16px!important;
  background:rgba(240,232,220,.40)!important;
  box-shadow:none!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__heading{
  margin-bottom:16px!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading h2,
body.woocommerce-checkout .wc-block-components-title{
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:24px!important;
  line-height:1.15!important;
  font-weight:500!important;
  color:#49372d!important;
  text-transform:none!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-checkout-step__container,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-checkout-step__description{
  color:#756b61!important;
}

/* Поля. */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .wc-block-components-textarea{
  min-height:48px!important;
  border:1px solid rgba(78,61,46,.15)!important;
  border-radius:10px!important;
  background:#fffdf9!important;
  box-shadow:none!important;
  color:#40342b!important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-address-form select:focus,
body.woocommerce-checkout .wc-block-components-textarea:focus{
  border-color:rgba(47,139,128,.65)!important;
  box-shadow:0 0 0 2px rgba(47,139,128,.08)!important;
  outline:0!important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox-control label{
  color:#74685e!important;
}

/* Варианты доставки и оплаты. */
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option,
body.woocommerce-checkout .wc-block-components-radio-control__option{
  border-color:rgba(83,64,48,.10)!important;
  background:rgba(255,253,249,.70)!important;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option:first-child,
body.woocommerce-checkout .wc-block-components-radio-control__option:first-child{
  border-radius:10px 10px 0 0!important;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option:last-child,
body.woocommerce-checkout .wc-block-components-radio-control__option:last-child{
  border-radius:0 0 10px 10px!important;
}

/* Правая колонка заказа. */
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper:first-child{
  margin-top:0!important;
}
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title{
  padding:0 0 15px!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:25px!important;
  font-weight:500!important;
  color:#49372d!important;
  text-transform:none!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item{
  padding:12px 0!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image{
  width:62px!important;
  height:62px!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image img{
  width:62px!important;
  height:62px!important;
  object-fit:contain!important;
  border-radius:8px!important;
  background:transparent!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description{
  padding-left:12px!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name{
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:15px!important;
  line-height:1.25!important;
  color:#49372d!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price{
  color:#2f8b80!important;
  font-weight:700!important;
}
body.woocommerce-checkout .wc-block-components-totals-wrapper{
  border-color:rgba(80,62,47,.10)!important;
}
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:18px!important;
  color:#49372d!important;
}
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  color:#2f8b80!important;
  font-size:20px!important;
  font-weight:700!important;
}

/* Кнопка оформления. */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button{
  min-height:52px!important;
  border:0!important;
  border-radius:10px!important;
  background:#2f8b80!important;
  color:#fff!important;
  font-weight:700!important;
  box-shadow:none!important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button:hover{
  background:#24776e!important;
}

/* Купон и служебные панели не выбиваются из общей стилистики. */
body.woocommerce-checkout .wc-block-components-totals-coupon,
body.woocommerce-checkout .wc-block-components-panel{
  background:transparent!important;
}
body.woocommerce-checkout .wc-block-components-panel__button,
body.woocommerce-checkout .wc-block-components-totals-coupon__button{
  color:#237f74!important;
  font-weight:650!important;
}

/* Чуть меньше пустоты перед подвалом. */
body.woocommerce-checkout .wp-block-woocommerce-checkout{
  margin-bottom:0!important;
}

@media(max-width:900px){
  body.woocommerce-checkout .wc-block-components-sidebar-layout{
    display:block!important;
  }
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    width:100%!important;
    max-width:none!important;
    margin-top:20px!important;
    position:static!important;
  }
}

@media(max-width:600px){
  body.woocommerce-checkout .mm-content{
    margin-top:26px!important;
    margin-bottom:38px!important;
  }
  body.woocommerce-checkout .wc-block-components-checkout-step{
    padding:18px 16px!important;
    border-radius:13px!important;
  }
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    padding:19px 16px!important;
    border-radius:14px!important;
  }
  body.woocommerce-checkout .wc-block-components-checkout-step__title,
  body.woocommerce-checkout .wc-block-components-checkout-step__heading h2,
  body.woocommerce-checkout .wc-block-components-title{
    font-size:21px!important;
  }
}


/* =========================================================
   v0.9.48 — checkout: принудительная двухколоночная компоновка.
   WooCommerce Blocks в некоторых версиях переопределяет flex-разметку,
   поэтому фиксируем grid непосредственно на sidebar-layout.
   ========================================================= */
body.woocommerce-checkout .mm-content{
  margin-top:56px!important;
}
body.woocommerce-checkout .mm-content article > h1,
body.woocommerce-checkout .mm-content .entry-title{
  margin:0 0 28px!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(36px,3.3vw,46px)!important;
  line-height:1.06!important;
  font-weight:500!important;
  color:#49372d!important;
}

@media(min-width:901px){
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 360px!important;
    grid-template-areas:"main sidebar"!important;
    column-gap:30px!important;
    row-gap:0!important;
    align-items:start!important;
    width:100%!important;
    max-width:none!important;
  }
  body.woocommerce-checkout .wc-block-components-main.wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__main{
    grid-area:main!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  body.woocommerce-checkout .wc-block-components-sidebar.wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    grid-area:sidebar!important;
    width:360px!important;
    max-width:360px!important;
    min-width:360px!important;
    margin:0!important;
  }
}

@media(max-width:900px){
  body.woocommerce-checkout .mm-content{
    margin-top:34px!important;
  }
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout{
    display:block!important;
  }
  body.woocommerce-checkout .wc-block-components-sidebar.wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
}

/* =========================================================
   v0.9.49 — checkout только по России и более чистая форма.
   ========================================================= */
body.woocommerce-checkout .mm-checkout-country-hidden{
  display:none!important;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-address-form select{
  min-height:44px!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details{
  display:none!important;
}

/* Подсказки городов и адресов DaData/ФИАС. */
body.woocommerce-checkout .mm-address-field-wrap{
  position:relative!important;
  overflow:visible!important;
}
body.woocommerce-checkout .mm-address-suggestions{
  position:absolute;
  z-index:9999;
  left:0;
  right:0;
  top:calc(100% + 5px);
  padding:6px;
  border:1px solid rgba(78,61,46,.13);
  border-radius:10px;
  background:#fffdf9;
  box-shadow:0 14px 32px rgba(74,55,37,.12);
}
body.woocommerce-checkout .mm-address-suggestions[hidden]{display:none!important}
body.woocommerce-checkout .mm-address-suggestion{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:1px;
  padding:9px 10px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#40342b;
  text-align:left;
  cursor:pointer;
}
body.woocommerce-checkout .mm-address-suggestion:hover{
  background:rgba(47,139,128,.08);
}
body.woocommerce-checkout .mm-address-suggestion span{
  font-size:14px;
  line-height:1.25;
}
body.woocommerce-checkout .mm-address-suggestion small{
  color:#8a7e72;
  font-size:11px;
  line-height:1.25;
}


/* =========================================================
   v0.9.50 — обязательные Email и телефон на checkout.
   Красная звёздочка + пояснение под полями.
   ========================================================= */
body.woocommerce-checkout .mm-required-star{
  color:#c53a31!important;
  font-weight:700!important;
  margin-left:3px!important;
  line-height:1!important;
}
body.woocommerce-checkout .mm-required-note{
  display:block!important;
  margin:6px 2px 0!important;
  color:#8b7768!important;
  font-size:11px!important;
  line-height:1.35!important;
  font-weight:400!important;
}
body.woocommerce-checkout .mm-required-note .mm-required-star{
  margin-left:0!important;
  margin-right:4px!important;
}
body.woocommerce-checkout .mm-required-contact-invalid input{
  border-color:#c53a31!important;
  box-shadow:0 0 0 1px rgba(197,58,49,.08)!important;
}
