/* Loaded after DLE Shop custom-front.css on purpose. */
@media (max-width: 991px) {
    html, body.freshmarket-theme { width:100%!important; min-width:0!important; max-width:none!important; margin:0!important; overflow-x:hidden!important; }
    body.freshmarket-theme > .main-wrapper { position:relative!important; right:auto!important; left:auto!important; width:100%!important; min-width:0!important; max-width:none!important; margin:0!important; padding-right:0!important; padding-left:0!important; transform:none!important; }
    body.freshmarket-theme .main-content-wrap, body.freshmarket-theme .breadcrumb-area, body.freshmarket-theme .fm-header, body.freshmarket-theme .fm-footer, body.freshmarket-theme .fm-benefits { width:100%!important; min-width:0!important; max-width:none!important; margin-right:0!important; margin-left:0!important; }
    body.freshmarket-theme .container-fluid, body.freshmarket-theme .main-content-wrap > .container-fluid { width:100%!important; min-width:0!important; max-width:100%!important; margin-right:auto!important; margin-left:auto!important; }
    body.freshmarket-theme > .fm-safe-shell { position:fixed!important; inset:0!important; width:100vw!important; min-width:100vw!important; max-width:100vw!important; height:100vh!important; height:100dvh!important; margin:0!important; transform:none!important; z-index:2147483646!important; }
    body.freshmarket-theme > .fm-safe-shell.is-open { display:block!important; visibility:visible!important; opacity:1!important; pointer-events:auto!important; }
    body.freshmarket-theme > .fm-safe-shell > .fm-safe-shell__panel { position:absolute!important; top:0!important; right:0!important; bottom:0!important; left:auto!important; width:min(86vw,360px)!important; min-width:280px!important; max-width:360px!important; height:100vh!important; height:100dvh!important; margin:0!important; float:none!important; transform:translate3d(105%,0,0)!important; z-index:2!important; }
    body.freshmarket-theme > .fm-safe-shell.is-open > .fm-safe-shell__panel { display:flex!important; visibility:visible!important; opacity:1!important; transform:translate3d(0,0,0)!important; }
}
@media (max-width: 767px) {
    body.freshmarket-theme { padding-bottom:80px!important; }
    body.freshmarket-theme > .fm-safe-bottom { position:fixed!important; right:10px!important; bottom:max(8px,env(safe-area-inset-bottom))!important; left:10px!important; width:auto!important; min-width:0!important; max-width:none!important; height:64px!important; margin:0!important; padding:6px!important; display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important; float:none!important; clear:both!important; transform:none!important; z-index:2147483000!important; }
    body.freshmarket-theme > .fm-safe-bottom > a { position:relative!important; right:auto!important; left:auto!important; width:auto!important; min-width:0!important; max-width:none!important; float:none!important; visibility:visible!important; opacity:1!important; }
    body.freshmarket-theme.fm-menu-open > .fm-safe-bottom { visibility:hidden!important; opacity:0!important; pointer-events:none!important; }
}

/* Campaign cards and quantity controls follow the active theme, including open menus. */
.fm-amazing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-content:start}
.fm-amazing-card{min-width:0;border-radius:18px;overflow:hidden;background:#fff;color:#24392c}
.fm-amazing-image{display:flex;align-items:center;justify-content:center;position:relative;background:#fff;padding:12px;aspect-ratio:auto;height:234px}
.fm-amazing-image img{width:100%;height:210px;object-fit:contain}
.fm-amazing-badge{position:absolute;top:12px;right:12px;background:#c52539;color:#fff;padding:5px 10px;border-radius:20px;font-size:11px}
.fm-amazing-content{padding:16px}.fm-amazing-content h3{font-size:15px;line-height:1.8}.fm-amazing-content small{display:block;margin:8px 0}
.fm-amazing-content .dk-btn-cart{display:block;text-align:center;margin-top:12px}
.fm-amazing-content .dps-sale-timer{max-width:100%;flex-wrap:wrap}
.fm-wonder-intro .dps-sale-timer{max-width:100%;min-width:0;margin:12px 0}
.fm-wonder-intro .dps-timer-cards{padding:10px;width:100%}
.fm-wonder-intro .dps-timer-units{display:flex;gap:5px;width:100%}
.fm-wonder-intro .dps-timer-unit{flex:1;min-width:0;width:auto;padding:8px 3px}
@media(min-width:576px) and (max-width:991px){.fm-wonder-intro .fm-wonder-kicker{grid-column:1;justify-self:start}.fm-wonder-intro h2{grid-column:1;grid-row:2}.fm-wonder-intro>a{grid-column:1;grid-row:3;justify-self:start}.fm-wonder-intro .dps-sale-timer{grid-column:2;grid-row:1/4;width:300px;margin:0}}
@media(max-width:575px){.fm-wonder-intro{align-items:flex-start}.fm-wonder-intro .dps-sale-timer{width:100%}.fm-wonder-intro .fm-wonder-kicker{width:auto}}
html[data-theme="dark"] .fm-amazing-card{background:#112018;color:#eaf4ed}
html[data-theme="dark"] .fm-amazing-content h3{color:#eaf4ed}
html[data-theme="dark"] .purchase-options select,
html[data-theme="dark"] .purchase-options select option,
html[data-theme="dark"] .purchase-options input,
html[data-theme="dark"] .purchase-options .nice-select,
html[data-theme="dark"] .purchase-options .nice-select .current,
html[data-theme="dark"] .purchase-options .nice-select .list,
html[data-theme="dark"] .purchase-options .nice-select .option{background-color:#182b21!important;color:#f0f7f2!important;-webkit-text-fill-color:#f0f7f2!important;color-scheme:dark}
html[data-theme="dark"] .purchase-options .nice-select .option:hover,
html[data-theme="dark"] .purchase-options .nice-select .option.selected{background-color:#294b37!important}
.purchase-options select:focus-visible,.fm-amazing-content a:focus-visible{outline:2px solid #42b878!important;outline-offset:3px}
@media(max-width:1199px){.fm-amazing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.fm-wonder-shell{grid-template-columns:1fr}.fm-wonder-intro{padding:12px}.fm-amazing-image{height:184px}.fm-amazing-image img{height:160px}.fm-amazing-content{padding:12px}}
