.mmg-pod-store {
    --mmg-pod-accent: #cebf4b;
    --mmg-pod-card-bg: #f3f3f5;
    --mmg-pod-columns: 4;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    box-sizing: border-box;
}

.mmg-pod-store *,
.mmg-pod-store *::before,
.mmg-pod-store *::after {
    box-sizing: border-box;
}

.mmg-pod-title {
    margin: 0 0 42px;
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.08;
    color: #111;
}

.mmg-pod-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.mmg-pod-filter {
    appearance: none;
    border: 1px solid #dedee3;
    border-radius: 0;
    background: #ececf0;
    color: #404047;
    min-height: 46px;
    padding: 10px 28px;
    font: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.mmg-pod-filter:hover,
.mmg-pod-filter:focus-visible {
    border-color: var(--mmg-pod-accent);
    outline: none;
}

.mmg-pod-filter.is-active {
    background: var(--mmg-pod-accent);
    border-color: var(--mmg-pod-accent);
    color: #111;
    font-weight: 700;
}

.mmg-pod-search {
    display: block;
    width: 100%;
    min-height: 58px;
    margin: 0 0 30px;
    padding: 12px 20px;
    border: 1px solid #1f1f1f;
    border-radius: 0;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 18px;
    box-shadow: none;
}

.mmg-pod-search:focus {
    border-color: var(--mmg-pod-accent);
    outline: 2px solid color-mix(in srgb, var(--mmg-pod-accent) 35%, transparent);
    outline-offset: 1px;
}

.mmg-pod-grid {
    display: grid;
    grid-template-columns: repeat(var(--mmg-pod-columns), minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.mmg-pod-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #e4e4e8;
    overflow: hidden;
}

.mmg-pod-card[hidden] {
    display: none !important;
}

.mmg-pod-image-link {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f7f7f8;
}

.mmg-pod-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
    transition: transform .28s ease;
}

.mmg-pod-card:hover .mmg-pod-image {
    transform: scale(1.025);
}

.mmg-pod-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "title title"
        "price details";
    gap: 8px 14px;
    align-items: end;
    flex: 1;
    min-height: 145px;
    padding: 24px 26px;
    background: var(--mmg-pod-card-bg);
}

.mmg-pod-product-title {
    grid-area: title;
    margin: 0;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.35;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
}

.mmg-pod-product-title a {
    color: inherit;
    text-decoration: none;
}

.mmg-pod-price {
    grid-area: price;
    color: #111;
    font-weight: 700;
    line-height: 1.3;
}

.mmg-pod-price del {
    opacity: .6;
}

.mmg-pod-price ins {
    text-decoration: none;
}

.mmg-pod-details {
    grid-area: details;
    justify-self: end;
    color: var(--mmg-pod-accent);
    text-decoration: none;
    font-size: 17px;
    letter-spacing: .03em;
    white-space: nowrap;
}

.mmg-pod-details:hover,
.mmg-pod-details:focus-visible {
    color: #111;
    text-decoration: underline;
}

.mmg-pod-empty,
.mmg-pod-no-results {
    grid-column: 1 / -1;
    padding: 28px;
    text-align: center;
    background: #f7f7f8;
    border: 1px solid #e3e3e7;
}

.mmg-pod-size-guide {
    width: 100%;
}

.mmg-pod-size-table-wrap {
    width: 100%;
    margin: 20px 0 34px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mmg-pod-size-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: #fff;
}

.mmg-pod-size-table th,
.mmg-pod-size-table td {
    padding: 18px 16px;
    border: 1px solid #dedee2;
    text-align: center;
}

.mmg-pod-size-table th {
    font-weight: 800;
    color: #111;
}

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

@media (max-width: 820px) {
    .mmg-pod-store {
        padding-left: 12px;
        padding-right: 12px;
    }

    .mmg-pod-title {
        margin-bottom: 28px;
    }

    .mmg-pod-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mmg-pod-card-body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-height: 132px;
        padding: 18px;
    }

    .mmg-pod-details {
        margin-top: auto;
        align-self: flex-end;
    }
}

@media (max-width: 520px) {
    .mmg-pod-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    .mmg-pod-filter {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 9px 20px;
    }

    .mmg-pod-search {
        min-height: 52px;
        font-size: 16px;
    }

    .mmg-pod-grid {
        grid-template-columns: 1fr;
    }

    .mmg-pod-image-link {
        aspect-ratio: 1 / 1.15;
    }
}
