/* Osnova Pro: light — 300, normal — 400, medium — 500, bold — 700, heavy — 900. */
@font-face {
  font-family: "Osnova Pro";
  src: url("./Osnova Pro/OSNOVAPROLIGHT.OTF") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Osnova Pro";
  src: url("./Osnova Pro/OSNOVAPRO.OTF") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Osnova Pro";
  src: url("./Osnova Pro/OSNOVAPROMEDIUM.OTF") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Osnova Pro";
  src: url("./Osnova Pro/OSNOVAPRO-BOLD.OTF") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Osnova Pro";
  src: url("./Osnova Pro/OSNOVAPROHEAVY.OTF") format("opentype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

/* Базовые настройки и сброс стандартных отступов. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Osnova Pro", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #000;
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
  margin: 0;
}

h1 {
  font-size: 60px;
  font-weight: 900;
  line-height: 1.1;
  color: #000;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a, a:visited {color: #000;}

/* Ограничение ширины секций с фоном и декором на весь экран. */
.section-facts,
.section-catalog,
.section-benefits,
.section-author-cakes,
.section-cafes,
.section-reasons,
.section-didnt-find-cakes {
  max-width: 2400px;
  margin-inline: auto;
}

/* HEADER */
header {
  margin: 0 0 72px 0;
}
  header .container {
    max-width: 2400px;
    min-height: 250px;
    margin: 0 auto;
    background: #FCBC1B url("./images/header.png") no-repeat 0 0;
    background-size: 524px auto;
    border-radius: 0 0 30px 30px;
  }

    /* HEADER TOP */
    header .header-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #fff;
      margin: 0 64px;
      border-radius: 0 0 10px 10px;
      padding: 16px 40px;
    }
      header .header-top-left {
      }
        header .header-top-left ul {
          display: flex;
          gap: 30px;
          white-space: nowrap;
          margin: 0; padding: 0;
        }
          header .header-top-left ul li {
            list-style: none; margin: 0; padding: 0;
            font-size: 13px;
          }
            header .header-top-left ul li a {
              text-decoration: none;
              color: #281C00;
            }
      header .header-top-right {
      }
        header .header-top-right ul {
          display: flex;
          gap: 30px;
          white-space: nowrap;
          margin: 0; padding: 0;
        }
          header .header-top-right ul li {
            list-style: none; margin: 0; padding: 0;
            font-size: 13px;
            color: #281C00;
          }
            header .header-top-right ul li a {
              text-decoration: none;
              color: #281C00;
            }
            header .header-top-right-city {
              font-weight: 700;
            }

    /* HEADER CENTER */
    header .header-center {
      display: flex;
      justify-content: space-between;
      margin: 0 64px;
    }
      header .header-center-left {
        width: 33%;
      }
      header .header-center-center {
        width: 33%;
        display: flex;
        align-items: flex-start;
        gap: 36px;
      }
        header .header-center-center-logo {
          width: 104px;
          height: auto;
          margin: 22px 0 0 0;
        }
        header .header-center-center-text {
          font-size: 18px;
          font-weight: 700;
          line-height: 1;
          white-space: nowrap;
          background: url("./images/header-center-center-text.png") no-repeat 0 0;
          background-size: 359px auto;
          padding: 80px 176px 55px 34px;
          box-sizing: border-box;
        }
      header .header-center-right {
        width: 33%;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 40px;
        margin-top: 82px;
      }
      header .header-center-right-buttons {
        display: flex;
        gap: 10px;
        margin: 0; padding: 0;
      }
        header .header-center-right-buttons a {
          text-decoration: none;
          color: #281C00;
          background: #EAAF19;
          padding: 8px 16px;
          white-space: nowrap;
          border-radius: 50px;
        }
        header .header-center-right-buttons a.header-center-right-buttons-button-constructor {
          background: #000;
          color: #fff;
        }
      header .header-center-right-icons {
        display: flex;
        flex-shrink: 0;
        gap: 22px;
        margin: 6px 0 0 0; padding: 0;
        margin-right: 58px;
      }
        header .header-center-right-icons a {flex-shrink: 0; text-decoration: none;}
        header .header-center-right-icons a img {
          width: 24px;
          max-width: none;
          height: auto;
        }
        header .header-center-right-icons a img.header-center-right-icons-3 {width: 20px;}

    /* HEADER BOTTOM MENU */
    header .header-bottom {
      margin: 0 64px;
      padding: 17px 0 12px 0;
    }
      header .header-bottom-menu {
        overflow-x: auto;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
      }
        header .header-bottom-menu::-webkit-scrollbar {display: none;}
        header .header-bottom-menu ul {
          display: flex;
          width: max-content;
          min-width: 100%;
          gap: 24px;
          justify-content: center;
          margin: 0; padding: 0;
          list-style: none;
        }
          header .header-bottom-menu ul li {
            flex-shrink: 0;
            white-space: nowrap;
            list-style: none; margin: 0; padding: 0;
            font-size: 17px;
            padding-bottom: 4px;
            border-bottom: 1px solid transparent;
          }
            header .header-bottom-menu ul li a {
              text-decoration: none;
              color: #000;
            }

    /* Мобильное меню и каталог. */
    header .header-menu-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      width: 40px;
      height: 40px;
      padding: 0;
      border: 0;
      border-radius: 8px;
      background: transparent;
      color: #281C00;
    }
    header .header-menu-toggle {display: none;}
    header .header-mobile-menu {
      inset: 0 0 0 auto;
      width: min(360px, 100%);
      max-width: 100%;
      height: 100%;
      max-height: 100%;
      margin: 0;
      padding: 24px;
      border: 0;
      background: #fff;
      color: #281C00;
    }
      header .header-mobile-menu::backdrop {background: rgba(40, 28, 0, 0.35);}
      header .header-mobile-menu-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 24px;
      }
      header .header-menu-close {margin-left: auto;}
      header .header-mobile-menu :is(.header-top-left, .header-mobile-menu-catalog) ul {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin: 0;
        padding: 0;
        list-style: none;
        white-space: normal;
      }
      header .header-mobile-menu :is(.header-top-left, .header-mobile-menu-catalog) a {
        display: block;
        padding: 6px 0;
        font-size: 16px;
        color: #281C00;
        text-decoration: none;
      }
      header .header-mobile-menu .header-top-left {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #EBDCCC;
      }
      header .header-mobile-menu .header-top-left ul {gap: 2px;}
      header .header-mobile-menu .header-top-left a {
        padding: 4px 0;
        font-size: 14px;
      }
      header .header-mobile-menu .header-center-right-buttons {
        justify-content: flex-start;
      }
      header .header-mobile-menu-contacts {
        display: grid;
        gap: 2px;
        margin-top: 16px;
        padding: 16px;
        background: #F0F0F0;
        border-radius: 12px;
      }
      header .header-mobile-menu-contacts a {
        font-weight: 700;
        text-decoration: none;
        color: inherit;
      }
    body:has(.header-mobile-menu[open]) {overflow: hidden;}

@media (width < 360px) {
  header .header-mobile-menu {padding: 24px 16px;}
  header .header-menu-close {width: 32px;}
  header .header-mobile-menu .header-center-right-buttons {gap: 8px;}
  header .header-mobile-menu .header-center-right-buttons a {padding-inline: 12px;}
}

@media (1270px <= width < 1400px) {
  header .header-center-right {gap: 24px;}
}

@media (width < 1270px) {
  header .container {background-image: none;}
  header .header-top {
    margin: 0 32px;
    padding: 8px 20px;
    gap: 16px;
  }
  header .header-top-right ul {gap: 24px;}
  header .header-top-right li:nth-child(n + 3) {display: none;}
  header .header-menu-toggle {display: inline-flex;}
  header .header-center {
    align-items: center;
    gap: 24px;
    min-height: 160px;
    margin: 0 32px;
  }
  header .header-center-left {display: none;}
  header .header-center-center {
    align-items: center;
    width: auto;
    gap: 24px;
  }
  header .header-center-center-logo {
    flex-shrink: 0;
    margin: 0;
  }
  header .header-center-center-text {
    padding: 0;
    background: none;
    margin-top: 40px;
  }
  header .header-center-right {
    align-items: center;
    width: auto;
    gap: 24px;
    margin-top: 0;
  }
  header .header-center-right-icons {margin: 0;}
  header .header-bottom {margin: 0 32px;}
}

@media (max-width: 767px) {
  header {margin-bottom: 40px;}
  header .container {min-height: 0;}
  header .header-top {
    margin: 0 20px;
    padding: 4px 12px;
    gap: 8px;
  }
  header .header-top-right ul {gap: 12px;}
  header .header-center {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 12px;
    min-height: 0;
    margin: 12px 20px 0;
  }
  header .header-center-center {gap: 12px;}
  header .header-center-center-logo {width: clamp(60px, 18vw, 80px);}
  header .header-center-center-text {font-size: 14px; margin-top: 26px;}
  header .header-center-right {display: contents;}
  header .header-center-right-icons {
    grid-column: 2;
    grid-row: 1;
    gap: 16px;
    margin-top: 20px;
  }
  header .header-bottom {
    margin: 0 20px;
    padding: 20px 0 16px;
  }
}

@media (max-width: 380px) {
  header .header-center-center {display: contents;}
  header .header-center-center-logo {
    grid-column: 1;
    grid-row: 1;
  }
  header .header-center-center-text {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* HERO: необязательный блок главной страницы внутри шапки. */
.header-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  max-width: 1440px;
  min-height: 540px;
  margin: 0 auto;
  padding: 0 40px 0;
}
  .header-hero-text {display: block; margin-bottom: 104px; text-decoration: none; text-transform: uppercase;}
    .header-hero-text h1 {font-size: clamp(36px, 4.5vw, 72px); line-height: 0.95;}
    .header-hero-text p {margin-top: 16px; font-size: clamp(22px, 2.25vw, 36px); font-weight: 300; line-height: 1.2; color: #fff;}
  .header-hero-media {position: relative; display: block; width: 100%; aspect-ratio: 1.28;}
    .header-hero-media img {width: 100%; height: 100%; object-fit: contain; object-position: center bottom;}
    .header-hero-placeholder {
      display: block;
      width: 100%;
      height: 100%;
      border: 1px dashed rgba(255, 255, 255, 0.4);
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.08);
    }
  .header-hero a:focus-visible {outline: 2px solid #281C00; outline-offset: 6px;}

@media (max-width: 1100px) {
  .header-hero {min-height: 420px; gap: 32px;}
  .header-hero-text {margin-bottom: 72px;}
}

@media (max-width: 767px) {
  .header-hero {grid-template-columns: minmax(0, 1fr); gap: 24px; min-height: 0; padding: 32px 20px 0;}
  .header-hero-text {margin-bottom: 0;}
  .header-hero-text h1 {max-width: 520px; font-size: clamp(34px, 8vw, 52px); line-height: 1;}
  .header-hero-text p {font-size: clamp(22px, 4.5vw, 28px);}
  .header-hero-media {justify-self: center; max-width: 520px; max-height: 340px;}
}

/* SECTION SUBCATEGORIES */
.section-subcategories {margin-bottom: 72px;}
  .section-subcategories .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
  }
    .section-subcategories ul {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      margin: 0;
      padding: 0;
      list-style: none;
      overflow-x: auto;
      scrollbar-width: none;
      overscroll-behavior-x: contain;
    }
    .section-subcategories ul::-webkit-scrollbar {display: none;}
    .section-subcategories li {flex: 0 0 90px;}
    .section-subcategories a {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      color: #34312F;
      text-decoration: none;
      white-space: nowrap;
    }
    .section-subcategories img {
      width: 90px;
      height: 110px;
      border-radius: 8px;
      object-fit: cover;
    }

@media (min-width: 768px) {
  header:has(+ .section-subcategories) {margin-bottom: 0;}
  .section-subcategories {margin: 50px 0 96px;}
}

@media (max-width: 600px) {
  .section-subcategories {margin-bottom: 40px;}
  .section-subcategories .container {padding: 0 20px;}
}

/* PRODUCTS: общая сетка, карточки и режим карусели. */
.product-section {margin-bottom: 96px;}
.product-section.product-section--spaced {margin-bottom: 128px;}
.product-section.product-section--offers {margin-bottom: 124px;}
  .product-section .container,
  .section-blog .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
  }
  .product-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
  }
    .product-section-header h2,
    .section-blog h2 {
      font-size: 40px;
      font-weight: 900;
      line-height: 44px;
    }
    .product-carousel-controls {display: flex; gap: 10px;}
    .product-carousel-controls button {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 32px;
      padding: 0;
      border: 0;
      background: transparent;
    }
    .product-carousel-controls button:disabled {opacity: 0.4; cursor: default;}
    .product-carousel-controls img {width: 14px; height: auto;}
    .product-carousel-prev img {transform: rotate(180deg);}
.product-grid {
  --product-columns: 4;
  --product-gap: 48px;
  display: grid;
  grid-template-columns: repeat(var(--product-columns), minmax(0, 1fr));
  gap: var(--product-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
  .product-grid--carousel {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--product-columns) - 1) * var(--product-gap)) / var(--product-columns));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .product-grid--carousel::-webkit-scrollbar {display: none;}
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  scroll-snap-align: start;
}
  .product-card-gallery {position: relative; margin-bottom: 24px;}
  .product-card-media {
    position: relative;
    display: block;
    aspect-ratio: 610 / 636;
    overflow: hidden;
  }
    .product-card-image {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity 260ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
    }
    .product-card-image + .product-card-image {opacity: 0;}
    .product-card-pagination {
      position: absolute;
      top: calc(100% + 5px);
      left: 0;
      right: 0;
      display: flex;
      gap: 5px;
    }
      .product-card-pagination span {flex: 1; height: 1px; background: #E1E1E1; transition: background-color 180ms ease;}
      .product-card-pagination span:first-child {background: #34312F;}
    .product-card-cart {
      position: absolute;
      right: 10px;
      bottom: 10px;
      width: 48px;
      height: 48px;
      padding: 0;
      border: 0;
      background: transparent;
      opacity: 0;
      border-radius: 50%;
      pointer-events: none;
      transform: translateY(6px);
      transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    }
      .product-card-cart img {width: 48px; height: auto;}
  .product-card-content {display: flex; flex-direction: column; flex: 1;}
    .product-card-title {
      margin-bottom: 12px;
      font-size: 20px;
      font-weight: 700;
      line-height: 24px;
    }
      .product-card-title a {color: inherit; text-decoration: none;}
    .product-card-size {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 12px;
      color: #87807B;
    }
      .product-card-size img {flex-shrink: 0; width: 8px; height: auto;}
    .product-card-description {line-height: 18px; color: #87807B;}
    .product-card-price {
      margin-top: auto;
      padding-top: 16px;
      font-size: 20px;
      font-weight: 700;
      line-height: 24px;
    }
  .product-card:focus-within .product-card-cart {opacity: 1; transform: none; pointer-events: auto;}
  .product-card:has(:focus-visible) .product-card-cart {transition: none;}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-card-cart {opacity: 1; transform: none; pointer-events: auto;}
  .product-card:hover .product-card-gallery--multiple.is-preview-ready .product-card-image:nth-child(2) {opacity: 1;}
  .product-card:hover .product-card-gallery--multiple.is-preview-ready .product-card-pagination span:first-child {background: #E1E1E1;}
  .product-card:hover .product-card-gallery--multiple.is-preview-ready .product-card-pagination span:nth-child(2) {background: #34312F;}
}

@media (hover: none), (pointer: coarse) {
  .product-card-cart {opacity: 1; transform: none; pointer-events: auto;}
}

@media (max-width: 1100px) {
  .product-grid {--product-columns: 3; --product-gap: 24px;}
}

@media (max-width: 800px) {
  .product-grid {--product-columns: 2;}
}

@media (max-width: 600px) {
  .product-section {margin-bottom: 40px;}
  .product-section .container,
  .section-blog .container {padding: 0 20px;}
  .product-section-header {gap: 16px; margin-bottom: 24px;}
  .product-section-header h2,
  .section-blog h2 {font-size: 28px; line-height: 32px;}
  .product-grid {--product-columns: 1; --product-gap: 20px;}
  .product-card-title {font-size: 18px;}
}

/* SECTION FACTS */
.section-facts {
  margin-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: #FAA901;
}
  .section-facts .container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 40px;
  }
    .section-facts dt {
      margin-bottom: 4px;
      font-size: 32px;
      font-weight: 700;
      line-height: 38px;
    }
    .section-facts dd {margin: 0;}

@media (max-width: 900px) {
  .section-facts .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .section-facts .container {padding: 28px 20px;}
  .section-facts dt {font-size: 24px; line-height: 30px;}
}

/* SECTION CATALOG */
.section-catalog {
  margin-bottom: 25px;
  border-radius: 0 0 30px 30px;
  background: #F0F0F0;
}
  .section-catalog .container {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 64px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 98px 40px 60px;
  }
  .catalog-grid {display: grid; gap: 14px;}
    .catalog-row {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }
    .catalog-row--wide {grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.8fr);}
    .catalog-row .catalog-tile {
      display: block;
      min-height: 200px;
      padding: 20px;
      border-radius: 10px;
      background: #fff;
      color: #000;
      font-size: 22px;
      font-weight: 700;
      line-height: 24px;
      text-decoration: none;
    }
      .catalog-row .catalog-tile-1 {background: #E3420B url(./images/cat1.png) no-repeat 0 calc(100% - 14px); background-size: 100% auto; color: #fff;}
      .catalog-row .catalog-tile-2 {background: #000000 url(./images/cat2.png) no-repeat 100% 100%; background-size: 160px auto; color: #fff;}
      .catalog-row .catalog-tile-3 {background: #ffffff url(./images/cat3.png) no-repeat 100% 100%; background-size: 134px auto;}
      .catalog-row .catalog-tile-4 {background: #089A95 url(./images/cat4.png) no-repeat 100% 100%; background-size: 127px auto; color: #fff;}
      .catalog-row .catalog-tile-5 {background: #FAA901 url(./images/cat5.png) no-repeat 50% calc(100% + 24px); background-size: 128% auto;}
      .catalog-row .catalog-tile-6 {background: #ffffff url(./images/cat6.png) no-repeat 100% 100%; background-size: 195px auto;}
      .catalog-row .catalog-tile-7 {background: #000000 url(./images/cat7.png) no-repeat 100% 100%; background-size: auto 100%; color: #fff;}
      .catalog-row .catalog-tile-8 {background: #089A95 url(./images/cat8.png) no-repeat 100% calc(100% - 4px); background-size: 166px auto; color: #fff;}
      .catalog-row .catalog-tile-9 {background: #ffffff url(./images/cat9.png) no-repeat 100% 100%; background-size: 192px auto;}
      .catalog-row .catalog-tile-10 {background: #000000 url(./images/cat10.png) no-repeat 50% 50% / cover; color: #fff;}
      .catalog-row .catalog-tile-11 {background: #FAA901 url(./images/cat11.png) no-repeat 50% 100%; background-size: 141px auto;}
        @media (max-width: 767px) {
          .catalog-row .catalog-tile-1 {}
          .catalog-row .catalog-tile-2 {background-size: 135px auto;}
          .catalog-row .catalog-tile-3 {background-size: 105px auto;}
          .catalog-row .catalog-tile-4 {background-size: 90px auto;}
          .catalog-row .catalog-tile-5 {}
          .catalog-row .catalog-tile-6 {background-size: 135px auto;}
          .catalog-row .catalog-tile-7 {}
          .catalog-row .catalog-tile-8 {background-size: 106px auto;}
          .catalog-row .catalog-tile-9 {background-size: 152px auto;}
          .catalog-row .catalog-tile-10 {}
          .catalog-row .catalog-tile-11 {background-size: 111px auto;}
        }

  .catalog-occasions {align-self: end; padding-bottom: 48px;}
    .catalog-occasions h2 {
      margin-bottom: 32px;
      font-size: 26px;
      font-weight: 700;
      line-height: 32px;
    }
    .catalog-occasions ul {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .catalog-occasions a {
      display: inline-block;
      padding: 2px 12px;
      border-radius: 50px;
      background: #fff;
      color: #34312F;
      line-height: 18px;
      text-decoration: none;
    }

@media (max-width: 1100px) {
  .section-catalog .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .catalog-occasions {padding-bottom: 0;}
  .catalog-occasions ul {flex-direction: row; flex-wrap: wrap; gap: 12px;}
}

@media (max-width: 767px) {
  .section-catalog .container {padding-inline: 20px;}
  .catalog-row {grid-template-columns: repeat(2, minmax(0, 1fr));}
  .catalog-row--wide .catalog-tile:last-child {grid-column: 1 / -1;}
  .catalog-row .catalog-tile {
    min-height: 144px;
    padding: 14px;
    font-size: 18px;
    line-height: 22px;
  }
}

/* SECTION BENEFITS */
.section-benefits {
  margin-bottom: 130px;
  border-bottom: 1px solid #E1E1E1;
}
  .section-benefits .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px 24px;
    list-style: none;
  }
    .section-benefits li {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 16px;
      font-weight: 500;
      line-height: 22px;
    }
    .section-benefits img {flex-shrink: 0; width: 25px; height: auto;}
    .section-benefits li:first-child img {width: 30px;}

@media (max-width: 900px) {
  .section-benefits .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .section-benefits .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-inline: 20px;
  }
}

/* SECTION AUTHOR CAKES */
.section-author-cakes {
  margin-bottom: 150px;
  padding: 112px 0 108px;
  border-radius: 0 0 30px 30px;
  background: #F0F0F0;
}
  .section-author-cakes .product-section {margin-bottom: 144px;}
  .order-guide.container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 2.5fr));
    align-items: stretch;
    gap: 44px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
  }
    .order-guide > h2 {padding-top: 60px; font-size: 40px; font-weight: 900; line-height: 44px;}
    .order-card {
      position: relative;
      min-width: 0;
      min-height: 536px;
      padding: 60px 56px 88px;
      overflow: hidden;
      border-radius: 20px;
      background: #fff;
    }
      .order-card h3 {margin-bottom: 56px; font-size: 25px; font-weight: 400; line-height: 30px; text-transform: uppercase;}
      .order-urgent {position: relative; display: inline-block; white-space: nowrap;}
      .order-urgent::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        width: 116px;
        height: 16px;
        background: url("./images/line.png") no-repeat center / contain;
        transform: translateX(-50%);
      }
      .order-steps {position: relative; z-index: 1; display: grid; gap: 38px; margin: 0; padding: 0; list-style: none;}
        .order-steps li {display: grid; grid-template-columns: 75px minmax(0, 1fr); align-items: center; gap: 30px;}
        .order-step-number {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 75px;
          height: 75px;
          border-radius: 50%;
          background: #FCBC1B;
          font-size: 32px;
          font-weight: 900;
          line-height: 1;
        }
        .order-steps li:nth-child(2) .order-step-number {background: #05AAA4; color: #fff;}
        .order-steps li:nth-child(3) .order-step-number {background: #FF4200; color: #fff;}
    .order-card--author {padding-bottom: 160px; background: #20201E; color: #fff;}
      .order-card--author .order-steps {gap: 44px; color: #D0D0D0;}
      .order-card--author .order-step-number,
      .order-card--author .order-steps li:nth-child(2) .order-step-number {background: #fff; color: #000;}
      .order-card-line {position: absolute; right: 0; bottom: 0; width: 100%; height: 180px; pointer-events: none;}

@media (max-width: 1270px) {
  .order-guide.container {gap: 24px;}
  .order-guide > h2 {font-size: 32px; line-height: 36px;}
  .order-card {padding-inline: 32px;}
  .order-steps li {gap: 20px;}
}

@media (max-width: 1100px) {
  .order-guide.container {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px;}
  .order-guide > h2 {grid-column: 1 / -1; padding-top: 0;}
  .order-card {padding-top: 40px; padding-bottom: 56px;}
  .order-card--author {padding-bottom: 160px;}
  .order-steps li {grid-template-columns: 60px minmax(0, 1fr);}
  .order-step-number {width: 60px; height: 60px; font-size: 28px;}
}

@media (max-width: 767px) {
  .section-author-cakes {padding: 48px 0;}
  .section-author-cakes .product-section {margin-bottom: 64px;}
  .order-guide.container {grid-template-columns: minmax(0, 1fr); padding-inline: 20px;}
  .order-guide > h2 {font-size: 28px; line-height: 32px;}
  .order-card {min-height: 0; padding: 32px 24px 40px;}
  .order-card h3 {margin-bottom: 40px; font-size: 22px; line-height: 28px;}
  .order-steps {gap: 28px;}
  .order-card--author {padding-bottom: 160px;}
  .order-card--author .order-steps {gap: 28px;}
}

/* SECTION CAKE BUILDER */
.section-cake-builder {margin-bottom: 224px;}
  .section-cake-builder .container {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    align-items: center;
    gap: 160px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
  }
    .cake-builder-steps {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      margin: 0;
      padding: 0;
      list-style: none;
    }
      .cake-builder-step {
        display: flex;
        flex-direction: column;
        min-height: 448px;
        padding: 30px;
      }
      .cake-builder-step--weight {background: #FCBC1B url(./images/master-1.png) no-repeat 0 0%; background-size: 100% auto;}
      .cake-builder-step--filling {background: #05AAA4 url(./images/master-2.png) no-repeat 0 50%; background-size: 100% auto; color: #fff;}
      .cake-builder-step--decoration {background: #FF4200 url(./images/master-3.png) no-repeat 0 100%; background-size: 100% auto; color: #fff;}
        @media (max-width: 600px) {
          .cake-builder-step--weight {background-size: 50% auto;}
          .cake-builder-step--filling {background-size: 80% auto;}
          .cake-builder-step--decoration {background-position: 100% 100%; background-size: 55% auto;}
        }
        .cake-builder-step-number {font-size: 16px; line-height: 22px;}
        .cake-builder-step h3 {font-size: 30px; font-weight: 700; line-height: 34px;}
        .cake-builder-step p {margin-top: auto; padding-top: 24px; font-size: 16px; line-height: 18px;}
    .cake-builder-intro h2 {font-size: 40px; font-weight: 900; line-height: 37px; text-transform: uppercase;}
    .cake-builder-intro > p {margin-top: 16px; font-size: 25px; line-height: 26px; text-transform: uppercase;}
    .cake-builder-more {display: inline-block; margin-top: 60px; text-decoration: none;}

@media (max-width: 1270px) {
  .section-cake-builder .container {gap: 64px;}
  .cake-builder-step {padding: 24px;}
  .cake-builder-step h3 {font-size: 26px; line-height: 30px;}
  .cake-builder-intro h2 {font-size: 32px; line-height: 34px;}
}

@media (max-width: 1100px) {
  .section-cake-builder .container {grid-template-columns: minmax(0, 1fr); gap: 32px;}
  .cake-builder-intro {grid-row: 1;}
  .cake-builder-more {margin-top: 28px;}
  .cake-builder-step {min-height: 360px;}
}

@media (max-width: 767px) {
  .section-cake-builder {margin-bottom: 100px;}
    .section-cake-builder .container {padding-inline: 20px;}
    .cake-builder-intro h2 {font-size: 28px; line-height: 32px;}
    .cake-builder-intro > p {font-size: 22px; line-height: 26px;}
}

@media (max-width: 600px) {
  .cake-builder-steps {grid-template-columns: minmax(0, 1fr);}
  .cake-builder-step {min-height: 240px;}
}

/* SECTION CAFES */
.section-cafes {position: relative; overflow: hidden; margin-bottom: 118px;}
  .cafes-line {
    position: absolute;
    top: 0;
    left: max(50%, 720px);
    width: 1600px;
    max-width: none;
    height: 1060px;
    overflow: visible;
    transform: translateX(-50%);
    pointer-events: none;
  }
  .section-cafes .container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
  }
    .cafes-intro {padding-top: 140px;}
      .cafes-intro h2 {font-size: clamp(28px, 2.78vw, 40px); font-weight: 400; line-height: 1.1; text-transform: uppercase;}
      .cafes-intro h2 strong {display: block; font-weight: 900;}
      .cafes-more {display: inline-block; margin-top: 88px; text-decoration: none;}
    .cafes-column img {width: 100%; height: auto;}
    .cafes-column p {margin: 36px 0 76px; font-size: 18px; line-height: 26px;}
    .cafes-column--offset {padding-top: 58px;}
    .cafes-column--offset img + img {margin-top: 24px;}
    .cafes-column--offset p {margin: 32px 0 0;}

@media (max-width: 1100px) {
  .cafes-line {display: none;}
  .section-cafes .container {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px;}
  .cafes-intro {grid-column: 1 / -1; padding-top: 0;}
  .cafes-more {margin-top: 28px;}
  .cafes-column p {margin: 24px 0 48px;}
  .cafes-column--offset {padding-top: 40px;}
  .cafes-column--offset p {margin-bottom: 0;}
}

@media (max-width: 767px) {
  .section-cafes {margin-bottom: 40px;}
  .section-cafes .container {padding-inline: 20px;}
  .cafes-intro h2 {font-size: 28px; line-height: 32px;}
}

@media (max-width: 600px) {
  .section-cafes .container {grid-template-columns: minmax(0, 1fr); padding-bottom: 40px;}
  .cafes-column--offset {padding-top: 0;}
  .cafes-column p {margin-bottom: 32px;}
  .cafes-column--offset p {margin-bottom: 0;}
}

/* SECTION REASONS */
.section-reasons {
  margin-bottom: 122px;
  background: #FCBC1B;
}
  .section-reasons .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 76px 40px 68px;
  }
    .section-reasons h2 {
      margin-bottom: 48px;
      font-size: 40px;
      font-weight: 400;
      line-height: 44px;
      text-transform: uppercase;
    }
      .section-reasons h2 strong {font-weight: 900;}
    .reasons-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      margin: 0;
      padding: 0;
      list-style: none;
    }
      .reason-card {
        display: grid;
        grid-template-columns: 55px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        min-height: 158px;
        padding: 28px;
        border-radius: 10px;
        background: #fff;
      }
        .reason-card > img {width: 55px; height: auto;}
        .reason-card h3 {margin-bottom: 8px; font-size: 18px; font-weight: 700; line-height: 22px;}
        .reason-card p {font-size: 16px; line-height: 22px;}
        .section-reasons a,
        .order-card a {color: #FF4B23; text-decoration: none;}
        .section-reasons a:hover,
        .order-card a:hover {text-decoration: underline;}

@media (max-width: 1100px) {
  .reasons-grid {grid-template-columns: repeat(2, minmax(0, 1fr));}
}

@media (max-width: 767px) {
  .section-reasons {margin-bottom: 60px;}
  .section-reasons .container {padding: 44px 20px;}
  .section-reasons h2 {margin-bottom: 28px; font-size: 28px; line-height: 32px;}
  .reasons-grid {grid-template-columns: minmax(0, 1fr);}
  .reason-card {padding: 20px;}
}

/* SECTION BLOG */
.section-blog {margin-bottom: 163px;}
  .section-blog h2 {margin-bottom: 40px;}
  .section-blog h2 a,
  .blog-card > a {color: inherit; text-decoration: none;}
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
    .blog-card > a {display: block;}
    .blog-card img {
      width: 100%;
      height: auto;
      aspect-ratio: 867 / 444;
      object-fit: cover;
      border-radius: 10px;
      margin-bottom: 24px;
    }
    .blog-card time {display: block; color: #818181;}
    .blog-card h3 {font-size: 20px; font-weight: 400; line-height: 24px;}

@media (max-width: 900px) {
  .blog-grid {grid-template-columns: repeat(2, minmax(0, 1fr));}
}

@media (max-width: 600px) {
  .section-blog {margin-bottom: 80px;}
  .section-blog h2 {margin-bottom: 24px;}
  .blog-grid {grid-template-columns: minmax(0, 1fr); gap: 32px;}
}

/* SECTION ZONES */
.section-zones {
}
  .section-zones .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-start;
    gap: 128px;
  }
  .section-zones-left {
    width: 50%;
  }
    .section-zones-left img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
  .section-zones-right {
    width: 50%;
    min-width: 0;
    padding-top: 28px;
  }
    .section-zones-right h2 {
      margin-bottom: 12px;
      font-size: 40px;
      font-weight: 900;
      line-height: 37px;
      text-transform: uppercase;
    }
    .section-zones-subtitle {
      margin-bottom: 62px;
      font-size: 25px;
      line-height: 30px;
      text-transform: uppercase;
    }
    .section-zones-prices {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
    }
      .section-zones-prices tr {border-bottom: 1px solid #E1E1E1;}
      .section-zones-prices :is(th, td) {
        padding: 0;
        text-align: left;
      }
      .section-zones-prices tr > :first-child {width: 22%;}
      .section-zones-prices thead th {
        font-size: 20px;
        font-weight: 700;
        line-height: 24px;
      }
      .section-zones-prices thead span {
        display: block;
        width: 100px;
        max-width: calc(100% - 12px);
        padding-bottom: 10px;
        border-bottom: 3px solid #FCB712;
      }
      .section-zones-prices thead th:nth-child(3) span {border-color: #F18916;}
      .section-zones-prices thead th:nth-child(4) span {border-color: #16B1AB;}
      .section-zones-prices tbody tr {height: 70px;}
      .section-zones-prices tbody th {
        font-weight: 700;
        line-height: 15px;
      }
      .section-zones-prices td {white-space: nowrap;}
    .section-zones-note {margin-top: 64px;}
    .section-zones-right .section-zones-more {
      display: inline-block;
      margin-top: 40px;
      text-decoration: none;
    }

@media (max-width: 900px) {
  .section-zones .container {
    flex-direction: column;
    gap: 32px;
  }
  .section-zones-left,
  .section-zones-right {width: 100%;}
  .section-zones-right {padding-top: 0;}
}

@media (max-width: 600px) {
  .section-zones .container {padding: 0 20px;}
  .section-zones-prices tr > :first-child {width: 32%;}
  .section-zones-prices thead th {font-size: 16px;}
  .section-zones-prices tbody th {font-size: 12px;}
}

/* SECTION DIDNT FIND CAKES */
.section-didnt-find-cakes {
  background: #F0F0F0;
  border-radius: 0 0 30px 30px;
  margin-top: 144px;
}
  .section-didnt-find-cakes .container {
    min-height: 684px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin: 0 auto;
    max-width: 1440px;
    padding: 78px 40px 78px 40px;
    background: url("./images/phone-bg.png") no-repeat 18% 90%;
    background-size: 563px auto;
  }
    .section-didnt-find-cakes-content {
      max-width: 400px;
    }
      .section-didnt-find-cakes-content h2 {
        font-size: 40px;
        font-weight: 900;
        line-height: 37px;
        margin-bottom: 40px;
        margin-top: 48px;
        text-transform: uppercase;
      }
      .section-didnt-find-cakes-content p {
        font-size: 17px; line-height: 26px;
      }
    .section-didnt-find-cakes-form {
      width: 100%;
      max-width: 785px;
      background: #FFFFFF;
      box-shadow: 0px 16px 32px rgba(44, 34, 31, 0.06);
      border-radius: 24px;
      box-sizing: border-box;
      padding: 40px 52px;
    }
      .cake-request-form {
        display: grid;
        grid-template-columns: minmax(0, 226px) minmax(0, 1fr);
        align-items: center;
        gap: 20px;
      }
        .cake-request-form > :is([role="status"], [role="alert"]) {
          grid-column: 1 / -1;
          margin: 0;
        }
        .cake-request-form > label:not(.form-consent) {
          font-weight: 700;
          color: #34312F;
        }
        .cake-request-form small,
        .cake-request-form .form-consent {
          font-size: 12px;
          font-weight: 400;
          line-height: 17px;
          color: #87807B;
        }
        .cake-request-form small {
          display: block;
          margin-top: 4px;
        }
        .cake-request-form input:not([type="checkbox"]),
        .cake-request-form textarea {
          width: 100%;
          min-width: 0;
          border: 1px solid #EBDCCC;
          border-radius: 12px;
          padding: 13px 15px;
          background: #fff;
        }
        .cake-request-form input:not([type="checkbox"]) {
          height: 48px;
        }
        .cake-request-form textarea {
          min-height: 120px;
          resize: vertical;
        }
        .cake-request-form input::placeholder,
        .cake-request-form textarea::placeholder {
          color: #B8B4B1;
          opacity: 1;
        }
        .cake-request-form .form-consent,
        .cake-request-form button {
          grid-column: 2;
        }
        .cake-request-form .form-consent {
          display: flex;
          align-items: flex-start;
          gap: 12px;
          margin-top: 12px;
          cursor: pointer;
        }
        .cake-request-form .form-consent a {
          color: inherit;
        }
        .cake-request-form input[type="checkbox"] {
          appearance: none;
          flex: 0 0 20px;
          width: 20px;
          height: 20px;
          margin: 0;
          border: 1px solid #EBDCCC;
          border-radius: 6px;
          cursor: pointer;
        }
        .cake-request-form input[type="checkbox"]:checked {
          background: #000;
          border-color: #000;
        }
        .cake-request-form input[type="checkbox"]:checked::before {
          content: "";
          display: block;
          width: 6px;
          height: 11px;
          margin: 2px 6px;
          border: solid #fff;
          border-width: 0 2px 2px 0;
          transform: rotate(45deg);
        }
        .cake-request-form button {margin-top: 6px;}
        .cake-request-form button,
        .section-zones-right .section-zones-more,
        .section-cafes .cafes-more,
        .section-cake-builder .cake-builder-more {
          padding: 8px 16px;
          border: 0;
          border-radius: 50px;
          background: #000;
          color: #fff;
        }
        .cake-request-form :is(input, textarea, button):focus-visible {
          outline: 2px solid #87807B;
          outline-offset: 2px;
        }

/* FOOTER */
footer {
  margin: 0;
  background: #fff;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 40px 52px 40px;
}
  footer .container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }
    footer .footer-left {
      width: 41%;
    }
      footer .footer-left-logo {width: 269px; margin-bottom: 50px;}
      footer .footer-left-text {margin-bottom: 28px; max-width: 300px;}
      footer .footer-left-foresite {margin-bottom: 28px; max-width: 300px;} 
        footer .footer-left-foresite a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #000;}
        footer .footer-left-foresite-logo {width: 80px; height: auto; margin-top: -4px;}
      footer .footer-left-about {max-width: 300px; color: #828282;}
    footer .footer-center {
      width: 24%;
      padding-top: 26px;
    }
      footer .footer-center-title {
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 28px;
      }
      footer .footer-center-menu {}
        footer .footer-center-menu ul {
          display: flex;
          flex-direction: column;
          gap: 7px;
          margin: 0; padding: 0;
          list-style: none;
        }
        footer .footer-center-menu ul li {
          list-style: none; margin: 0; padding: 0;
          font-size: 15px;
        }
          footer .footer-center-menu ul li a {
            text-decoration: none;
          }
    footer .footer-right {
      padding-top: 26px;
    }
      footer .footer-right-title {
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 28px;
      }
      footer .footer-right-contacts {
      }
      footer .footer-right-contacts-phone {
        font-size: 15px; line-height: 1.6;
        margin-bottom: 32px;
      }
        footer .footer-right-contacts-phone a {
          text-decoration: none;
          font-weight: 700;
        }
      footer .footer-right-contacts-social {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }
        footer .footer-right-contacts-social a {
          display: grid;
          grid-template-columns: 18px auto;
          align-items: center;
          column-gap: 10px;
          text-decoration: none;
        }
          footer .footer-right-contacts-social a img {justify-self: center;}
            footer .footer-right-contacts-social a img.footer-right-contacts-social-1 {width: 16px; height: 12px;}
            footer .footer-right-contacts-social a img.footer-right-contacts-social-2 {width: 18px; height: 10px;}

/* Адаптивность секции с формой и подвала. */
@media (max-width: 1200px) {
  .section-didnt-find-cakes .container {
    flex-direction: column;
    gap: 32px;
    max-width: 865px;
    min-height: 0;
    padding-top: 56px;
    padding-bottom: 56px;
    background-image: none;
  }
  .section-didnt-find-cakes-content {
    max-width: 640px;
  }
  .section-didnt-find-cakes-content h2 {
    margin: 0 0 20px;
    font-size: 36px;
    line-height: 1.1;
  }
}

@media (max-width: 900px) {
  footer .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  footer .footer-left {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
    width: auto;
  }
  footer .footer-left > * {
    margin-bottom: 0;
  }
  footer .footer-left-logo {
    width: 184px;
  }
  footer .footer-center,
  footer .footer-right {
    width: auto;
    min-width: 0;
    padding-top: 0;
  }
  footer .footer-center-title,
  footer .footer-right-title {
    margin-bottom: 16px;
  }
  footer .footer-center-menu ul {
    gap: 4px;
  }
  footer .footer-center-menu a {
    display: flex;
    align-items: center;
    min-height: 28px;
  }
  footer .footer-right-contacts-phone a {
    white-space: nowrap;
  }
  footer .footer-right-contacts-phone {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .section-didnt-find-cakes {margin-top: 58px;}
  .section-didnt-find-cakes .container {
    gap: 24px;
    padding: 40px 20px;
  }
  .section-didnt-find-cakes-content h2 {
    font-size: clamp(28px, 6vw, 32px);
  }
  .section-didnt-find-cakes-content p {
    font-size: 16px;
    line-height: 24px;
  }
  .section-didnt-find-cakes-form {
    padding: 24px;
    border-radius: 20px;
  }
  .cake-request-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .cake-request-form > label:not(.form-consent) {
    margin-bottom: -12px;
  }
  .cake-request-form .form-consent,
  .cake-request-form button {
    grid-column: 1;
  }
  .cake-request-form textarea {
    min-height: 140px;
  }
  .cake-request-form button {
    min-height: 44px;
  }
}

@media (max-width: 600px) {
  footer {
    padding: 32px 20px 40px;
  }
  footer .container {
    grid-template-columns: minmax(0, 1fr);
  }
  footer .footer-left {
    display: block;
  }
  footer .footer-left-logo {
    margin-bottom: 24px;
  }
  footer .footer-left-text,
  footer .footer-left-foresite {
    margin-bottom: 20px;
  }
  footer .footer-center,
  footer .footer-right-title {
    display: none;
  }
}

/* Микроанимации: короткий отклик, небольшая амплитуда, без постоянного движения. */
:root {
  --motion-fast: 180ms;
  --motion-hover: 240ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:is(
  header .header-top-left ul li,
  header .header-top-right ul li,
  header .header-bottom-menu ul li,
  header .header-mobile-menu-catalog,
  header .header-mobile-menu-contacts,
  .product-card-title,
  .section-blog h2,
  .footer-center-menu,
  .footer-right-contacts-phone
) a,
.section-subcategories span,
.blog-card h3,
.section-reasons a,
.order-card a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--motion-fast) ease;
}

:is(
  header .header-center-right-buttons a,
  .cake-request-form button,
  .cake-builder-more,
  .cafes-more,
  .section-zones-more,
  .catalog-occasions a
) {
  transition: background-color var(--motion-fast) ease, transform var(--motion-hover) var(--motion-ease);
}

.catalog-tile,
.section-subcategories img,
.header-hero-media img,
.header-center-right-icons a,
.header-menu-button,
.product-carousel-controls button {
  transition: transform var(--motion-hover) var(--motion-ease), opacity var(--motion-fast) ease;
}

.header-hero-media img {transform-origin: center bottom;}
.blog-card img,
.footer-right-contacts-social a,
.footer-left-foresite a {transition: opacity var(--motion-fast) ease;}

.cake-request-form :is(input, textarea) {transition: border-color var(--motion-fast) ease;}
.cake-request-form :is(input, textarea):focus {border-color: #87807B;}
.cake-request-form :is(input, textarea):focus-visible {transition: none;}

:where(a, button):focus-visible {
  outline: 2px solid #34312F;
  outline-offset: 4px;
}

:is(
  header .header-top-left ul li,
  header .header-top-right ul li,
  header .header-bottom-menu ul li,
  header .header-mobile-menu-catalog,
  header .header-mobile-menu-contacts,
  .product-card-title,
  .section-blog h2,
  .footer-center-menu,
  .footer-right-contacts-phone
) a:focus-visible,
.section-subcategories a:focus-visible span,
.blog-card a:focus-visible h3 {
  text-decoration-color: currentColor;
  transition: none;
}

@media (hover: hover) and (pointer: fine) {
  :is(
    header .header-top-left ul li,
    header .header-top-right ul li,
    header .header-bottom-menu ul li,
    header .header-mobile-menu-catalog,
    header .header-mobile-menu-contacts,
    .product-card-title,
    .section-blog h2,
    .footer-center-menu,
    .footer-right-contacts-phone
  ) a:hover,
  .section-subcategories a:hover span,
  .blog-card a:hover h3 {text-decoration-color: currentColor;}

  header .header-center-right-buttons a:hover {background-color: #DFA516;}
  header .header-center-right-buttons .header-center-right-buttons-button-constructor:hover,
  .cake-request-form button:hover,
  .section-cake-builder .cake-builder-more:hover,
  .section-cafes .cafes-more:hover,
  .section-zones-right .section-zones-more:hover {background-color: #34312F;}
  .catalog-occasions a:hover {background-color: #FCBC1B;}
  .blog-card a:hover img {opacity: 0.9;}
  .footer-right-contacts-social a:hover,
  .footer-left-foresite a:hover {opacity: 0.65;}
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-pending {opacity: 0;}

  @media (hover: hover) and (pointer: fine) {
    .product-card:hover .product-card-image {transform: scale(1.025);}
    .product-card .product-card-cart:hover {transform: scale(1.05);}
    .catalog-tile:hover {transform: translateY(-3px);}
    .section-subcategories a:hover img {transform: scale(0.97);}
    .header-hero-media:hover img {transform: scale(1.015);}
    .header-center-right-icons a:hover,
    .header-menu-button:hover {transform: translateY(-2px);}
    :is(
      header .header-center-right-buttons a,
      .cake-request-form button,
      .cake-builder-more,
      .cafes-more,
      .section-zones-more,
      .catalog-occasions a
    ):hover {transform: translateY(-2px);}
    .product-carousel-controls button:not(:disabled):hover {transform: translateX(2px);}
    .product-carousel-controls .product-carousel-prev:not(:disabled):hover {transform: translateX(-2px);}
  }

  :is(
    header .header-center-right-buttons a,
    .cake-request-form button,
    .cake-builder-more,
    .cafes-more,
    .section-zones-more,
    .catalog-occasions a,
    .catalog-tile,
    .header-center-right-icons a,
    .header-menu-button,
    .product-carousel-controls button:not(:disabled)
  ):active:not(:focus-visible),
  .product-card .product-card-cart:active:not(:focus-visible) {
    transform: scale(0.97);
    transition-duration: 100ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {--motion-fast: 0s; --motion-hover: 0s;}
  .product-card-image,
  .product-card-cart,
  .product-card-pagination span {transition-duration: 0s;}
  .product-card-cart {transform: none;}
}

@media print {
  .reveal-pending {opacity: 1;}
}


/* CONTENT WRAPPER */
.content-wrapper {
}
  .content-wrapper .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
  }
    .content-wrapper-content {
    }
  .content-wrapper-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 76px;
  }
    .content-wrapper-heading h1 {}
      .content-wrapper-heading breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
      }
        .content-wrapper-heading breadcrumb a {
          color: #B6B6B6;
          text-decoration: none;
        }
          .content-wrapper-heading breadcrumb a::after {
            content: "/";
            color: #B6B6B6;
            margin-left: 8px;
          }
          .content-wrapper-heading breadcrumb a:last-child::after {
            display: none;
          }
  @media (max-width: 767px) {
    .content-wrapper .container {padding: 0 20px}
      .content-wrapper-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 40px;
      }
      .content-wrapper-heading h1 {font-size: 40px;}
      .content-wrapper-heading breadcrumb {order: -1;}
  }
/* The logo remains in the original grid while linking to the home page. */
header .site-logo-link, footer .footer-logo-link { display: contents; }

.back-to-top { position: fixed; z-index: 10; left: max(20px, env(safe-area-inset-left)); bottom: max(20px, env(safe-area-inset-bottom)); width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: #111; cursor: pointer; }
.back-to-top:not([hidden]) { display: grid; place-items: center; }
.back-to-top img { transform: rotate(-90deg); filter: invert(1); }
.back-to-top:focus-visible { outline: 2px solid #ee672e; outline-offset: 3px; }
@media (hover: hover) {
  .back-to-top:hover { background: #34312f; }
}

/* Formatting authored in the static page editor. */
.content-wrapper-content { overflow-wrap: anywhere; }
.content-wrapper-content > :not(:last-child) { margin-bottom: 1em; }
.content-wrapper-content h2 { font-size: 36px; line-height: 1.2; }
.content-wrapper-content h3 { font-size: 28px; line-height: 1.3; }
.content-wrapper-content ul, .content-wrapper-content ol { padding-left: 1.5em; }
.content-wrapper-content blockquote { margin-inline: 0; padding-left: 20px; border-left: 3px solid #FCBC1B; }

/* Information pages use the same Osnova type, warm surfaces and yellow accents as the shop. */
.information-page .content-wrapper-content { font-size: 18px; line-height: 1.6; }
.information-page .content-wrapper-content > p:first-child { max-width: 800px; margin: -24px 0 56px; font-size: 22px; line-height: 1.5; color: #514d47; }
.information-page .content-wrapper-content > .information-section { margin: 0 0 64px; }
.information-page .content-wrapper-content > :last-child { margin-bottom: 0; }
.information-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; padding-top: 40px; border-top: 1px solid #e5e1da; scroll-margin-top: 32px; }
.information-page .information-section > h2 { max-width: 360px; font-size: 30px; line-height: 1.15; font-weight: 900; }
.information-section-body { min-width: 0; }
.information-section-body > :not(:last-child) { margin-bottom: 18px; }
.information-page .information-section-body h3 { margin-top: 28px; font-size: 21px; line-height: 1.35; font-weight: 700; }
.information-page .information-section-body > h3:first-child { margin-top: 0; }
.information-section-body :is(ul, ol) { margin-top: 0; margin-bottom: 0; }
.information-section-body li + li { margin-top: 12px; }
.information-section-body li::marker { color: #c48900; }
.information-section-body a { text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: #d19b1b; }
.information-section-body a:hover { text-decoration-color: currentColor; }
.information-section-body blockquote { margin: 24px 0; padding: 6px 0 6px 20px; color: #5e574c; }
.information-section--highlight { padding: 32px 40px; border: 0; border-radius: 12px; background: #f8f3e5 url('images/product-info-arc.png') no-repeat right top / 90px 90px; }
.information-page .information-section--highlight > h2 { font-size: 26px; }
.information-section--cards, .information-section--contacts, .information-section--addresses, .information-section--steps { display: block; border: 0; padding-top: 0; }
.information-page :is(.information-section--cards, .information-section--contacts, .information-section--addresses, .information-section--steps) > h2 { max-width: none; margin-bottom: 28px; }
.information-page :is(.information-section--cards, .information-section--contacts) ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; list-style: none; }
:is(.information-section--cards, .information-section--contacts) li { margin: 0; padding: 28px 32px; border-radius: 12px; background: #f8f3e5; }
.information-section--cards li strong { display: block; margin-bottom: 12px; font-size: 34px; line-height: 1.15; font-weight: 900; }
.information-section--contacts li { border-top: 3px solid #fcbc1b; background: #faf8f3; }
.information-section--contacts li strong { display: block; margin-bottom: 16px; font-size: 15px; font-weight: 400; color: #6a6257; }
.information-section--contacts li a { display: inline-block; max-width: 100%; font-weight: 500; }
.information-page .information-section--addresses ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; padding: 0; list-style: none; }
.information-section--addresses li { position: relative; margin: 0; padding: 16px 0 16px 18px; border-bottom: 1px solid #e5e1da; font-size: 16px; line-height: 1.5; }
.information-section--addresses li::before { position: absolute; top: 26px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #fcbc1b; content: ''; }
.information-page .information-section--steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 0; list-style: none; counter-reset: information-step; }
.information-section--steps li { position: relative; margin: 0; padding-top: 60px; counter-increment: information-step; }
.information-section--steps li::before { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fcbc1b; font-weight: 700; content: counter(information-step, decimal-leading-zero); }
.information-section--steps li strong { display: block; margin-bottom: 8px; font-size: 20px; }
.information-section--steps .information-section-body > p { max-width: 800px; margin-top: 32px; }
.information-page .information-section--legal ul { padding: 0; list-style: none; }
.information-section--legal li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; margin: 0; padding: 16px 0; border-bottom: 1px solid #e5e1da; }
.information-section--legal li strong { font-weight: 400; color: #6a6257; }
:is(.information-section--cards, .information-section--contacts, .information-section--addresses, .information-section--steps, .information-section--legal) .information-section-body li { margin: 0; }
.information-page .content-wrapper-content > .information-faq { margin: 0; border-top: 1px solid #e5e1da; scroll-margin-top: 24px; }
.information-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; list-style: none; cursor: pointer; }
.information-faq summary::-webkit-details-marker { display: none; }
.information-page .information-faq summary h2 { font-size: 24px; line-height: 1.35; font-weight: 500; }
.information-faq-icon { position: relative; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: #f8f3e5; }
.information-faq-icon::before, .information-faq-icon::after { position: absolute; top: 17px; left: 11px; width: 14px; height: 2px; background: #281c00; content: ''; }
.information-faq-icon::after { transform: rotate(90deg); }
.information-faq[open] .information-faq-icon { background: #fcbc1b; }
.information-faq[open] .information-faq-icon::after { transform: rotate(0); }
.information-faq summary:hover .information-faq-icon { background: #fcbc1b; }
.information-faq .information-section-body { max-width: 860px; padding: 0 0 28px; }
.information-page .information-faq + .information-section { margin-top: 40px; }
.information-page .section-zones { margin: 72px 0 !important; scroll-margin-top: 32px; }
.information-page .section-zones .container { gap: 64px; padding: 0; }
.information-page .section-zones-right h2 { font-size: 40px; line-height: .95; }
.information-page .section-zones-prices { font-size: 16px; }
.information-page .section-zones-subtitle { margin-bottom: 36px; }
.information-page .section-zones-note { margin-top: 28px; font-size: 15px; line-height: 1.5; }
.information-page .section-zones-more { margin-top: 24px; }
.information-page :is(a, summary):focus-visible { outline: 3px solid #c48900; outline-offset: 5px; border-radius: 3px; }

@media (max-width: 1000px) {
  .information-section { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
  .information-section--highlight { padding: 28px; }
  .information-page :is(.information-section--cards, .information-section--contacts) ul { gap: 12px; }
  :is(.information-section--cards, .information-section--contacts) li { padding: 24px; }
  .information-section--cards li strong { font-size: 28px; }
  .information-page .information-section--addresses ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .information-page .section-zones .container { gap: 32px; }
}

@media (max-width: 767px) {
  .information-page .content-wrapper-heading { margin-bottom: 32px; }
  .information-page .content-wrapper-heading h1 { font-size: 38px; }
  .information-page .content-wrapper-content { font-size: 16px; line-height: 1.6; }
  .information-page .content-wrapper-content > p:first-child { margin: 0 0 32px; font-size: 19px; line-height: 1.5; }
  .information-page .content-wrapper-content > .information-section { margin-bottom: 40px; }
  .information-section { display: block; padding-top: 24px; }
  .information-page .information-section > h2 { max-width: none; margin-bottom: 20px; font-size: 26px; }
  .information-section--highlight { padding: 24px; }
  .information-page .information-section--highlight > h2 { font-size: 24px; }
  .information-page .information-section-body h3 { font-size: 19px; }
  .information-page :is(.information-section--cards, .information-section--contacts) ul { grid-template-columns: 1fr; }
  :is(.information-section--cards, .information-section--contacts) li { padding: 22px 24px; }
  .information-section--cards li strong { margin-bottom: 8px; font-size: 30px; }
  .information-section--contacts li strong { margin-bottom: 8px; }
  .information-page .information-section--steps ol { grid-template-columns: 1fr; gap: 24px; }
  .information-section--steps li { padding: 0 0 0 58px; }
  .information-section--steps li strong { font-size: 18px; }
  .information-section--legal li { grid-template-columns: 1fr; gap: 4px; }
  .information-faq summary { gap: 16px; padding: 22px 0; }
  .information-page .information-faq summary h2 { font-size: 20px; }
  .information-faq .information-section-body { padding-bottom: 24px; }
  .information-page .section-zones { margin: 40px 0 !important; }
  .information-page .section-zones-right h2 { font-size: 32px; }
}

@media (max-width: 480px) {
  .information-page .content-wrapper-heading h1 { font-size: 34px; }
  .information-page .information-section--addresses ul { grid-template-columns: 1fr; }
  .information-page .section-zones-prices { font-size: 14px; }
}

/* Product details and the session cart. */
.content-wrapper-heading breadcrumb { flex-wrap: wrap; flex-shrink: 0; color: #b6b6b6; }
.content-wrapper-heading breadcrumb > :not(:last-child)::after { content: "/"; margin-left: 8px; color: #b6b6b6; }
.content-wrapper-heading breadcrumb a:last-child::after { display: none; }
.product-detail { display: grid; grid-template-columns: minmax(0, 804fr) minmax(0, 440fr); gap: 116px; align-items: start; }
.product-detail--no-photos { display: block; max-width: 560px; }
.product-detail-page .content-wrapper-heading { margin-bottom: 80px; }
.product-detail-page breadcrumb { font-size: 13px; }
.product-gallery { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.product-gallery-thumbnails { position: relative; display: flex; flex-direction: column; align-self: stretch; contain: size; gap: 8px; width: 92px; flex: 0 0 92px; padding: 6px; overflow-y: auto; scrollbar-width: thin; }
.product-gallery-thumbnail { position: relative; display: block; width: 100%; flex: 0 0 auto; padding: 0; border: 0; background: #f3f3f3; cursor: pointer; aspect-ratio: 1; }
.product-gallery-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbnail::before { content: ""; position: absolute; top: 0; bottom: 0; left: -6px; width: 2px; background: #ff5d2c; opacity: 0; }
.product-gallery-thumbnail[aria-pressed="true"]::before { opacity: 1; }
.product-gallery-thumbnail:not([aria-pressed="true"]) img { opacity: .65; }
.product-gallery-stage { position: relative; flex: 1; min-width: 0; }
.product-gallery-stage img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.product-detail-info { min-width: 0; }
.product-measurements { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin: 6px 0 32px; padding-bottom: 16px; border-bottom: 1px solid #dedede; font-size: 15px; line-height: 20px; }
.product-measurements > div { display: flex; align-items: center; gap: 5px; }
.product-measurements dt { display: flex; align-items: center; }
.product-measurements dd { margin: 0; }
.product-measurements img { object-fit: contain; height: auto; }
.product-short-description { font-size: 17px; line-height: 26px; white-space: pre-line; margin: 0 0 46px; }
.product-detail-price { font-size: 28px; line-height: 36px; font-weight: 700; margin: 0 0 16px; }
.product-purchase-form { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 20px; }
.product-purchase-form.product-purchase-form--fixed-quantity { grid-template-columns: minmax(0, 1fr); }
.quantity-control { display: flex; align-items: center; height: 48px; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.quantity-control button { display: grid; place-items: center; width: 44px; height: 48px; flex-shrink: 0; padding: 0; background: none; border: 0; cursor: pointer; }
.quantity-control button:disabled { cursor: default; }
.quantity-control input { min-width: 0; width: 40px; flex: 1; padding: 0; background: none; border: 0; color: #111; text-align: center; font: 700 16px/1 "Osnova Pro", sans-serif; appearance: textfield; -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.shop-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; padding: 10px 24px; background: #000; color: #fff; border: 0; border-radius: 100px; text-align: center; text-decoration: none; font: 400 16px/24px "Osnova Pro", sans-serif; cursor: pointer; }
.shop-ruble { font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; font-size: .95em; line-height: 0; }
.shop-button:hover { background: #252525; }
.shop-button:disabled { cursor: wait; opacity: .7; }
.product-add-to-cart img { filter: invert(1); object-fit: contain; }
.product-purchase-status { min-height: 20px; margin: 12px 0 24px; font-size: 13px; line-height: 20px; color: #686868; }
.product-purchase-status a { color: #111; text-underline-offset: 3px; }
.product-purchase-status [hidden], .site-cart-count[hidden] { display: none; }
.content-wrapper-content .product-additional-info { position: relative; overflow: hidden; padding: 24px 20px; border-radius: 9px; background: #f8f3e5 url('images/product-info-arc.png') no-repeat right top / 66px 66px; margin-bottom: 40px; }
.content-wrapper-content .product-additional-info h2 { font-size: 16px; font-weight: 400; line-height: 24px; }
.content-wrapper-content .product-additional-info h2:not(:last-child) { margin-bottom: 8px; }
.product-additional-info .product-rich-text { color: #929292; font-size: 14px; line-height: 18px; white-space: pre-line; }
.product-rich-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.product-rich-text > :not(:last-child) { margin-bottom: 1em; }
.product-additional-info .product-rich-text > :not(:last-child) { margin-bottom: 0; }
.product-description .product-rich-text > :not(:last-child) { margin-bottom: 0; }
.product-rich-text { font-size: 14px; line-height: 20px; }
.product-rich-text :is(ul, ol) { margin: 0; }
.product-accordion { border-bottom: 1px solid #dedede; }
.product-accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 18px; line-height: 22px; font-weight: 700; list-style: none; cursor: pointer; }
.product-accordion summary::-webkit-details-marker { display: none; }
.product-accordion summary img { flex-shrink: 0; }
.product-accordion[open] > summary img { transform: rotate(180deg); }
.product-description summary { padding-top: 4px; }
.product-accordion-content { padding-bottom: 48px; }
.product-delivery .product-accordion-content { padding-bottom: 24px; }
.product-nutrition { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.product-nutrition:empty { display: none; }
.product-nutrition > div { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; min-width: 66px; padding: 10px 18px; border-radius: 13px; }
.product-nutrition dt { order: 1; font-size: 12px; line-height: 16px; color: #929292; }
.product-nutrition dd { margin: 0 0 3px; font-size: 18px; line-height: 22px; font-weight: 700; white-space: nowrap; }
.product-nutrition-calories { background: #fffaf0; }
.product-nutrition-protein { background: #f1fff7; }
.product-nutrition-fat { background: #fff5f5; }
.product-nutrition-carbohydrates { background: #f2faff; }
.site-cart-link { position: relative; }
.site-cart-count { position: absolute; top: -6px; right: -9px; min-width: 17px; height: 17px; padding: 0 3px; display: grid; place-items: center; border-radius: 20px; background: #ff5d2c; color: #fff; font-size: 10px; line-height: 17px; }
.shop-error { color: #a32919; margin: 12px 0; }
:is(.product-gallery-thumbnail, .quantity-control button, .quantity-control input, .shop-button, .product-accordion summary, .cart-update, .cart-item-remove button):focus-visible { outline: 2px solid #ee672e; outline-offset: 3px; }
.cart-status:empty { display: none; }
.cart-status { margin-bottom: 24px; }
.content-wrapper-content .cart-items { margin: 0; padding: 0; list-style: none; }
.cart-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto 28px; gap: 24px; padding: 24px 0; border-bottom: 1px solid #dedede; align-items: start; }
.cart-item:first-child { padding-top: 0; }
.cart-item-photo img { display: block; width: 120px; height: 120px; object-fit: cover; }
.cart-item-name { font-size: 20px; font-weight: 700; color: #111; text-decoration: none; line-height: 1.3; }
.cart-item-unit-price { margin: 8px 0 20px; color: #858585; }
.cart-item-quantity { display: flex; align-items: center; gap: 16px; }
.cart-item-quantity .quantity-control { width: 128px; flex-shrink: 0; }
.cart-update { padding: 10px 0; background: none; border: 0; color: #686868; text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; }
.cart-item-subtotal { font-weight: 700; font-size: 20px; line-height: 26px; white-space: nowrap; }
.cart-item-remove button { display: grid; place-items: center; width: 44px; min-height: 44px; margin: -8px 0 0 -8px; padding: 0; background: none; border: 0; cursor: pointer; }
.cart-empty { padding: 20px 0 40px; }
.cart-empty > p { font-size: 22px; line-height: 30px; margin-bottom: 24px; }
.cart-empty > .shop-button, .order-confirmation > .shop-button { color: #fff; }
.order-confirmation { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; min-height: 100vh; min-height: 100svh; padding: 40px 20px; text-align: center; }
.order-confirmation h1 { font-size: clamp(40px, 7vw, 64px); }
.order-confirmation p { font-size: clamp(18px, 3vw, 22px); line-height: 1.4; }
@media (max-width: 1199px) {
  .product-detail { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
  .product-gallery-thumbnails { width: 72px; flex-basis: 72px; }
  .product-purchase-form { grid-template-columns: 116px minmax(0, 1fr); gap: 12px; }
  .product-detail-page .content-wrapper-heading { align-items: start; }
  .product-detail-page .content-wrapper-heading h1 { font-size: 48px; }
  .product-detail-page breadcrumb { max-width: 32%; }
  .product-nutrition { gap: 8px; }
  .product-nutrition > div { min-width: 58px; padding-inline: 12px; }
  .cart-item { grid-template-columns: 90px minmax(0, 1fr) 28px; gap: 16px; }
  .cart-item-photo img { width: 90px; height: 90px; }
  .cart-item-subtotal { grid-column: 2; }
  .cart-item-remove { grid-column: 3; grid-row: 1; }
}
@media (max-width: 900px) {
  .product-detail { gap: 28px; }
  .product-gallery { flex-direction: column-reverse; }
  .product-gallery-stage { width: 100%; }
  .product-gallery-thumbnails { flex-direction: row; contain: none; width: 100%; flex-basis: auto; overflow-x: auto; overflow-y: hidden; }
  .product-gallery-thumbnail { width: 60px; flex: 0 0 60px; }
  .product-gallery-thumbnail::before { top: auto; bottom: -4px; left: 0; width: 100%; height: 2px; }
  .product-short-description { margin-bottom: 28px; }
  .product-measurements { margin-top: 0; gap: 12px; }
  .product-purchase-form { grid-template-columns: 108px minmax(0, 1fr); }
  .shop-button { padding-inline: 16px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .product-nutrition { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-nutrition > div { min-width: 0; padding: 10px 4px; }
  .product-nutrition dd { font-size: 16px; }
  .product-nutrition dt { font-size: 10px; }
}
@media (max-width: 767px) {
  .product-detail { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .product-detail-page .content-wrapper-heading h1 { font-size: 36px; line-height: 1.1; }
  .product-detail-page breadcrumb { max-width: 100%; }
  .product-detail-page .content-wrapper-heading { margin-bottom: 28px; }
  .product-short-description { font-size: 17px; line-height: 24px; margin-bottom: 28px; }
  .product-measurements { margin-bottom: 24px; }
  .product-detail-price { font-size: 28px; margin-bottom: 16px; }
  .product-purchase-form { grid-template-columns: 128px minmax(0, 1fr); gap: 16px; }
  .content-wrapper-content .product-additional-info { margin-bottom: 32px; }
  .product-nutrition { gap: 8px; }
  .product-nutrition > div { flex: 1; padding-inline: 10px; min-width: 0; }
  .product-nutrition dd { font-size: 17px; }
  .product-nutrition dt { font-size: 11px; }
  .product-accordion-content { padding-bottom: 32px; }
  .cart-item-name { font-size: 17px; }
  .cart-item { grid-template-columns: 72px minmax(0, 1fr) 24px; gap: 12px; }
  .cart-item-photo img { width: 72px; height: 72px; }
  .cart-item-quantity { flex-wrap: wrap; gap: 4px 12px; }
  .cart-item-unit-price { margin-bottom: 12px; }
  .cart-item-subtotal { font-size: 18px; }
}
@media (max-width: 374px) {
  .product-purchase-form { grid-template-columns: 116px minmax(0, 1fr); gap: 12px; }
  .product-add-to-cart { padding-inline: 12px; gap: 8px; font-size: 14px; }
  .product-nutrition > div { padding-inline: 6px; }
  .product-nutrition dd { font-size: 16px; }
  .product-nutrition dt { font-size: 10px; }
}

/* Category listings reuse the same product cards as the home page. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.product-card-empty { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100px; background: #f5f5f5; color: #87807b; }
.product-card-status { display: none; min-height: 20px; margin-top: 10px; font-size: 12px; line-height: 18px; color: #686868; }
.product-card-status:has([data-cart-message]:not(:empty)) { display: block; }
.product-card-status a { color: #111; text-underline-offset: 3px; }
.product-card-status [hidden] { display: none; }
.product-card-cart[disabled] { cursor: wait; opacity: .5; }
.product-labels { position: absolute; z-index: 2; top: 10px; left: 10px; right: 10px; display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.product-label { max-width: 100%; padding: 6px 12px; border-radius: 100px; background: #f7b516; color: #000; font-size: 14px; font-weight: 400; line-height: 20px; overflow-wrap: anywhere; }
.content-wrapper-content > .product-detail { margin-bottom: 0; }
.recently-viewed-products { margin-top: 150px; }
.content-wrapper-content .recently-viewed-products h2 { font-size: 40px; font-weight: 900; line-height: 44px; }
.recently-viewed-products .product-section-header { margin-bottom: 40px; }
.content-wrapper-content .recently-viewed-products .product-grid { padding: 0; }
.content-wrapper-content .recently-viewed-products .product-card-title { font-size: 20px; line-height: 24px; }
@media (max-width: 767px) {
  .content-wrapper-content .recently-viewed-products h2 { font-size: 28px; line-height: 32px; }
}
.custom-cake-builder-banner { position: relative; isolation: isolate; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 44px; min-height: 100px; margin-bottom: 60px; padding: 24px 48px 24px 76px; overflow: hidden; border-radius: 8px; background: #ff4200; color: #fff; text-decoration: none; }
.custom-cake-builder-lines { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.custom-cake-builder-title { color: #fff; font-size: 36px; font-weight: 900; line-height: 40px; text-transform: uppercase; }
.custom-cake-builder-description { color: #fff; font-size: 18px; line-height: 18px; text-transform: uppercase; }
.custom-cake-builder-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 16px; border-radius: 100px; background: #000; color: #fff; font-size: 14px; line-height: 18px; white-space: nowrap; transition: background-color var(--motion-fast) ease, transform var(--motion-hover) var(--motion-ease); }
.custom-cake-builder-button > span { font-size: 20px; }
@media (hover: hover) and (pointer: fine) {
  .custom-cake-builder-banner:hover .custom-cake-builder-button { background: #34312f; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .custom-cake-builder-banner:hover .custom-cake-builder-button { transform: translateY(-2px); }
  .custom-cake-builder-banner:active .custom-cake-builder-button { transform: scale(.97); }
}
@media (max-width: 1199px) {
  .custom-cake-builder-banner { gap: 24px; padding-inline: 32px; }
  .custom-cake-builder-title { font-size: 28px; line-height: 32px; }
  .custom-cake-builder-description { font-size: 16px; line-height: 18px; }
}
@media (max-width: 899px) {
  .custom-cake-builder-banner { grid-template-columns: 1fr auto; gap: 16px 24px; }
  .custom-cake-builder-title { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .custom-cake-builder-banner { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 32px; padding: 28px 24px; }
  .custom-cake-builder-title { max-width: 280px; }
  .custom-cake-builder-description { font-size: clamp(12px, 3.4vw, 16px); line-height: 20px; white-space: nowrap; }
  .custom-cake-builder-description br { display: none; }
  .custom-cake-builder-button { justify-self: start; min-height: 44px; max-width: 100%; white-space: normal; }
  .custom-cake-builder-lines { display: none; }
  .custom-cake-builder-banner::after { content: ''; position: absolute; z-index: -1; width: 160px; height: 280px; right: -125px; top: -30px; border: 3px solid #fff; border-radius: 50%; transform: rotate(25deg); pointer-events: none; }
}
.catalog-custom-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.catalog-category-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 22px; border: 0; border-radius: 100px; background: #f0f0f0; color: #111; font-size: 16px; line-height: 20px; text-decoration: none; transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease, transform var(--motion-hover) var(--motion-ease); }
@media (hover: hover) and (pointer: fine) {
  .catalog-category-tab:hover { background: #e5e5e5; }
  .catalog-category-tab.is-active:hover { background: #34312f; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .catalog-category-tab:hover { transform: translateY(-2px); }
  .catalog-category-tab:active:not(:focus-visible) { transform: scale(.97); transition-duration: 100ms; }
}
.catalog-page:has(.catalog-category-description) .content-wrapper-heading { margin-bottom: 24px; }
.catalog-page .content-wrapper-content > .catalog-category-description { max-width: 800px; margin-bottom: 32px; color: #514d47; font-size: 18px; line-height: 1.5; white-space: pre-line; }
[data-catalog-results] { transition: opacity var(--motion-fast) ease; }
[data-catalog-results][aria-busy="true"] { opacity: .55; pointer-events: none; }
.catalog-occasion { position: relative; display: inline-flex; }
.catalog-occasion > img { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.catalog-occasion select { max-width: 250px; min-height: 36px; padding: 8px 36px 8px 16px; border: 0; border-radius: 24px; appearance: none; background: #f0f0f0; color: #111; font: inherit; font-size: 14px; text-overflow: ellipsis; cursor: pointer; }
.catalog-occasion select:has(option:checked:not([value=""])) { background-color: #000; color: #fff; }
.catalog-occasion:has(option:checked:not([value=""])) > img { filter: invert(1); }
.catalog-occasion select option { background: #fff; color: #111; }
.catalog-occasion select:focus-visible { outline: 2px solid #ee672e; outline-offset: 3px; }
.catalog-category-tab.is-active { background: #111; color: #fff; }
.catalog-category-tab:focus-visible { outline: 2px solid #ee672e; outline-offset: 3px; }
.catalog-toolbar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.catalog-filter-list { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.catalog-filter { position: relative; }
.catalog-filter > summary { display: flex; align-items: center; gap: 12px; min-height: 36px; padding: 8px 16px; border-radius: 24px; background: #f0f0f0; font-size: 14px; line-height: 20px; list-style: none; cursor: pointer; }
.catalog-filter > summary::-webkit-details-marker { display: none; }
.catalog-filter > summary img { flex-shrink: 0; }
.catalog-filter--active > summary { background: #000; color: #fff; }
.catalog-filter--active > summary img { filter: invert(1); }
.catalog-filter[open] > summary img { transform: rotate(180deg); }
.catalog-filter-panel { position: absolute; z-index: 5; top: calc(100% + 12px); left: 0; width: 300px; padding: 24px; border: 1px solid #e1e1e1; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px #00000012; }
.catalog-filter-panel fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
.catalog-filter-panel legend { padding: 0; margin-bottom: 16px; font-size: 16px; font-weight: 700; }
.catalog-range-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.catalog-range-fields label { display: block; color: #87807b; font-size: 12px; }
.catalog-range-fields input { display: block; width: 100%; height: 40px; min-width: 0; margin-top: 5px; padding: 8px 10px; border: 1px solid #d8d8d8; border-radius: 4px; background: #fff; color: #111; font: inherit; font-size: 16px; }
.catalog-range-sliders { position: relative; height: 44px; margin: 12px 8px 10px; }
.catalog-range-sliders input { position: absolute; top: 0; left: 0; width: 100%; height: 44px; margin: 0; padding: 0; appearance: none; -webkit-appearance: none; background: transparent; pointer-events: none; }
.catalog-range-sliders input::-webkit-slider-runnable-track { height: 2px; background: #ccc; }
.catalog-range-sliders input::-moz-range-track { height: 2px; background: #ccc; }
.catalog-range-sliders input[data-range-slider-max]::-webkit-slider-runnable-track { background: transparent; }
.catalog-range-sliders input[data-range-slider-max]::-moz-range-track { background: transparent; }
.catalog-range-sliders input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border: 2px solid #fff; border-radius: 50%; background: #111; box-shadow: 0 0 0 1px #111; pointer-events: auto; cursor: grab; }
.catalog-range-sliders input::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; background: #111; box-shadow: 0 0 0 1px #111; pointer-events: auto; cursor: grab; }
.catalog-range-sliders input:focus-visible { outline: none; }
.catalog-range-sliders input:focus-visible::-webkit-slider-thumb { outline: 2px solid #ee672e; outline-offset: 3px; }
.catalog-range-sliders input:focus-visible::-moz-range-thumb { outline: 2px solid #ee672e; outline-offset: 3px; }
.catalog-filter-panel .shop-button { width: 100%; min-height: 40px; font-size: 14px; line-height: 20px; }
.catalog-sort { flex-shrink: 0; }
.catalog-sort select { max-width: 100%; min-height: 36px; appearance: none; -webkit-appearance: none; padding: 8px 26px 8px 0; border: 0; border-radius: 0; background: url('icons/chevron-down.svg') no-repeat right center / 14px 14px; color: #111; font: inherit; font-size: 14px; cursor: pointer; }
.catalog-reset { padding: 8px; color: #87807b; font-size: 13px; text-underline-offset: 3px; }
.content-wrapper-content .catalog-product-grid { padding: 0; row-gap: 104px; }
.catalog-product-grid .product-card-gallery { margin-bottom: 32px; }
.catalog-product-grid .product-card-title { min-height: 40px; font-size: 20px; line-height: 20px; }
.catalog-product-grid .product-card-content:not(:has(.product-card-size)) .product-card-title { margin-bottom: 26px; }
.catalog-product-grid .product-card-size { margin-bottom: 28px; }
.catalog-product-grid .product-card-price { padding-top: 12px; }
.catalog-pagination { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 56px; }
.catalog-pagination a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 64px; color: #111; text-underline-offset: 3px; }
.catalog-pagination [aria-disabled] { color: #aaa; }
.catalog-empty { min-height: 180px; padding: 24px 0; }
.catalog-empty p { margin-bottom: 16px; font-size: 18px; line-height: 26px; }
.catalog-empty a { color: #111; text-underline-offset: 3px; }
.content-wrapper-content .blog-card h3 { font-size: 20px; font-weight: 400; line-height: 24px; }
.blog-empty { min-height: 180px; padding: 24px 0; font-size: 18px; line-height: 26px; }
.blog-post { max-width: 960px; }
.blog-post-date { display: block; margin-bottom: 24px; color: #818181; }
.blog-post-image { display: block; width: 100%; height: auto; aspect-ratio: 867 / 444; object-fit: cover; border-radius: 10px; margin-bottom: 32px; }
.blog-post-content > :not(:last-child) { margin-bottom: 20px; }
.blog-post-content img { max-width: 100%; height: auto; }
:is(.catalog-filter > summary, .catalog-sort select, .catalog-range-fields input):focus-visible { outline: 2px solid #ee672e; outline-offset: 3px; }
@media (max-width: 767px) {
  .catalog-custom-categories { gap: 8px; margin-bottom: 28px; }
  .catalog-category-tab { padding-inline: 16px; font-size: 14px; }
  .catalog-toolbar { flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
  .catalog-filter { position: static; }
  .catalog-filter-panel { top: var(--catalog-filter-top, 44px); max-width: 100%; }
  .catalog-sort { width: 100%; }
  .content-wrapper-content .catalog-product-grid { row-gap: 40px; }
  .catalog-pagination { gap: 16px; }
}
@media (max-width: 600px) {
  .catalog-product-grid .product-card-title { font-size: 18px; line-height: 24px; min-height: 0; }
}

/* Filling selection for custom cakes. */
.product-weight { display: flex; align-items: center; gap: 24px; margin-bottom: 35px; font-size: 14px; }
.product-weight label, .product-filling-label { flex: 0 0 60px; }
.product-weight select { appearance: none; flex: 1; min-width: 0; width: 100%; padding: 11px 38px 11px 13px; border: 0; border-radius: 5px; background: #f0f0f0 url('icons/chevron-down.svg') no-repeat right 13px center / 12px; color: #000; font: inherit; cursor: pointer; }
.product-weight select:focus-visible { outline: 2px solid #ee672e; outline-offset: 3px; }
.product-weight select:disabled { color: #858585; cursor: default; }
.product-order-option { align-items: flex-start; }
.product-order-option label { flex-basis: 100px; padding-top: 11px; }
.product-order-option select { scroll-margin-top: 24px; }
@media (max-width: 1199px) { .product-weight { gap: 16px; } }
@media (max-width: 600px) { .product-weight { gap: 12px; margin-bottom: 28px; } }
.product-filling { margin-bottom: 52px; scroll-margin-top: 24px; }
.product-filling:has(.product-filling-choice:not([hidden])) { margin-bottom: 44px; }
.product-filling-trigger { display: flex; align-items: center; gap: 24px; width: 100%; padding: 0; border: 0; background: none; text-align: left; font-size: 15px; line-height: 22px; cursor: pointer; }
.product-filling-label { flex-shrink: 0; font-size: 14px; }
.product-filling-preview, .product-filling-choice { display: flex; flex: 1; align-items: center; gap: 24px; min-width: 0; }
.product-filling-thumbnails { display: flex; gap: 8px; min-width: 0; }
.product-filling-thumbnails img { width: 75px; aspect-ratio: 1; object-fit: cover; border-radius: 5px; }
.product-filling-link { display: block; color: #ff5d2c; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.product-filling-choice > img { width: 88px; height: 88px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.product-filling-choice-text { min-width: 0; }
.product-filling-choice-text .product-filling-link { margin-top: 4px; }
.product-filling [hidden], .filling-dialog [hidden] { display: none !important; }
.product-filling-unavailable { margin-top: 12px; color: #858585; }
.product-add-to-cart-hit { display: flex; min-width: 0; }
.product-add-to-cart-hit > .product-add-to-cart { width: 100%; }
.product-add-to-cart-hit:has(.product-add-to-cart:disabled) { cursor: not-allowed; }
.product-add-to-cart-hit:has(.product-add-to-cart[aria-busy="true"]) { cursor: wait; }
.product-add-to-cart:disabled { background: #a3a3a3; opacity: 1; pointer-events: none; }
.product-add-to-cart[aria-busy="true"] { cursor: wait; }
.product-option-missing { outline: 1px solid transparent; outline-offset: 3px; animation: product-option-missing 2s linear both; }
@keyframes product-option-missing {
  0%, 12.5%, 37.5%, 62.5%, 87.5%, 100% { outline-color: transparent; }
  6.25%, 25%, 50%, 75% { outline-color: #e10600; }
}
.product-filling-missing { animation: product-filling-missing 2s linear; }
@keyframes product-filling-missing {
  0%, 20%, 40%, 60%, 80%, 100% { opacity: 1; }
  10%, 30%, 50%, 70% { opacity: 0.2; }
}
@media (prefers-reduced-motion: reduce) {
  .product-option-missing { outline-color: #e10600; animation: none; }
  .product-filling-missing { animation: none; }
}
.filling-dialog { width: min(1280px, calc(100% - 80px)); height: min(780px, calc(100dvh - 64px)); max-width: none; max-height: none; margin: auto; padding: 40px; border: 0; border-radius: 30px; background: #fff; color: #111; box-shadow: 0 20px 56px #0003; }
.filling-dialog[open] { display: flex; flex-direction: column; }
.filling-dialog::backdrop { background: #0005; }
body:has(.filling-dialog[open]) { overflow: hidden; }
.filling-dialog-header { display: flex; align-items: center; gap: 32px; margin-bottom: 44px; }
.content-wrapper-content .filling-dialog-header h2 { flex: 1; margin: 0; font-size: 40px; line-height: 1.15; font-weight: 900; }
.filling-search { position: relative; flex: 0 1 430px; }
.filling-search input { width: 100%; height: 48px; border: 1px solid #d2d2d2; border-radius: 8px; background: #fff; padding: 10px 48px 10px 16px; font-size: 16px; }
.filling-search input::placeholder { color: #b7b7b7; opacity: 1; }
.filling-search > img { position: absolute; right: 15px; top: 14px; width: 20px; height: 20px; pointer-events: none; }
.filling-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.filling-dialog-close { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 0; padding: 6px; background: none; cursor: pointer; }
.filling-dialog-scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #929292 #ededed; padding: 0 12px 8px 0; }
.filling-dialog-scroll::-webkit-scrollbar { width: 4px; }
.filling-dialog-scroll::-webkit-scrollbar-track { background: #ededed; border-radius: 4px; }
.filling-dialog-scroll::-webkit-scrollbar-thumb { background: #929292; }
@supports selector(::-webkit-scrollbar) { .filling-dialog-scroll { scrollbar-width: auto; } }
.content-wrapper-content .filling-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1160px; gap: 30px 20px; list-style: none; margin: 0; padding: 0; align-items: stretch; }
.filling-card { position: relative; min-width: 0; min-height: 262px; padding: 12px; border-radius: 10px; }
.filling-card-preview { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: center; cursor: pointer; }
.filling-card-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.filling-card-name { display: block; margin-top: 12px; font-size: 16px; line-height: 21px; overflow-wrap: anywhere; }
.filling-card-check { display: none; position: absolute; top: 18px; left: 18px; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fcbc1b; }
.filling-card.is-selected .filling-card-check { display: grid; }
.filling-card-description { display: none; position: absolute; inset: -6px 0 0; min-height: 303px; z-index: 1; flex-direction: column; gap: 18px; padding: 24px 12px 18px; border-radius: 10px; background: #fcbc1b; }
.filling-card-description p { flex: 1; min-height: 0; overflow: auto; margin: 0; font-size: 15px; line-height: 21px; }
.filling-card-select { width: 100%; min-height: 38px; padding: 8px 12px; background: #fff; border: 0; border-radius: 100px; font-size: 15px; line-height: 20px; cursor: pointer; }
.filling-card:focus-within .filling-card-description, .filling-card.is-expanded .filling-card-description { display: flex; }
@media (hover: hover) and (pointer: fine) { .filling-card:hover .filling-card-description { display: flex; } }
.filling-search-empty { padding: 40px 12px; text-align: center; color: #858585; font-size: 17px; }
:is(.product-filling-trigger, .filling-search input, .filling-dialog-close, .filling-card-preview, .filling-card-select):focus-visible { outline: 2px solid #ee672e; outline-offset: 3px; }
.cart-item-filling { margin-top: 8px; color: #686868; }
@media (max-width: 1400px) {
  .product-filling-trigger { gap: 16px; }
  .product-filling-preview, .product-filling-choice { gap: 16px; }
  .product-filling-thumbnails img { width: 58px; }
}
@media (max-width: 1100px) {
  .product-filling-preview { flex-wrap: wrap; gap: 8px; }
  .filling-dialog { width: calc(100% - 48px); padding: 28px; }
  .filling-dialog-header { gap: 20px; margin-bottom: 24px; }
  .content-wrapper-content .filling-dialog-header h2 { font-size: 30px; }
  .filling-search { flex-basis: 320px; }
  .content-wrapper-content .filling-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 12px; }
}
@media (max-width: 800px) {
  .filling-dialog-header { flex-wrap: wrap; gap: 16px; }
  .content-wrapper-content .filling-dialog-header h2 { font-size: 28px; }
  .filling-search { order: 2; flex-basis: 100%; }
  .content-wrapper-content .filling-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .product-filling, .product-filling:has(.product-filling-choice:not([hidden])) { margin-bottom: 36px; }
  .product-filling-trigger { gap: 12px; font-size: 15px; }
  .product-filling-preview, .product-filling-choice { gap: 12px; }
  .product-filling-preview { flex-wrap: nowrap; }
  .product-filling-thumbnails { gap: 6px; }
  .product-filling-thumbnails img { width: clamp(36px, 11vw, 58px); }
  .product-filling-link { font-size: 14px; }
  .product-filling-choice > img { width: 68px; height: 68px; }
  .filling-dialog { width: calc(100% - 24px); height: calc(100dvh - 32px); padding: 20px 12px 16px; border-radius: 20px; }
  .filling-dialog-header { padding-inline: 8px; gap: 12px; margin-bottom: 16px; }
  .content-wrapper-content .filling-dialog-header h2 { font-size: 26px; }
  .filling-dialog-close { width: 32px; height: 32px; padding: 3px; }
  .filling-dialog-scroll { padding-right: 4px; }
  .content-wrapper-content .filling-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 4px; }
  .filling-card { min-height: 244px; padding: 8px; }
  .filling-card-name { font-size: 14px; line-height: 19px; }
  .filling-card-description { inset: 0; min-height: 244px; padding: 14px 10px 12px; gap: 12px; }
  .filling-card-description p { font-size: 14px; line-height: 19px; }
  .filling-card-check { top: 14px; left: 14px; }
}
@media (max-width: 360px) { .product-filling-preview { flex-wrap: wrap; } }

/* Product search: a focused dialog with the same warm palette as the storefront. */
header .header-center-right-icons .header-search-trigger { display: grid; place-items: center; width: 44px; height: 44px; margin: -10px; border-radius: 50%; }
.search-dialog { width: min(880px, calc(100% - 64px)); max-width: none; max-height: min(820px, calc(100dvh - 96px)); margin: 48px auto auto; padding: 0; overflow: hidden; border: 0; border-radius: 24px; background: #fff; color: #281c00; box-shadow: 0 24px 80px #281c0030; }
.search-dialog[open] { display: flex; flex-direction: column; }
.search-dialog::backdrop { background: #281c0066; backdrop-filter: blur(4px); }
body:has(.search-dialog[open]) { overflow: hidden; }
.search-dialog [hidden] { display: none !important; }
.search-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-shrink: 0; gap: 24px; padding: 32px 32px 24px; }
.search-dialog-heading h2 { font-size: 32px; font-weight: 900; line-height: 1.1; }
.search-dialog-heading p { margin-top: 10px; font-size: 15px; line-height: 22px; color: #777066; }
.search-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin: -8px -8px 0 0; padding: 10px; border: 0; border-radius: 50%; background: #f8f3e5; }
.search-close:hover { background: #fcbc1b; }
.product-search-form { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 7px 8px 7px 20px; border: 1px solid #d9d2c7; border-radius: 12px; background: #fff; }
.product-search-form:focus-within { border-color: #bd8500; box-shadow: 0 0 0 3px #fcbc1b30; }
.search-dialog .product-search-form { flex-shrink: 0; margin: 0 32px; }
.product-search-icon { flex: 0 0 24px; color: #655d4f; }
.product-search-form input { width: 100%; min-width: 0; min-height: 44px; padding: 8px 0; border: 0; outline: none; background: none; color: #281c00; font-size: 18px; line-height: 26px; border-radius: 0; -webkit-appearance: none; appearance: none; }
.product-search-form input::placeholder { color: #82796e; opacity: 1; }
.product-search-form input::-webkit-search-cancel-button { -webkit-appearance: none; }
.product-search-submit { flex-shrink: 0; min-height: 48px; padding: 10px 22px; border: 0; border-radius: 8px; background: #fcbc1b; color: #281c00; font-size: 16px; font-weight: 500; }
.product-search-submit:hover { background: #efad05; }
.search-clear { flex-shrink: 0; min-height: 44px; padding: 8px 4px; border: 0; background: none; color: #777066; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.search-clear:hover { color: #281c00; }
.search-dialog-scroll { min-height: 0; padding: 24px 32px 28px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d6cebe #fff; }
.search-status { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #777066; font-size: 14px; line-height: 20px; }
.search-status.is-loading::before { flex: 0 0 14px; width: 14px; height: 14px; border: 2px solid #e7decc; border-top-color: #9d6d00; border-radius: 50%; content: ''; animation: search-spin .7s linear infinite; }
@keyframes search-spin { to { transform: rotate(360deg); } }
.search-start h3 { font-size: 15px; font-weight: 500; line-height: 22px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.search-chips button { min-height: 42px; padding: 10px 18px; border: 0; border-radius: 100px; background: #f8f3e5; font-size: 15px; line-height: 22px; text-align: left; overflow-wrap: anywhere; }
.search-chips button:hover { background: #fcbc1b; }
.search-recent-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.search-recent-heading button { min-height: 32px; padding: 4px 0; border: 0; background: none; color: #777066; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.search-start > [data-search-recent] { margin-bottom: 24px; }
.search-suggestions { margin: 0; padding: 0; list-style: none; }
.search-suggestions li + li { border-top: 1px solid #eee9e0; }
.search-result { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; min-height: 90px; padding: 12px 8px; margin-inline: -8px; border-radius: 10px; text-decoration: none; }
.search-result:hover, .search-result:focus-visible { background: #faf7ef; }
.search-result-media { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 8px; background: #f8f3e5; }
.search-result-media img { width: 100%; height: 100%; object-fit: cover; }
.search-result-placeholder { color: #b58a35; font-size: 20px; font-weight: 900; }
.search-result-content { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.search-result-name { font-size: 17px; font-weight: 400; line-height: 1.35; overflow-wrap: anywhere; }
.search-result-name mark { padding: 0; background: #fce8ac; color: inherit; font-weight: 700; }
.search-result-category { color: #777066; font-size: 13px; line-height: 18px; }
.search-result-price { font-size: 16px; line-height: 22px; font-weight: 700; white-space: nowrap; }
.search-empty { padding: 20px 0 4px; text-align: center; }
.search-empty-symbol { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; background: #f8f3e5; font-size: 24px; font-weight: 700; }
.search-empty h3 { font-size: 24px; line-height: 1.25; font-weight: 900; }
.search-empty p { max-width: 440px; margin: 12px auto 20px; color: #777066; font-size: 16px; line-height: 24px; }
.search-empty a, .search-page-empty a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-underline-offset: 4px; font-size: 16px; }
.search-error { padding: 20px 24px; border-radius: 10px; background: #f8f3e5; font-size: 16px; line-height: 24px; }
.search-error button { min-height: 44px; margin-top: 10px; padding: 8px 0; border: 0; background: none; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.search-dialog-footer { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 20px; min-height: 68px; padding: 14px 32px; border-top: 1px solid #eee9e0; background: #fff; }
.search-keyboard-hint { color: #8a8175; font-size: 12px; line-height: 20px; }
.search-keyboard-hint kbd { padding: 1px 4px; border: 1px solid #e6e0d6; border-radius: 4px; color: #777066; font: inherit; }
.search-keyboard-hint > span { margin-inline: 4px; }
.search-all { display: inline-flex; align-items: center; gap: 16px; min-height: 40px; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.search-all:hover { text-decoration: underline; text-underline-offset: 4px; }
.search-page .content-wrapper-content > .search-page-form { max-width: 880px; margin-bottom: 32px; }
.search-page .content-wrapper-content > .search-page-count { margin-bottom: 40px; color: #777066; font-size: 18px; line-height: 28px; overflow-wrap: anywhere; }
.search-page-count strong { color: #281c00; font-weight: 500; }
.search-page-empty { max-width: 680px; padding: 32px 0 16px; }
.search-page .search-page-empty h2 { margin-bottom: 16px; font-size: 32px; font-weight: 900; line-height: 1.2; }
.search-page-empty p { margin-bottom: 16px; color: #777066; font-size: 18px; line-height: 28px; }
.search-product-grid { margin-top: 0; }
:is(.search-close, .search-clear, .product-search-submit, .search-chips button, .search-result, .search-all, .search-recent-heading button, .search-error button):focus-visible { outline: 2px solid #9d6d00; outline-offset: 3px; }

@media (max-width: 767px) {
  .search-dialog { top: var(--search-viewport-top, 0px); width: 100%; height: var(--search-viewport-height, 100dvh); max-height: 100dvh; margin: 0; border-radius: 0; }
  .search-dialog-heading { padding: calc(24px + env(safe-area-inset-top)) 20px 20px; gap: 16px; }
  .search-dialog-heading h2 { font-size: 28px; }
  .search-dialog-heading p { max-width: 230px; font-size: 14px; }
  .search-dialog .product-search-form { margin-inline: 20px; }
  .product-search-form { gap: 8px; min-height: 58px; padding: 5px 6px 5px 12px; }
  .product-search-form input { font-size: 16px; line-height: 24px; }
  .product-search-icon { flex-basis: 20px; width: 20px; height: 20px; }
  .product-search-submit { padding-inline: 14px; min-height: 44px; font-size: 15px; }
  .search-clear { position: relative; width: 28px; overflow: hidden; padding: 0; font-size: 0; }
  .search-clear::before, .search-clear::after { position: absolute; top: 21px; left: 5px; width: 16px; height: 1px; background: #777066; content: ''; transform: rotate(45deg); }
  .search-clear::after { transform: rotate(-45deg); }
  .search-dialog-scroll { flex: 1; min-height: 0; padding: 20px; }
  .search-result { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 14px; padding-block: 14px; }
  .search-result-media { grid-row: span 2; width: 56px; height: 56px; }
  .search-result-name { font-size: 16px; }
  .search-result-content { gap: 4px; }
  .search-result-price { grid-column: 2; font-size: 15px; }
  .search-empty { padding-top: 32px; }
  .search-empty h3 { font-size: 22px; }
  .search-dialog-footer { justify-content: stretch; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); }
  .search-keyboard-hint { display: none; }
  .search-dialog-footer:has([data-search-all][hidden]) { display: none; }
  .search-all { justify-content: space-between; width: 100%; min-height: 48px; padding: 10px 20px; border-radius: 100px; background: #fcbc1b; font-size: 16px; }
  .search-page .search-page-empty h2 { font-size: 26px; }
  .search-page .content-wrapper-content > .search-page-count { margin-bottom: 32px; font-size: 16px; line-height: 24px; }
}
@media (max-width: 380px) {
  .search-dialog-heading h2 { font-size: 25px; }
  .search-dialog .product-search-form { margin-inline: 16px; }
  .search-dialog-scroll { padding-inline: 16px; }
  .search-dialog .product-search-icon { display: none; }
  .search-page-form .product-search-icon { display: none; }
}
@media (min-width: 768px) and (max-height: 600px) {
  .search-dialog { max-height: calc(100dvh - 32px); margin-top: 16px; }
  .search-dialog-heading { padding: 20px 32px 16px; }
  .search-dialog-heading h2 { font-size: 28px; }
  .search-dialog-heading p { display: none; }
  .search-dialog-scroll { padding-block: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .search-status.is-loading::before { animation: none; }
}

/* Shared information about custom cakes, below the product details. */
.content-wrapper-content > .custom-cake-guide { margin: 64px 0 0; }
.custom-cake-guide { overflow: hidden; border: 1px solid #dedede; border-radius: 30px; font-size: 14px; line-height: 20px; }
.custom-cake-guide-content { padding: 70px 94px 76px; }
.custom-cake-guide-intro, .custom-cake-guide-body { display: grid; grid-template-columns: minmax(0, 608fr) minmax(0, 352fr); column-gap: 216px; align-items: start; }
.custom-cake-guide-intro { margin-bottom: 72px; }
.content-wrapper-content .custom-cake-guide-intro h2 { font-size: 36px; font-weight: 900; line-height: 42px; }
.custom-cake-guide-intro > p { padding-top: 10px; }
.content-wrapper-content .custom-cake-guide h3 { margin: 0 0 32px; font-size: 24px; line-height: 28px; font-weight: 700; }
.content-wrapper-content .custom-cake-formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.custom-cake-formats li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 134px; padding: 16px 10px; border-radius: 8px; background: #f0f0f0; text-align: center; }
.custom-cake-formats img { width: 55px; height: 55px; flex-shrink: 0; margin-bottom: 10px; object-fit: contain; }
.custom-cake-formats strong { display: block; font-weight: 700; }
.custom-cake-weight-note { margin-top: 32px; }
.content-wrapper-content .custom-cake-deadlines { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: custom-cake-deadline; }
.custom-cake-deadlines li { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 20px; align-items: center; min-height: 50px; counter-increment: custom-cake-deadline; }
.custom-cake-deadlines li::before { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fcbc1b; color: #fff; content: counter(custom-cake-deadline); font-size: 24px; line-height: 1; font-weight: 900; }
.custom-cake-deadlines li:nth-child(2)::before { background: #00aaa5; }
.custom-cake-deadlines li:nth-child(3)::before { background: #ff4200; }
.custom-cake-deadlines strong { display: block; font-weight: 700; }
.custom-cake-guide-footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px; padding: 32px 94px; background: #1f1f1f; color: #ddd; line-height: 22px; }
.custom-cake-guide-footer a, .custom-cake-guide-footer a:visited { color: #ff642e; text-decoration: none; }
.custom-cake-guide-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.custom-cake-guide-footer a:focus-visible { outline: 2px solid #fcbc1b; outline-offset: 4px; }

@media (max-width: 1300px) {
  .custom-cake-guide-content { padding: 48px; }
  .custom-cake-guide-intro, .custom-cake-guide-body { column-gap: 64px; }
  .custom-cake-guide-footer { gap: 32px; padding-inline: 48px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .content-wrapper-content .custom-cake-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .custom-cake-guide-content { padding: 40px 32px; }
  .custom-cake-guide-intro, .custom-cake-guide-body { grid-template-columns: 1fr; row-gap: 32px; }
  .custom-cake-guide-intro { margin-bottom: 40px; row-gap: 24px; }
  .custom-cake-guide-intro > p { max-width: 560px; padding-top: 0; }
  .custom-cake-guide-footer { grid-template-columns: 1fr; gap: 20px; padding: 28px 32px; }
}
@media (max-width: 650px) {
  .content-wrapper-content > .custom-cake-guide { margin-top: 40px; }
  .custom-cake-guide { border-radius: 20px; }
  .custom-cake-guide-content { padding: 28px 24px 32px; }
  .content-wrapper-content .custom-cake-guide-intro h2 { font-size: 28px; line-height: 32px; }
  .content-wrapper-content .custom-cake-guide h3 { margin-bottom: 24px; font-size: 22px; line-height: 26px; }
  .content-wrapper-content .custom-cake-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .custom-cake-formats li { min-height: 132px; padding-inline: 8px; }
  .custom-cake-weight-note { margin-top: 24px; }
  .custom-cake-deadlines li { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .custom-cake-deadlines li::before { width: 44px; height: 44px; font-size: 22px; }
  .custom-cake-guide-footer { padding: 24px; }
}
