/** Shopify CDN: Minification failed

Line 19:13 Unexpected "{"
Line 19:25 Expected ":"
Line 19:29 Unexpected "{"
Line 20:23 Expected identifier but found whitespace
Line 20:25 Unexpected "{"
Line 20:28 Expected ":"
Line 21:20 Expected identifier but found whitespace
Line 21:22 Unexpected "{"
Line 21:25 Expected ":"
Line 22:21 Expected identifier but found whitespace
... and 18 more hidden warnings

**/


/* CSS from section stylesheet tags */
.mm-wrapper-{{ section_id }} {
    --mm-primary-color: {{ s.primary_color }};
    --mm-text-color: {{ s.text_color }};
    --mm-price-color: {{ s.price_color }};
    --mm-header-text-color: {{ s.primary_color.brightness > 0.55 ? '#000' : '#fff' }};
    --mm-card-selected-border-color: {{ s.card_selected_border_color }};

    background-color: {{ s.background_color }};
    color: var(--mm-text-color);
    direction: ltr;
    text-align: left;
    padding: 20px 0;
  }

  .mm-container-{{ section_id }} {
    max-width: 1200px;
    margin: auto;
    padding: 15px;
    box-sizing: border-box;
  }

  .mm-main-header {
    text-align: center;
    color: var(--mm-header-text-color);
    background: var(--mm-primary-color);
    padding: 15px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
  }

  .mm-main-subheader {
    text-align: center;
    font-size: 1.1rem;
    margin: -15px auto 25px;
    max-width: 600px;
    color: var(--mm-text-color);
  }

  .mm-main-subheader p {
    margin: 0;
  }

  .mm-group-title {
    color: var(--mm-primary-color);
    text-align: center;
    font-size: 18px;
    margin: 20px 0 10px;
    font-weight: bold;
  }

  .mm-product-count-display {
    text-align: left;
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
    min-height: 18px;
  }

  .mm-scroll {
    position: relative;
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    min-height: 260px; /* To prevent layout jump during load */
  }
  .mm-scroll.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--mm-primary-color);
    border-radius: 50%;
    animation: mm-spin 1s linear infinite;
  }
  @keyframes mm-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  .mm-scroll::-webkit-scrollbar { display: none; }
  .mm-scroll { -ms-overflow-style: none; scrollbar-width: none; }

  .mm-item {
    flex: 0 0 auto;
    width: 150px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    padding: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 240px;
  }
  .mm-item:hover {
    border-color: #aaa;
  }
  .mm-item.selected {
    border: {{ s.card_selected_border_width }}px solid var(--mm-card-selected-border-color);
    box-shadow: 0 0 8px color-mix(in srgb, var(--mm-card-selected-border-color) 40%, transparent);
  }
  .mm-item.hidden-by-filter {
    display: none !important;
  }
  .mm-item img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 5px;
  }
  .mm-item .product-title {
    font-size: 13px;
    color: #333;
    line-height: 1.3;
    height: 34px;
    overflow: hidden;
  }
  .mm-item .product-price {
    font-weight: bold;
    color: var(--mm-price-color);
    margin-top: auto;
    font-size: 14px;
  }

  .mm-dropdown {
    display: block;
    margin: 0 auto 15px auto;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 200px;
    text-align: left;
    font-size: 15px;
    cursor: pointer;
  }

  .mm-summary {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fdfdfd;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  }
  .mm-summary-header {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
  }
  .mm-summary-items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
  }
  .mm-summary-item {
    position: relative;
    text-align: center;
    width: 120px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
  }
  .mm-summary-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
  }
  .mm-summary-item .item-title {
    font-size: 12px;
    font-weight: bold;
    color: #555;
    height: 28px;
    overflow: hidden;
  }
  .mm-summary-item .item-price {
    font-weight: bold;
    color: var(--mm-price-color);
    font-size: 13px;
  }
  .mm-summary-item .remove-item {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--mm-primary-color);
    color: var(--mm-header-text-color);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
    font-weight: bold;
  }
  .mm-plus-sign {
    font-size: 30px;
    font-weight: bold;
    color: #666;
    margin: 10px 0;
  }
  .mm-price-info {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
  }
  .mm-price-info .discounted {
    color: var(--mm-primary-color);
    font-size: 26px;
  }
  .mm-price-info .original {
    text-decoration: line-through;
    color: #888;
    font-size: 18px;
  }
  .mm-add-to-cart-button {
    background: var(--mm-primary-color);
    color: var(--mm-header-text-color);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    width: 90%;
    max-width: 300px;
    transition: all 0.2s ease-in-out;
  }
  .mm-add-to-cart-button:hover:not(:disabled) {
    filter: brightness(1.15);
  }
  .mm-add-to-cart-button:disabled {
    background: #ccc;
    color: #777;
    cursor: not-allowed;
  }

  .mm-popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex; justify-content: center; align-items: center;
    z-index: 1001;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .mm-popup-overlay.show { opacity: 1; visibility: visible; }
  .mm-popup-content {
    background: #fff; padding: 30px; border-radius: 10px; text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    max-width: 350px; width: 90%; box-sizing: border-box; position: relative;
    border-top: 5px solid var(--mm-primary-color);
  }
  .mm-popup-content h3 { color: var(--mm-primary-color); margin-top: 0; font-size: 22px; }
  .mm-popup-content.success h3, .mm-popup-content.success { border-top-color: #28a745; }
  .mm-popup-content.success h3 { color: #28a745; }
  .mm-popup-content p { margin-bottom: 20px; font-size: 16px; line-height: 1.5; color: #333; }
  .mm-popup-close {
    position: absolute; top: 10px; right: 15px; font-size: 28px;
    cursor: pointer; color: #aaa; font-weight: bold;
  }
  .mm-popup-button {
    background: var(--mm-primary-color); color: var(--mm-header-text-color);
    border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer;
    font-size: 16px; font-weight: bold; min-width: 120px;
  }
  .mm-popup-content.success .mm-popup-button { background: #28a745; }


  @media (min-width: 768px) {
    .mm-summary-items { flex-direction: row; gap: 30px; }
    .mm-plus-sign { margin: 0; }
    .mm-add-to-cart-button { width: auto; max-width: none; }
    .mm-item { width: 160px; height: 250px; }
    .mm-item img { height: 150px; }
    .mm-item .product-title { font-size: 14px; }
  }