body.edibrico-mm-page, .edibrico-mm {
  --red: #e30613;
  --red-dark: #b6000c;
  --ink: #262626;
  --muted: #575757;
  --line: #eeeeee;
  --paper: #ffffff;
  --page: #f9f9f9;
}

.edibrico-mm, .edibrico-mm * { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.edibrico-mm-page {
  margin: 0;
  padding: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

.edibrico-mm a { color: inherit; }
.edibrico-mm img { display: block; max-width: 100%; }
.edibrico-mm button, .edibrico-mm audio, .edibrico-mm iframe { font: inherit; }

.edibrico-mm :focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.42);
  outline-offset: 4px;
}

.edibrico-mm .hero-header {
  position: relative;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 3.7rem 1rem 5.2rem;
  background-color: var(--red);
  background-position: center 42%;
  background-size: cover;
  color: var(--paper);
  text-align: center;
}

.edibrico-mm .hero-site-link {
  position: absolute;
  top: 12px;
  right: max(1.25rem, calc((100% - 1000px) / 2));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 4px 0;
  color: var(--paper);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.edibrico-mm .hero-site-link:hover { text-decoration-thickness: 2px; }
.edibrico-mm .hero-site-link:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }

.edibrico-mm .hero-logo-panel {
  display: inline-flex;
  padding: 14px 22px;
  border-radius: 5px;
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.edibrico-mm .hero-logo {
  width: min(330px, 68vw);
  height: auto;
}

.edibrico-mm .hero-header p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 300;
}

.edibrico-mm .main-container {
  position: relative;
  width: min(1000px, calc(100% - 32px));
  margin: -3rem auto 3rem;
  padding: 3rem;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.edibrico-mm .intro-copy {
  max-width: 850px;
  margin: 0 auto 3rem;
  color: var(--muted);
  font-size: 1.18rem;
  text-align: center;
}

.edibrico-mm .intro-copy p { margin: 0; }
.edibrico-mm .intro-copy strong { color: #333333; }

.edibrico-mm .section-title {
  margin: 2rem 0 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  color: var(--red);
  font-size: 2rem;
  line-height: 1.25;
}

.edibrico-mm .products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.edibrico-mm .product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  border-top: 4px solid var(--red);
  border-radius: 8px;
  background: var(--paper);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edibrico-mm .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.edibrico-mm .product-card > img {
  width: 100%;
  height: 165px;
  object-fit: cover;
}

.edibrico-mm .product-card:nth-child(1) > img,
.edibrico-mm .product-card:nth-child(2) > img,
.edibrico-mm .product-card:nth-child(3) > img {
  object-fit: contain;
  background: #ffffff;
}

.edibrico-mm .product-card-copy {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 1.25rem;
}

.edibrico-mm .product-card-copy > .tag { align-self: start; justify-self: start; }

.edibrico-mm .product-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  padding-top: 20px;
}

.edibrico-mm .product-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 12px;
  border: 1px solid var(--red);
  border-radius: 6px;
  background: var(--paper);
  color: var(--red-dark);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.edibrico-mm .product-link:hover { background: #fff1f2; border-color: var(--red-dark); }
.edibrico-mm .product-link--buy { background: var(--red); color: var(--paper); }
.edibrico-mm .product-link--buy:hover { background: var(--red-dark); color: var(--paper); }
.edibrico-mm .product-link:focus-visible { outline: 2px solid var(--red-dark); outline-offset: 3px; }


.edibrico-mm .tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(227, 6, 19, 0.18);
  background: #fff1f2;
  color: var(--red-dark);
  font-size: 0.66rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.edibrico-mm .product-card h2,
.edibrico-mm .media-box h2 {
  margin: 9px 0 13px;
  color: #222222;
  font-size: 1.12rem;
  line-height: 1.25;
}

.edibrico-mm .product-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.58;
}

.edibrico-mm .slider-section { margin-top: 4rem; }

.edibrico-mm .slider-container {
  position: relative;
  max-width: 100%;
  margin: 1rem auto;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  background: #f4f4f4;
}

.edibrico-mm .slide { position: relative; min-width: 100%; }

.edibrico-mm .slide img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  opacity: 0.97;
  transition: opacity 0.12s linear;
}

.edibrico-mm .slide-caption {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 15px 62px;
  border-top: 1px solid #e5e5e5;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.02rem;
  text-align: center;
}

.edibrico-mm .slide-caption small {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.edibrico-mm .slider-nav {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.edibrico-mm .slider-nav button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin: 0 15px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.9);
  color: var(--paper);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s ease, transform 0.2s ease;
}

.edibrico-mm .slider-nav button:hover {
  background: var(--red-dark);
  transform: scale(1.05);
}

.edibrico-mm .media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 3rem;
}

.edibrico-mm .media-box {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 8px;
  background: #f4f4f4;
  text-align: center;
}

.edibrico-mm .media-box h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.edibrico-mm .media-box > p {
  min-height: 52px;
  margin: 0 0 1rem;
}

.edibrico-mm .media-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  object-fit: cover;
}

.edibrico-mm .media-box audio {
  width: 100%;
  margin-top: auto;
  padding-top: 1rem;
  outline: none;
}

.edibrico-mm .video-carousel {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  border-radius: 4px;
  background: #ffffff;
}

.edibrico-mm .video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f4f4f4;
}

.edibrico-mm .video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.edibrico-mm .video-carousel-footer {
  min-height: 74px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding: 10px;
  border: 1px solid #e4e4e4;
  border-top: 0;
  background: #ffffff;
}

.edibrico-mm .video-carousel-footer button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  cursor: pointer;
}

.edibrico-mm .video-carousel-footer button:hover { background: var(--red-dark); }

.edibrico-mm .video-carousel-footer div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.edibrico-mm .video-carousel-footer strong {
  overflow: hidden;
  font-size: 0.83rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.edibrico-mm .video-carousel-footer small {
  color: var(--muted);
  font-size: 0.7rem;
}

.edibrico-mm .cta-section {
  margin-top: 4rem;
  padding: 3rem;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  background: #f4f4f4;
  color: var(--ink);
  text-align: center;
}

.edibrico-mm .cta-section h2 {
  margin: 0;
  color: var(--paper);
  font-size: 2rem;
}

.edibrico-mm .cta-section p { margin: 1.7rem 0 0; }

.edibrico-mm .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 0;
}

.edibrico-mm .btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 14px 28px;
  border: 2px solid var(--red);
  border-radius: 30px;
  background: var(--red);
  color: var(--paper);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.edibrico-mm .btn:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
  transform: scale(1.04);
}

.edibrico-mm .btn-outline {
  border-color: var(--paper);
  background: transparent;
}

.edibrico-mm .btn-outline:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: #222222;
}

@media (max-width: 920px) {
  .edibrico-mm .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edibrico-mm .product-card > img { height: 230px; }
}

@media (max-width: 768px) {
  .edibrico-mm .hero-header {
    min-height: 220px;
    padding: 4.8rem 1rem 4.7rem;
  }

  .edibrico-mm .hero-logo-panel { padding: 12px 18px; }

  .edibrico-mm .main-container {
    width: min(calc(100% - 22px), 1000px);
    padding: 2rem 1.25rem;
  }

  .edibrico-mm .intro-copy {
    margin-bottom: 2.4rem;
    font-size: 1.05rem;
  }

  .edibrico-mm .section-title,
  .edibrico-mm .cta-section h2 { font-size: 1.65rem; }

  .edibrico-mm .slide img {
    height: min(68vw, 440px);
    min-height: 330px;
  }

  .edibrico-mm .slide-caption { padding: 13px 18px; font-size: 0.88rem; }

  .edibrico-mm .media-grid { grid-template-columns: 1fr; }
  .edibrico-mm .media-box > p { min-height: 0; }

  .edibrico-mm .cta-section { padding: 2.25rem 1.2rem; }
  .edibrico-mm .cta-actions { align-items: stretch; flex-direction: column; }
}

@media (max-width: 560px) {
  .edibrico-mm .hero-header p { max-width: 330px; font-size: 1rem; }

  .edibrico-mm .main-container { margin-top: -2.25rem; }

  .edibrico-mm .products-grid { grid-template-columns: 1fr; }
  .edibrico-mm .product-card > img { height: 260px; }

  .edibrico-mm .slider-nav button {
    width: 42px;
    height: 42px;
    margin: 0 8px;
  }

  .edibrico-mm .slide-caption {
    justify-content: center;
    padding-right: 14px;
    padding-left: 14px;
  }

  .edibrico-mm .slide-caption small { display: none; }

  .edibrico-mm .media-box { padding: 1.3rem; }
  .edibrico-mm .btn { font-size: 0.9rem; }
}

body.edibrico-mm-page {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

.edibrico-mm {
  width: 100%;
  max-width: none;
  overflow-x: clip;
}

.edibrico-mm .lightbox[hidden],
.edibrico-mm .audio-fallback[hidden] {
  display: none;
}

.edibrico-mm .gallery-item:focus-visible,
.edibrico-mm .button:focus-visible,
.edibrico-mm .download-list a:focus-visible,
.edibrico-mm .share-button:focus-visible,
.edibrico-mm .audio-play:focus-visible,
.edibrico-mm .lightbox button:focus-visible {
  outline: 3px solid #e30613;
  outline-offset: 4px;
}
