.munwey-carousel-section {
    --mc-accent: var(--theme-palette-color-1, #a52e32);
    --mc-ink: #14181c;
    --mc-muted: #4d5d6d;
    --mc-line: #e7ebee;
    --mc-surface: #f8f9fa;
    --mc-gap: 24px;
    --mc-title-size: 18px;
    --mc-text-size: 16px;
    container: munwey-carousel / inline-size;
    width: 100%;
    min-width: 0;
    padding-block: clamp(24px, 4vw, 56px);
    color: var(--mc-ink);
    font-family: var(--theme-font-family, "Poppins", system-ui, sans-serif);
}

.munwey-carousel-section,
.munwey-carousel-section * { box-sizing: border-box; }
.munwey-carousel-section [hidden] { display: none !important; }
.munwey-carousel-section a { color: inherit; text-decoration: none; }
.munwey-carousel-section :is(a, button, input, select, [tabindex]):focus-visible { outline: 2px solid var(--mc-accent); outline-offset: -2px; }
.munwey-carousel-section .mc-layout { display: grid; gap: 28px; align-items: start; }
.munwey-carousel-section .mc-results { container: mc-results / inline-size; min-width: 0; }
.munwey-carousel-section .mc-results-header { padding-bottom: 18px; border-bottom: 1px solid var(--mc-line); }
.munwey-carousel-section .mc-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--mc-muted); font-size: 13px; line-height: 1.5; }
.munwey-carousel-section .mc-back:hover { color: var(--mc-accent); }
.munwey-carousel-section .mc-current-category { margin: 8px 0 0; color: var(--mc-ink); font: inherit; font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.munwey-carousel-section .mc-navigation { min-width: 0; }
.munwey-carousel-section .mc-nav-label { margin-bottom: 12px; }
.munwey-carousel-section .mc-tree { list-style: none; margin: 0; padding: 0; }
.munwey-carousel-section .mc-tree li { list-style: none; margin: 0; padding: 0; }
.munwey-carousel-section .mc-tree .mc-tree { margin-inline-start: 14px; border-inline-start: 1px solid var(--mc-line); }
.munwey-carousel-section .mc-tree > li > .mc-tab[data-depth="0"] { font-weight: 600; }
.munwey-carousel-section .mc-tab[data-active="true"]:not([aria-current="true"]) { background: transparent; border-inline-start-color: transparent; }
.munwey-carousel-section .mc-nav-label { color: var(--mc-ink); font-size: 13px; font-weight: 600; line-height: 1.5; }
.munwey-carousel-section .mc-tab { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 11px 12px; border: 0; border-inline-start: 2px solid transparent; border-bottom: 1px solid var(--mc-line); color: var(--mc-muted); font-size: 13px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; transition: color .2s, background .2s; }
.munwey-carousel-section .mc-tab::after { content: "→"; flex: 0 0 auto; opacity: .45; }
.munwey-carousel-section .mc-tab:hover { color: var(--mc-accent); background: var(--mc-surface); }
.munwey-carousel-section .mc-tab[data-active="true"] { color: var(--mc-accent); border-inline-start-color: var(--mc-accent); background: #fcf3f3; font-weight: 600; }
.munwey-carousel-section .mc-tab[data-active="true"]::after { opacity: 1; }
.munwey-carousel-section .mc-select { display: none; width: 100%; min-width: 0; min-height: 52px; margin: 0; padding: 12px 40px 12px 14px; border: 1px solid #cbd2d8; border-radius: 2px; background-color: #fff; color: var(--mc-ink); font: inherit; font-size: 16px; line-height: 1.5; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2314181c' stroke-width='1.5'/%3E%3C/svg%3E"); background-position: right 14px center; background-repeat: no-repeat; }
.munwey-carousel-section .mc-select:hover { border-color: var(--mc-accent); }
.munwey-carousel-section .mc-select:dir(rtl) { background-position: left 14px center; padding: 12px 14px 12px 40px; }
.munwey-carousel-section .mc-status { margin: 12px 0 0; color: var(--mc-muted); font-size: 14px; }
.munwey-carousel-section .mc-status:empty { display: none; }
.munwey-carousel-section .mc-products { margin-top: 32px; transition: opacity .2s ease; }
.munwey-carousel-section .mc-products[aria-busy="true"] { opacity: .55; }
.munwey-carousel-section .mc-viewport {
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}
.munwey-carousel-section .mc-viewport:not(.swiper-initialized) { touch-action: auto; }
.munwey-carousel-section .mc-viewport.swiper-initialized { overflow: hidden; scroll-snap-type: none; }
.munwey-carousel-section .swiper-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: stretch;
    transition-property: transform;
    transition-timing-function: ease-out;
    box-sizing: content-box;
}
.munwey-carousel-section .mc-viewport:not(.swiper-initialized) .swiper-wrapper { gap: var(--mc-gap); }
.munwey-carousel-section .mc-card {
    position: relative;
    flex: 0 0 auto;
    width: 64%;
    height: auto;
    min-width: 0;
    margin: 0;
    scroll-snap-align: start;
}
.munwey-carousel-section .mc-card-link { display: flex; flex-direction: column; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.munwey-carousel-section .mc-image {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    width: 100%;
    border: 0;
    border-radius: 0;
    padding: 0;
    max-width: 260px;
    margin-inline: auto;
    background: transparent;
    box-shadow: none;
}
.munwey-carousel-section .mc-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
    transition: transform .35s ease;
}
.munwey-carousel-section .mc-image-missing { display: flex; align-items: center; height: 100px; aspect-ratio: auto; }
.munwey-carousel-section .mc-viewport:has(.mc-image img) .mc-image-missing { height: auto; aspect-ratio: 1 / 1; justify-content: center; }
.munwey-carousel-section .mc-image-note { color: var(--mc-muted); font-size: 13px; line-height: 1.5; }
.munwey-carousel-section .mc-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 14px 0 8px;
    color: var(--mc-ink);
    font: inherit;
    font-size: var(--mc-title-size);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.02em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.munwey-carousel-section .mc-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 8px;
    color: var(--mc-muted);
    font-size: var(--mc-text-size);
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.munwey-carousel-section .mc-cta {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    margin-top: 2px;
    padding: 5px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--mc-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transition: color .2s ease;
}
.munwey-carousel-section .mc-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.munwey-carousel-section .mc-controls { display: flex; flex: 1 1 100%; align-items: center; gap: 16px; min-width: 0; }
.munwey-carousel-section :is(.mc-prev, .mc-next) {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-height: 0;
    padding: 0;
    border: 1px solid var(--mc-line);
    border-radius: 0;
    background: transparent;
    color: var(--mc-ink);
    font: inherit;
    font-size: 20px;
    cursor: pointer;
}
.munwey-carousel-section :is(.mc-prev, .mc-next):disabled { opacity: .35; cursor: default; }
.munwey-carousel-section .mc-scrollbar { appearance: none; flex: 1; min-width: 0; width: 100%; height: 28px; margin: 0; padding: 0; border: 0; background: transparent; cursor: grab; touch-action: pan-y; }
.munwey-carousel-section .mc-scrollbar::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--mc-line); }
.munwey-carousel-section .mc-scrollbar::-webkit-slider-thumb { appearance: none; width: var(--mc-thumb, 24px); height: 6px; margin-top: -1px; border: 0; border-radius: 3px; background: var(--mc-accent); }
.munwey-carousel-section .mc-scrollbar::-moz-range-track { height: 4px; border-radius: 2px; background: var(--mc-line); }
.munwey-carousel-section .mc-scrollbar::-moz-range-thumb { width: var(--mc-thumb, 24px); height: 6px; border: 0; border-radius: 3px; background: var(--mc-accent); }
.munwey-carousel-section .mc-scrollbar:active { cursor: grabbing; }
.munwey-carousel-section .mc-retry { margin-top: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--mc-line); border-radius: 4px; background: #fff; color: var(--mc-accent); cursor: pointer; }
.munwey-carousel-section .mc-browse { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-inline-start: auto; font-size: 13px; font-weight: 600; }
.munwey-carousel-section .mc-browse:hover { color: var(--mc-accent); }
.munwey-carousel-section .mc-empty { margin: 0; padding: 24px 0; color: var(--mc-muted); }
.munwey-carousel-section .swiper-notification { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.munwey-carousel-section .mc-industry { display: block; width: 100%; min-height: 48px; padding: 12px; border: 0; border-inline-start: 2px solid transparent; border-bottom: 1px solid var(--mc-line); border-radius: 0; background: transparent; color: var(--mc-ink); text-align: start; font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer; }
.munwey-carousel-section .mc-industry[aria-pressed="true"] { border-inline-start-color: var(--mc-accent); background: color-mix(in srgb, var(--mc-accent) 5%, white); color: var(--mc-accent); }
.munwey-carousel-section .mc-industry:hover { color: var(--mc-accent); }
.munwey-carousel-section .mc-recommended { margin-bottom: 16px; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.munwey-carousel-section .mc-refinement { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; color: var(--mc-muted); font-size: 13px; }
.munwey-carousel-section .mc-type { flex: 1; min-width: 0; max-width: 360px; min-height: 44px; padding: 10px 32px 10px 12px; border: 1px solid var(--mc-line); border-radius: 0; background: white; color: var(--mc-ink); font: inherit; }
.munwey-carousel-section .mc-clear-type { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--mc-accent); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.munwey-carousel-section :is(.mc-industry,.mc-type,.mc-clear-type):focus-visible { outline: 2px solid var(--mc-accent); outline-offset: 3px; }

@container mc-results (min-width: 560px) {
    .munwey-carousel-section .mc-card { width: calc((100% - var(--mc-gap)) / 2); }
}
@container mc-results (min-width: 780px) {
    .munwey-carousel-section .mc-card { width: calc((100% - var(--mc-gap) * 2) / 3); }
}
@container munwey-carousel (min-width: 900px) {
    .munwey-carousel-section .mc-layout { grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 3vw, 48px); }
    .munwey-carousel-section .mc-navigation { padding-inline-end: 20px; border-inline-end: 1px solid var(--mc-line); }
}
@container munwey-carousel (max-width: 899px) {
    .munwey-carousel-section[data-initialized="true"] .mc-select { display: block; }
    .munwey-carousel-section[data-initialized="true"] .mc-nav-rail { display: none; }
    .munwey-carousel-section .mc-nav-label { margin-bottom: 8px; }
    .munwey-carousel-section .mc-layout { gap: 24px; }
}
@media (max-width: 767px) {
    .munwey-carousel-section { --mc-gap: 16px; --mc-title-size: 16px; --mc-text-size: 14px; }
    .munwey-carousel-section .mc-image { max-width: 210px; }
    .munwey-carousel-section .mc-title { margin-top: 12px; }
    .munwey-carousel-section .mc-products { margin-top: 20px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .munwey-carousel-section .mc-card-link:hover .mc-image img { transform: scale(1.035); }
    .munwey-carousel-section .mc-card-link:hover .mc-cta { color: var(--mc-accent); }
}
@media (prefers-reduced-motion: reduce) {
    .munwey-carousel-section *, .munwey-carousel-section *::before, .munwey-carousel-section *::after { transition: none !important; scroll-behavior: auto !important; }
}
