/* MounCake / Category identity and compact editorial catalogue · 2026-10-01
 * Loaded after catalog-refresh.css. Product data remains in the original HTML.
 */
.cakes-page.catalog-theme-cakes{--catalog-photo:url('../assets/img/home/category-01-torty.webp');--catalog-accent:#a94951;--catalog-photo-position:50% 48%}
.cakes-page.catalog-theme-pastries{--catalog-photo:url('../assets/img/home/category-02-kapkeyki-pirozhnye.webp');--catalog-accent:#b84c67;--catalog-photo-position:50% 49%}
.cakes-page.catalog-theme-travel{--catalog-photo:url('../assets/img/home/category-03-trevel-boksy.webp');--catalog-accent:#bd6b55;--catalog-photo-position:50% 50%}
.cakes-page.catalog-theme-bento{--catalog-photo:url('../assets/img/home/category-04-bento-torty.webp');--catalog-accent:#b25d65;--catalog-photo-position:50% 51%}
.cakes-page.catalog-theme-small{--catalog-photo:url('../assets/img/home/category-05-melkoshtuchki.webp');--catalog-accent:#ab6b48;--catalog-photo-position:50% 51%}
.cakes-page.catalog-theme-decor{--catalog-photo:url('../assets/img/home/category-06-dekor-tortov.webp');--catalog-accent:#aa5670;--catalog-photo-position:50% 46%}
.cakes-page.catalog-theme-fillings{--catalog-photo:url('../assets/img/cakes-v2/ultra-cherry.webp');--catalog-accent:#a64660;--catalog-photo-position:50% 50%}
.cakes-page.catalog-theme-open{--catalog-photo:url('../assets/img/extended-v1/open/millefeuille.webp');--catalog-accent:#b17b58;--catalog-photo-position:50% 50%}
.cakes-page.catalog-theme-mousse{--catalog-photo:url('../assets/img/extended-v1/mousse/coconut-raspberry.webp');--catalog-accent:#a34c61;--catalog-photo-position:50% 50%}
.cakes-page[class*="catalog-theme-"] .cakes-page-hero,
.cakes-page.catalog-theme-small .small-desserts-hero,
.cakes-page.catalog-theme-decor .decor-hero{
  display:flex;
  position:relative;
  isolation:isolate;
  align-items:center;
  min-height:326px;
  padding:43px 0 61px;
  border:0;
  border-bottom:1px solid #eee4dd;
  overflow:hidden;
  text-align:left;
  background:
    radial-gradient(ellipse at 10% 90%,rgba(237,199,182,.16),transparent 55%),
    linear-gradient(110deg,#fffaf7 0%,#fff8f4 50%,#f9eee7 100%);
}
.cakes-page[class*="catalog-theme-"] .cakes-page-hero::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0 0 0 auto;
  width:min(52%,690px);
  background-image:
    linear-gradient(90deg,#fff9f5 0%,rgba(255,249,245,.78) 9%,rgba(255,249,245,.0) 34%),
    var(--catalog-photo);
  background-position:center,var(--catalog-photo-position,center);
  background-size:100% 100%,cover;
  background-repeat:no-repeat;
}
.cakes-page[class*="catalog-theme-"] .cakes-page-hero::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(255,250,247,.3),rgba(255,250,247,0) 65%);
}
.cakes-page[class*="catalog-theme-"] .cakes-page-hero .container{position:relative;z-index:1;width:min(1180px,calc(100% - 56px));max-width:1180px}
.cakes-page[class*="catalog-theme-"] .cakes-page-hero .catalog-crumbs{margin:0 0 25px;font-size:11px;letter-spacing:.015em}
.cakes-page[class*="catalog-theme-"] .cakes-page-hero .eyebrow{font:800 10px/1.4 Inter,InterCustom,Arial,sans-serif;letter-spacing:.14em;color:var(--catalog-accent,#b54c62);margin:0 0 12px}
.cakes-page[class*="catalog-theme-"] .cakes-page-hero h1{
  max-width:540px;
  font:500 clamp(43px,4.5vw,63px)/1.04 Georgia,'Times New Roman',serif;
  letter-spacing:-.045em;
  margin:0;
}
.cakes-page[class*="catalog-theme-"] .cakes-page-hero p,
.cakes-page.catalog-theme-decor .decor-hero p{
  max-width:480px;
  font-size:14px;
  line-height:1.57;
  margin:16px 0 0;
  color:#685a53;
}
.cakes-page[class*="catalog-theme-"] .container:not(.header-inner):not(.hero-inner){max-width:1180px}
.cakes-page .header-inner{max-width:1280px}
/* Floating single-line category selector; scrollable and sticky on small screens. */
.cakes-page[class*="catalog-theme-"] .cake-category-nav,
.cakes-page[class*="catalog-theme-"] .small-desserts-nav,
.cakes-page[class*="catalog-theme-"] .decor-styles-nav{
  position:sticky;
  top:76px;
  z-index:48;
  width:min(1180px,calc(100% - 56px));
  margin:-29px auto 0;
  padding:0;
  border:1px solid #f0e7e1;
  border-radius:19px;
  background:rgba(255,253,251,.97);
  box-shadow:0 12px 30px rgba(103,60,51,.073);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.cakes-page[class*="catalog-theme-"] .cake-category-nav .container,
.cakes-page[class*="catalog-theme-"] .small-desserts-nav .container,
.cakes-page[class*="catalog-theme-"] .decor-styles-nav .container{
  width:100%;
  max-width:none;
  margin:0;
  padding:9px 14px;
  min-height:55px;
  gap:7px;
  justify-content:flex-start;
}
.cakes-page[class*="catalog-theme-"] .cake-category-nav a,
.cakes-page[class*="catalog-theme-"] .small-desserts-nav a,
.cakes-page[class*="catalog-theme-"] .decor-styles-nav a{
  min-height:35px;
  padding:8px 13px;
  font-size:11px;
  border-color:transparent;
  background:transparent;
}
.cakes-page[class*="catalog-theme-"] .cake-category-nav a:hover,
.cakes-page[class*="catalog-theme-"] .cake-category-nav a[aria-current="location"],
.cakes-page[class*="catalog-theme-"] .small-desserts-nav a:hover,
.cakes-page[class*="catalog-theme-"] .small-desserts-nav a[aria-current="location"],
.cakes-page[class*="catalog-theme-"] .decor-styles-nav a:hover,
.cakes-page[class*="catalog-theme-"] .decor-styles-nav a[aria-current="location"]{
  color:#fff;
  background:var(--catalog-accent,#b44c61);
  border-color:var(--catalog-accent,#b44c61);
}
.cakes-page .catalog-one-nav .container{justify-content:flex-start}
/* Responsive catalogue density without dropping any real product or recipe. */
.cakes-page[class*="catalog-theme-"] .cake-category{
  padding:43px 0 47px;
  scroll-margin-top:153px;
}
.cakes-page[class*="catalog-theme-"] .cake-category:nth-of-type(even){background:#fdf8f4}
.cakes-page[class*="catalog-theme-"] .cake-category-head{gap:18px;margin-bottom:19px}
.cakes-page[class*="catalog-theme-"] .cake-category-head h2{font-size:clamp(29px,3vw,40px)}
.cakes-page[class*="catalog-theme-"] .cake-category-head p{max-width:430px;font-size:12px}
.cakes-page[class*="catalog-theme-"] .cake-grid,
.cakes-page.catalog-theme-open .open-catalog .cake-grid,
.cakes-page.catalog-theme-mousse .mousse-catalog .cake-grid,
.cakes-page.catalog-theme-pastries #mousse-pastries .cake-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:13px;
  align-items:stretch;
}
/* A handful of open cakes looks more balanced in four narrow cards. */
.cakes-page.catalog-theme-open .cake-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-width:970px}
.cakes-page.catalog-theme-pastries #mousse-pastries .cake-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.cakes-page[class*="catalog-theme-"] .cake-card{
  min-width:0;
  display:flex;
  flex-direction:column;
  border-radius:12px;
  border-color:#eee3dc;
  box-shadow:0 6px 19px rgba(94,56,48,.046);
}
.cakes-page[class*="catalog-theme-"] .cake-card:hover{transform:translateY(-2px);box-shadow:0 10px 23px rgba(94,56,48,.09)}
.cakes-page[class*="catalog-theme-"] .cake-card-media{
  min-height:0;
  aspect-ratio:1.08 / 1;
  background:#fbf3ef;
}
.cakes-page[class*="catalog-theme-"] .cake-card-media img{
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
}
.cakes-page.catalog-theme-small .tart-card-media{aspect-ratio:1/1}
.cakes-page.catalog-theme-small .tart-card-media img{aspect-ratio:1/1}
.cakes-page[class*="catalog-theme-"] .cake-card-body{
  min-height:0;
  flex:1;
  padding:12px 12px 13px;
}
.cakes-page[class*="catalog-theme-"] .cake-card-kicker{
  font-size:9px;
  letter-spacing:.065em;
  line-height:1.25;
  margin:0 0 6px;
}
.cakes-page[class*="catalog-theme-"] .cake-card h3{
  font-size:17px;
  line-height:1.18;
  margin:0 0 7px;
  overflow-wrap:break-word;
}
.cakes-page[class*="catalog-theme-"] .cake-card p,
.cakes-page[class*="catalog-theme-"] .cake-card p.variant{
  font-size:11px;
  line-height:1.48;
  margin:0 0 7px;
}
.cakes-page[class*="catalog-theme-"] .cake-card p.variant+p.variant{margin-top:1px}
.cakes-page[class*="catalog-theme-"] .cake-order-link{
  margin-top:auto;
  min-height:31px;
  font-size:10.5px;
  padding-top:7px;
}
.cakes-page[class*="catalog-theme-"] .cake-order-link span[aria-hidden]{width:23px;height:23px}
.cakes-page.catalog-theme-small .tart-card-body{min-height:0}
.cakes-page.catalog-theme-small .tart-view-switch{gap:4px}
.cakes-page.catalog-theme-small .tart-view{padding:3px 5px 3px 3px;font-size:10px;gap:4px}
.cakes-page.catalog-theme-small .tart-view img{width:27px;height:27px}
.cakes-page.catalog-theme-fillings .fillings-main{padding:39px 0 66px}
.cakes-page.catalog-theme-fillings .filling-gallery{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.cakes-page.catalog-theme-fillings .catalog-item{border-radius:12px}
.cakes-page.catalog-theme-fillings .catalog-item img{object-fit:contain}
.cakes-page.catalog-theme-fillings .catalog-card-info{padding:12px;min-height:0}
.cakes-page.catalog-theme-fillings .catalog-card-info h3{font-size:17px}
.cakes-page.catalog-theme-fillings .catalog-card-info p{font-size:11px}
.cakes-page.catalog-theme-fillings .catalog-card-info span{font-size:10.5px}
.cakes-page.catalog-theme-decor .decor-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cakes-page.catalog-theme-decor .decor-card{border-radius:13px}
.cakes-page.catalog-theme-decor .decor-card-body{padding:14px 15px 16px}
.cakes-page.catalog-theme-decor .decor-card h2{font-size:20px}
.cakes-page.catalog-theme-decor .decor-card p{font-size:12px}
@media(max-width:1190px){
  .cakes-page[class*="catalog-theme-"] .cake-grid,
  .cakes-page.catalog-theme-fillings .filling-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}
  .cakes-page.catalog-theme-decor .decor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .cakes-page[class*="catalog-theme-"] .cakes-page-hero{min-height:283px}
  .cakes-page[class*="catalog-theme-"] .cakes-page-hero::before{width:57%}
  .cakes-page[class*="catalog-theme-"] .cake-grid,
  .cakes-page.catalog-theme-pastries #mousse-pastries .cake-grid,
  .cakes-page.catalog-theme-fillings .filling-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cakes-page.catalog-theme-decor .decor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cakes-page.catalog-theme-open .cake-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .cakes-page[class*="catalog-theme-"] .cakes-page-hero,
  .cakes-page.catalog-theme-small .small-desserts-hero,
  .cakes-page.catalog-theme-decor .decor-hero{min-height:265px;padding:24px 0 40px}
  .cakes-page[class*="catalog-theme-"] .cakes-page-hero .container{width:calc(100% - 34px)}
  .cakes-page[class*="catalog-theme-"] .cakes-page-hero::before{
    width:58%;
    background-image:linear-gradient(90deg,#fff9f5,rgba(255,249,245,.5) 20%,rgba(255,249,245,0) 65%),var(--catalog-photo);
    background-position:center,var(--catalog-photo-position,center);
  }
  .cakes-page[class*="catalog-theme-"] .cakes-page-hero::after{
    background:linear-gradient(90deg,rgba(255,250,247,.96) 0%,rgba(255,250,247,.9) 37%,rgba(255,250,247,.5) 73%,rgba(255,250,247,0) 100%);
  }
  .cakes-page[class*="catalog-theme-"] .cakes-page-hero .catalog-crumbs{margin-bottom:17px;font-size:10px}
  .cakes-page[class*="catalog-theme-"] .cakes-page-hero h1{max-width:370px;font-size:clamp(34px,8.5vw,47px)}
  .cakes-page[class*="catalog-theme-"] .cakes-page-hero p{max-width:335px;font-size:12px;margin-top:10px;line-height:1.5}
  .cakes-page[class*="catalog-theme-"] .cake-category-nav,
  .cakes-page[class*="catalog-theme-"] .small-desserts-nav,
  .cakes-page[class*="catalog-theme-"] .decor-styles-nav{
    top:63px;width:calc(100% - 24px);margin:-19px auto 0;border-radius:14px;
  }
  .cakes-page[class*="catalog-theme-"] .cake-category-nav .container,
  .cakes-page[class*="catalog-theme-"] .small-desserts-nav .container,
  .cakes-page[class*="catalog-theme-"] .decor-styles-nav .container{padding:8px;min-height:51px}
  .cakes-page[class*="catalog-theme-"] .cake-category-nav a,
  .cakes-page[class*="catalog-theme-"] .small-desserts-nav a,
  .cakes-page[class*="catalog-theme-"] .decor-styles-nav a{min-height:32px;font-size:10.5px;padding:7px 11px}
  .cakes-page[class*="catalog-theme-"] .cake-category{padding:34px 0 37px;scroll-margin-top:130px}
  .cakes-page[class*="catalog-theme-"] .cake-category-head h2{font-size:29px}
  .cakes-page[class*="catalog-theme-"] .cake-category-head p{font-size:11.5px}
  .cakes-page[class*="catalog-theme-"] .cake-grid,
  .cakes-page.catalog-theme-open .cake-grid,
  .cakes-page.catalog-theme-pastries #mousse-pastries .cake-grid,
  .cakes-page.catalog-theme-fillings .filling-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .cakes-page[class*="catalog-theme-"] .cake-card-body{padding:10px 10px 12px}
  .cakes-page[class*="catalog-theme-"] .cake-card h3{font-size:15px}
  .cakes-page[class*="catalog-theme-"] .cake-card p{font-size:10.5px}
  .cakes-page.catalog-theme-fillings .catalog-card-info{padding:10px}
  .cakes-page.catalog-theme-fillings .catalog-card-info h3{font-size:15px}
  .cakes-page.catalog-theme-decor .decor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cakes-page.catalog-theme-decor .decor-card h2{font-size:17px}
  .cakes-page.catalog-theme-decor .decor-card-body{padding:11px}
  .cakes-page.catalog-theme-decor .decor-card p{font-size:11px}
}
@media(max-width:430px){
  .cakes-page[class*="catalog-theme-"] .cakes-page-hero{min-height:293px}
  .cakes-page[class*="catalog-theme-"] .cakes-page-hero h1{max-width:310px;font-size:35px}
  .cakes-page[class*="catalog-theme-"] .cakes-page-hero p{max-width:285px;font-size:11.5px}
  .cakes-page[class*="catalog-theme-"] .cakes-page-hero::before{width:67%;background-position:center,62% center}
  .cakes-page[class*="catalog-theme-"] .cake-card-kicker{font-size:8px}
  .cakes-page[class*="catalog-theme-"] .cake-card h3{font-size:14.5px}
  .cakes-page.catalog-theme-small .tart-view img{width:24px;height:24px}
  .cakes-page.catalog-theme-small .tart-view span{font-size:9px}
}
