/*
 * Mini storefront
 * A calm, editorial RTL storefront for sellers with a deliberately small
 * catalogue.  The store colour is injected by the Blade layout as --accent.
 */

:root {
  --accent: #2563eb;
  --accent-ink: #fff;
  --accent-deep: color-mix(in srgb, var(--accent) 65%, #18212a);
  --accent-soft: color-mix(in srgb, var(--accent) 10%, #fff);
  --accent-pale: color-mix(in srgb, var(--accent) 5%, #fff);
  --accent-line: color-mix(in srgb, var(--accent) 25%, transparent);
  --accent-wash: color-mix(in srgb, var(--accent) 15%, transparent);
  --bg: #f7f7f4;
  --bg-raised: #f1f2ed;
  --surface: #fff;
  --surface-soft: #fbfbf9;
  --text: #1c211e;
  --muted: #68716a;
  --line: #e4e7e1;
  --line-dark: #d7ddd4;
  --ink: #121713;
  --danger: #c94646;
  --success: #277b55;
  --warning: #c9721e;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --radius-sm: 11px;
  --shadow-xs: 0 8px 20px -16px rgba(22, 35, 24, .3);
  --shadow-sm: 0 16px 38px -28px rgba(22, 35, 24, .34);
  --shadow: 0 28px 65px -42px rgba(22, 35, 24, .44);
  --shadow-accent: 0 22px 42px -26px color-mix(in srgb, var(--accent) 65%, transparent);
}

:root[data-theme="dark"] {
  --accent-soft: color-mix(in srgb, var(--accent) 20%, #181c19);
  --accent-pale: color-mix(in srgb, var(--accent) 10%, #181c19);
  --accent-line: color-mix(in srgb, var(--accent) 45%, transparent);
  --bg: #111512;
  --bg-raised: #171c18;
  --surface: #1a201b;
  --surface-soft: #151a16;
  --text: #edf0eb;
  --muted: #adb7ae;
  --line: #2c342e;
  --line-dark: #3a443c;
  --ink: #f6f8f4;
  --danger: #f18686;
  --success: #67c393;
  --warning: #f0ae62;
  --shadow-xs: 0 8px 20px -16px rgba(0, 0, 0, .65);
  --shadow-sm: 0 16px 38px -28px rgba(0, 0, 0, .72);
  --shadow: 0 28px 65px -42px rgba(0, 0, 0, .85);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(60rem 32rem at 104% -10%, var(--accent-wash), transparent 62%),
    radial-gradient(44rem 26rem at -16% 20%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 62%),
    var(--bg);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: color .22s ease, background .22s ease;
}
body::before {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  pointer-events: none;
  background-image: linear-gradient(color-mix(in srgb, var(--line) 45%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--line) 45%, transparent) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .15), transparent 44%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }

/*
 * The Mini icons are an inline SVG sprite.  A bare <svg> has a browser
 * intrinsic size (often 300×150), so every sprite consumer uses this class
 * instead of inheriting an accidental layout size from its parent.
 */
.mn-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.mn-svg-icon {
  display: block;
  width: 1em;
  height: 1em;
  min-width: 0;
  max-width: 100%;
  flex: 0 0 auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  vertical-align: middle;
}
.mn-svg-icon > use { pointer-events: none; }
.mn-theme-icon[data-dark] { display: none; }
:root[data-theme="dark"] .mn-theme-icon[data-dark] { display: block; }
:root[data-theme="dark"] .mn-theme-icon[data-light] { display: none; }
::selection { color: var(--accent-ink); background: var(--accent); }
:focus-visible { outline: 3px solid var(--accent-line); outline-offset: 3px; }

.mn-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.mn-skip { position: fixed; z-index: 1000; top: -100px; inset-inline-start: 18px; padding: 8px 14px; border-radius: 10px; color: var(--accent-ink); background: var(--accent); transition: top .18s ease; }
.mn-skip:focus { top: 15px; }
.mn-page { min-height: 61vh; padding: 2px 0 84px; }
.mn-pagepad { padding-top: 38px; }
.mn-page-intro { margin-bottom: 27px; }
.mn-page-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.mn-page-kicker::before { width: 24px; height: 1px; content: ""; background: currentColor; }

/* Buttons */
.mn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.mn-btn:hover { transform: translateY(-2px); }
.mn-btn:active { transform: translateY(0); }
.mn-btn:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.mn-btn-accent { color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: var(--shadow-accent); }
.mn-btn-accent:hover { box-shadow: 0 28px 46px -27px color-mix(in srgb, var(--accent) 72%, transparent); }
.mn-btn-outline { color: var(--text); border-color: var(--line-dark); background: color-mix(in srgb, var(--surface) 92%, transparent); }
.mn-btn-outline:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-pale); }
.mn-btn-on-accent { color: var(--ink); background: #fff; box-shadow: 0 15px 30px -20px rgba(0, 0, 0, .55); }
.mn-btn-on-accent:hover { color: var(--accent-deep); background: #fff; }
.mn-btn-ghost { min-height: 36px; padding: 7px 10px; color: var(--muted); background: transparent; }
.mn-btn-ghost:hover { color: var(--accent); background: var(--accent-pale); }
.mn-btn-sm { min-height: 37px; padding: 7px 12px; border-radius: 10px; font-size: 12.5px; }
.mn-btn-lg { min-height: 53px; padding: 13px 25px; border-radius: 15px; font-size: 15px; }
.mn-btn-block { width: 100%; }

/* Header and mobile navigation */
.mn-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 86%, transparent); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(18px) saturate(1.25); }
.mn-nav { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.mn-logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); font-size: 17px; font-weight: 900; letter-spacing: -.35px; }
.mn-logo > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mn-logo .mark, .mn-logo-image { display: grid; flex: 0 0 auto; width: 42px; height: 42px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 14px; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: 0 13px 25px -16px color-mix(in srgb, var(--accent) 78%, transparent); place-items: center; }
.mn-logo-image { padding: 3px; background: var(--surface); }
.mn-logo-image img { width: 100%; height: 100%; border-radius: 10px; object-fit: contain; }
.mn-menu { display: flex; align-items: center; gap: 3px; margin: 0; padding: 0; list-style: none; }
.mn-menu a { display: block; padding: 7px 11px; border-radius: 10px; color: var(--muted); font-size: 13.5px; font-weight: 700; transition: color .16s ease, background .16s ease; }
.mn-menu a:hover, .mn-menu a.is-active { color: var(--accent); background: var(--accent-pale); }
.mn-spacer { flex: 1; }
.mn-actions { display: flex; align-items: center; gap: 7px; }
.mn-icon { position: relative; display: grid; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 13px; color: var(--text); cursor: pointer; background: var(--surface); place-items: center; transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; }
.mn-icon:hover { color: var(--accent); border-color: var(--accent-line); box-shadow: var(--shadow-xs); transform: translateY(-2px); }
.mn-icon .mn-svg-icon { width: 19px; height: 19px; }
.mn-badge { position: absolute; top: -7px; inset-inline-start: -7px; display: grid; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid var(--bg); border-radius: 99px; color: var(--accent-ink); background: var(--accent); font-size: 10px; font-weight: 900; line-height: 1; place-items: center; }
.mn-mobile-nav { display: none; }

/* Hero: a single strong product and a clear shop identity */
.mn-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(250px, .74fr); gap: 30px; min-height: 382px; margin: 32px 0 22px; padding: clamp(31px, 5vw, 65px); overflow: hidden; border-radius: var(--radius-xl); color: var(--accent-ink); background: linear-gradient(130deg, var(--accent-deep), var(--accent)); box-shadow: 0 38px 70px -38px color-mix(in srgb, var(--accent) 75%, transparent); isolation: isolate; }
.mn-hero::before, .mn-hero::after { position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; content: ""; }
.mn-hero::before { width: 440px; height: 440px; top: -288px; inset-inline-end: -105px; background: rgba(255,255,255,.09); }
.mn-hero::after { width: 300px; height: 300px; right: -110px; bottom: -185px; background: rgba(5,12,8,.13); }
.mn-hero-in { align-self: center; max-width: 610px; }
.mn-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; background: rgba(255,255,255,.12); font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }
.mn-hero h1 { max-width: 620px; margin: 17px 0 12px; font-size: clamp(32px, 4.5vw, 58px); font-weight: 900; line-height: 1.16; letter-spacing: -1.3px; }
.mn-hero p { max-width: 510px; margin: 0 0 26px; color: rgba(255,255,255,.9); font-size: 16px; line-height: 2; }
.mn-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.mn-hero-secondary { color: #fff; border-color: rgba(255,255,255,.27); background: rgba(255,255,255,.1); }
.mn-hero-secondary:hover { color: #fff; border-color: rgba(255,255,255,.56); background: rgba(255,255,255,.17); }
.mn-hero-art { position: relative; display: grid; min-height: 220px; align-self: end; place-items: center; }
.mn-hero-orbit { position: absolute; width: min(26vw, 280px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; transform: translate(8%, -2%); }
.mn-hero-product { position: relative; display: grid; width: min(100%, 245px); aspect-ratio: .86; padding: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.4); border-radius: 27px; background: rgba(255,255,255,.93); box-shadow: 0 31px 46px -25px rgba(0,0,0,.55); place-items: center; transform: rotate(-4deg); }
.mn-hero-product img { width: 100%; height: 100%; object-fit: cover; }
.mn-hero-product-label { position: absolute; right: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 6px 10px; overflow: hidden; border-radius: 8px; color: #17201a; background: rgba(255,255,255,.92); font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.mn-hero-note { position: absolute; bottom: 4px; inset-inline-start: 0; max-width: 155px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(17,25,19,.22); font-size: 11px; font-weight: 700; line-height: 1.5; backdrop-filter: blur(8px); }

/* Store benefits and content sections */
.mn-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 0; }
.mn-strip .it { display: flex; align-items: center; gap: 12px; padding: 14px 15px; border: 1px solid var(--line); border-radius: var(--radius-md); background: color-mix(in srgb, var(--surface) 91%, transparent); box-shadow: var(--shadow-xs); }
.mn-strip .ic { display: grid; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; color: var(--accent); background: var(--accent-pale); place-items: center; }
.mn-strip .ic .mn-svg-icon { width: 20px; height: 20px; }
.mn-strip b { display: block; font-size: 13px; line-height: 1.5; }
.mn-strip span { display: block; margin-top: 1px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.mn-section { margin: 70px 0; }
.mn-section-tight { margin: 42px 0; }
.mn-sec-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.mn-sec-head > div { min-width: 0; }
.mn-sec-head h2 { margin: 0; color: var(--ink); font-size: clamp(24px, 3vw, 33px); font-weight: 900; line-height: 1.35; letter-spacing: -.7px; }
.mn-sec-head .ey { margin-bottom: 3px; color: var(--accent); font-size: 11.5px; font-weight: 900; letter-spacing: .08em; }
.mn-sec-head > a { display: inline-flex; align-items: center; gap: 5px; padding: 7px 0; color: var(--accent); font-size: 13px; font-weight: 800; white-space: nowrap; }
.mn-sec-head > a::after { content: "←"; transition: transform .18s ease; }
.mn-sec-head > a:hover::after { transform: translateX(-4px); }
.mn-cats { display: flex; flex-wrap: wrap; gap: 9px; }
.mn-cat { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--text); background: var(--surface); font-size: 13px; font-weight: 800; box-shadow: var(--shadow-xs); transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.mn-cat:hover, .mn-cat.is-active { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); box-shadow: 0 16px 28px -20px color-mix(in srgb, var(--accent) 76%, transparent); transform: translateY(-2px); }
.mn-cat .n { display: grid; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; color: var(--accent); background: var(--accent-pale); font-size: 10px; place-items: center; }
.mn-cat:hover .n, .mn-cat.is-active .n { color: var(--accent); background: #fff; }

/* Products */
.mn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 226px), 1fr)); gap: 18px; }
.mn-grid--editorial { grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 286px)); justify-content: start; }
.mn-card { position: relative; display: flex; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-xs); flex-direction: column; transition: transform .25s cubic-bezier(.2,.7,.2,1), border-color .2s ease, box-shadow .25s ease; }
.mn-card:hover { border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); box-shadow: var(--shadow); transform: translateY(-6px); }
.mn-card-media { position: relative; display: grid; width: 100%; overflow: hidden; border-radius: 15px; background: linear-gradient(140deg, var(--accent-pale), var(--bg-raised)); aspect-ratio: 1 / .91; place-items: center; }
.mn-card-media::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(13,22,15,.05)); }
.mn-card-media > a { display: grid; width: 100%; height: 100%; place-items: center; }
.mn-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.mn-card:hover .mn-card-media img { transform: scale(1.055); }
.mn-tag, .mn-stock { position: absolute; z-index: 2; top: 10px; padding: 4px 8px; border-radius: 8px; color: #fff; background: var(--danger); box-shadow: 0 8px 17px -12px rgba(120,30,30,.7); font-size: 10.5px; font-weight: 900; line-height: 1.45; }
.mn-tag { inset-inline-start: 10px; }
.mn-stock { top: auto; right: 9px; bottom: 9px; color: var(--success); background: color-mix(in srgb, #fff 89%, transparent); box-shadow: none; }
.mn-stock.is-out { color: var(--danger); }
.mn-card-body { display: flex; padding: 13px 5px 4px; flex: 1; flex-direction: column; }
.mn-card h3 { min-height: 2.9em; margin: 0; overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 800; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mn-card h3:hover { color: var(--accent); }
.mn-card-subtitle { min-height: 20px; margin-top: 3px; color: var(--muted); font-size: 11px; }
.mn-card-foot { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.mn-price { color: var(--ink); font-size: 16px; font-weight: 900; letter-spacing: -.2px; }
.mn-price small { color: var(--muted); font-size: 10px; font-weight: 700; }
.mn-price-old { display: block; min-height: 17px; color: var(--muted); font-size: 10.5px; text-decoration: line-through; }
.mn-add { display: grid; flex: 0 0 auto; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; color: var(--accent-ink); cursor: pointer; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: 0 12px 23px -16px color-mix(in srgb, var(--accent) 82%, transparent); place-items: center; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.mn-add:hover { box-shadow: 0 17px 28px -15px color-mix(in srgb, var(--accent) 88%, transparent); transform: translateY(-2px); }
.mn-add:disabled { cursor: not-allowed; opacity: .44; transform: none; }
.mn-add .mn-svg-icon { width: 19px; height: 19px; }

/* CTA */
.mn-cta { position: relative; padding: clamp(31px, 5vw, 57px); overflow: hidden; border: 1px solid var(--accent-line); border-radius: var(--radius-xl); text-align: center; background: linear-gradient(135deg, var(--accent-pale), color-mix(in srgb, var(--surface) 76%, var(--accent-pale))); }
.mn-cta::after { position: absolute; top: -110px; inset-inline-start: -80px; width: 260px; height: 260px; border: 1px solid var(--accent-line); border-radius: 50%; content: ""; }
.mn-cta > * { position: relative; z-index: 1; }
.mn-cta h2 { margin: 0 0 8px; color: var(--ink); font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.45; }
.mn-cta p { max-width: 530px; margin: 0 auto 22px; color: var(--muted); }

/* Panels, forms and content */
.mn-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: var(--shadow-xs); }
.mn-panel-pad, .mn-panel { padding: 23px; }
.mn-panel--soft { background: var(--surface-soft); }
.mn-panel--accent { border-color: var(--accent-line); background: var(--accent-pale); }
.mn-title { margin: 0 0 17px; color: var(--ink); font-size: clamp(25px, 3vw, 34px); font-weight: 900; line-height: 1.4; letter-spacing: -.7px; }
.mn-title-sm { margin: 0; color: var(--ink); font-size: 18px; font-weight: 900; }
.mn-muted { color: var(--muted); }
.mn-accent { color: var(--accent); }
.mn-danger { color: var(--danger); }
.mn-divider { height: 1px; margin: 18px 0; background: var(--line); }
.mn-chip { display: inline-flex; align-items: center; gap: 5px; min-height: 27px; padding: 4px 9px; border-radius: 8px; color: var(--accent); background: var(--accent-pale); font-size: 11px; font-weight: 900; line-height: 1.5; }
.mn-chip--status { color: var(--success); background: color-mix(in srgb, var(--success) 12%, var(--surface)); }
.mn-empty { padding: clamp(42px, 8vw, 75px) 20px; text-align: center; color: var(--muted); }
.mn-empty .em { margin-bottom: 8px; font-size: 42px; line-height: 1; }
.mn-empty p { margin: 0 0 17px; }
.mn-field { margin-bottom: 17px; }
.mn-label { display: block; margin-bottom: 7px; color: var(--text); font-size: 12px; font-weight: 800; }
.mn-input, .mn-select { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--line-dark); border-radius: 11px; outline: 0; color: var(--text); background: var(--surface); font-size: 14px; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.mn-input::placeholder { color: color-mix(in srgb, var(--muted) 66%, transparent); }
.mn-input:focus, .mn-select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-line); }
textarea.mn-input { min-height: 100px; resize: vertical; }
.mn-error { margin-top: 5px; color: var(--danger); font-size: 12px; font-weight: 700; }
.mn-alert { padding: 12px 14px; border: 1px solid var(--accent-line); border-radius: var(--radius-sm); color: var(--accent); background: var(--accent-pale); font-size: 13px; font-weight: 700; }
.mn-alert.is-error { border-color: color-mix(in srgb, var(--danger) 25%, transparent); color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }
.mn-row { display: grid; gap: 22px; }
.mn-row-2-1 { grid-template-columns: minmax(0, 1.8fr) minmax(285px, .82fr); }
.mn-row-1-3 { grid-template-columns: 256px minmax(0, 1fr); align-items: start; }
.mn-flex { display: flex; align-items: center; gap: 10px; }
.mn-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mn-stack { display: grid; gap: 11px; }
.mn-sticky { position: sticky; top: 98px; }
.mn-breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 17px; color: var(--muted); font-size: 12px; }
.mn-breadcrumb a:hover { color: var(--accent); }

/* Catalogue filters */
.mn-filter { overflow: hidden; }
.mn-filter-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; font-weight: 900; }
.mn-filter-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.mn-filter-group:last-of-type { border-bottom: 0; }
.mn-filter-label { display: block; margin-bottom: 8px; color: var(--text); font-size: 12px; font-weight: 800; }
.mn-filter-check { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; color: var(--muted); font-size: 13px; cursor: pointer; }
.mn-filter-check input { width: 17px; height: 17px; accent-color: var(--accent); }
.mn-price-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mn-sort { display: flex; flex-wrap: wrap; gap: 7px; }
.mn-result-note { margin-top: 4px; color: var(--muted); font-size: 12px; }

/* Product details */
.mn-product-shell { padding: clamp(16px, 3vw, 29px); }
.mn-product-layout { display: grid; grid-template-columns: minmax(0, .98fr) minmax(310px, 1.02fr); gap: clamp(23px, 4vw, 54px); align-items: start; }
.mn-product-image { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, var(--accent-pale), var(--bg-raised)); aspect-ratio: 1; }
.mn-product-image img { width: 100%; height: 100%; object-fit: cover; }
.mn-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mn-thumb { width: 54px; height: 54px; padding: 2px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.mn-thumb img { width: 100%; height: 100%; border-radius: 7px; object-fit: cover; }
.mn-product-category { margin-bottom: 11px; }
.mn-product-title { margin: 0 0 17px; color: var(--ink); font-size: clamp(26px, 4vw, 40px); font-weight: 900; line-height: 1.42; letter-spacing: -.9px; }
.mn-option-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mn-option { position: relative; display: inline-flex; cursor: pointer; }
.mn-option input { position: absolute; opacity: 0; pointer-events: none; }
.mn-option-label { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 11px; border: 1px solid var(--line-dark); border-radius: 10px; color: var(--muted); background: var(--surface); font-size: 12px; font-weight: 800; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.mn-option input:checked + .mn-option-label { border-color: var(--accent); color: var(--accent); background: var(--accent-pale); box-shadow: 0 0 0 2px var(--accent-line); }
.mn-color-dot { width: 14px; height: 14px; border: 1px solid color-mix(in srgb, var(--text) 20%, transparent); border-radius: 50%; }
.mn-price-box { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 20px 0; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mn-price-box .mn-price { font-size: 24px; }
.mn-product-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; padding-top: 27px; border-top: 1px solid var(--line); }
.mn-product-copy h2 { margin: 0 0 9px; color: var(--ink); font-size: 17px; font-weight: 900; }
.mn-product-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 2.15; }
.mn-spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mn-spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.mn-spec-table tr:last-child td { border-bottom: 0; }
.mn-spec-table td:first-child { width: 42%; color: var(--muted); }

/* Cart and checkout */
.mn-cart-list { padding: 2px 22px; }
.mn-line { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mn-line:last-child { border-bottom: 0; }
.mn-line > img { flex: 0 0 auto; width: 86px; height: 86px; border: 1px solid var(--line); border-radius: 14px; object-fit: cover; background: var(--bg-raised); }
.mn-line-title { display: block; color: var(--ink); font-size: 14px; font-weight: 900; line-height: 1.65; }
.mn-line-title:hover { color: var(--accent); }
.mn-line-meta { margin-top: 2px; color: var(--muted); font-size: 11.5px; }
.mn-line-actions { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: 10px; }
.mn-qty { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.mn-qty button { display: grid; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 7px; color: var(--text); cursor: pointer; background: transparent; font-size: 18px; line-height: 1; place-items: center; transition: color .15s ease, background .15s ease; }
.mn-qty button:hover { color: var(--accent-ink); background: var(--accent); }
.mn-qty-value { min-width: 22px; text-align: center; font-size: 12px; font-weight: 900; }
.mn-summary { padding: 21px; }
.mn-summary h2 { margin: 0 0 16px; color: var(--ink); font-size: 17px; font-weight: 900; }
.mn-summary-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 9px 0; color: var(--muted); font-size: 12px; }
.mn-summary-total { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 15px; color: var(--ink); font-size: 14px; font-weight: 900; }
.mn-summary-total strong { color: var(--accent); font-size: 18px; }
.mn-coupon { display: flex; gap: 7px; margin: 14px 0 4px; }
.mn-coupon .mn-input { min-width: 0; }
.mn-stepper { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: 12px; font-weight: 800; }
.mn-stepper .step { display: inline-grid; width: 25px; height: 25px; border: 1px solid var(--line-dark); border-radius: 50%; background: var(--surface); place-items: center; }
.mn-stepper .step.is-active { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.mn-stepper .line { width: 28px; height: 1px; background: var(--line-dark); }
.mn-order-success { max-width: 650px; margin: 20px auto 0; padding: clamp(25px, 5vw, 45px); text-align: center; }
.mn-success-mark { display: grid; width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; color: var(--success); background: color-mix(in srgb, var(--success) 13%, var(--surface)); font-size: 32px; place-items: center; }
.mn-order-box { margin: 22px 0; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius-md); text-align: right; background: var(--surface-soft); }

/* Auth, account and editorial pages */
.mn-auth { max-width: 460px; margin: 24px auto 0; padding: clamp(24px, 5vw, 38px); }
.mn-auth-mark { display: grid; width: 52px; height: 52px; margin: 0 auto 17px; border-radius: 17px; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: var(--shadow-accent); font-weight: 900; place-items: center; }
.mn-auth .mn-title { margin-bottom: 3px; text-align: center; }
.mn-auth-copy { margin: 0 0 23px; color: var(--muted); font-size: 13px; text-align: center; }
.mn-code-input { text-align: center; font-size: 20px; font-weight: 900; letter-spacing: 8px; }
.mn-profileside { padding: 13px; }
.mn-profile-head { display: flex; align-items: center; gap: 10px; padding: 5px 5px 16px; border-bottom: 1px solid var(--line); }
.mn-avatar { display: grid; flex: 0 0 auto; width: 43px; height: 43px; border-radius: 14px; color: var(--accent); background: var(--accent-pale); font-size: 16px; font-weight: 900; place-items: center; }
.mn-profile-links { display: grid; gap: 2px; margin-top: 10px; }
.mn-profile-link { display: flex; align-items: center; gap: 9px; min-height: 41px; padding: 8px 10px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 700; transition: color .15s ease, background .15s ease; }
.mn-profile-link:hover, .mn-profile-link.is-active { color: var(--accent); background: var(--accent-pale); }
.mn-profile-link.is-danger { color: var(--danger); }
.mn-stat { display: flex; align-items: center; justify-content: space-between; min-height: 120px; padding: 21px; border: 1px solid var(--accent-line); border-radius: var(--radius-lg); background: linear-gradient(130deg, var(--accent-pale), var(--surface)); }
.mn-stat-number { margin-top: 4px; color: var(--ink); font-size: 34px; font-weight: 900; line-height: 1; }
.mn-order-row { display: grid; grid-template-columns: 1.15fr auto auto auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.mn-order-row:last-child { border-bottom: 0; }
.mn-order-row:hover { color: var(--accent); }
.mn-order-card { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-soft); transition: border-color .16s ease, transform .16s ease; }
.mn-order-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.mn-content { max-width: 830px; margin: 0 auto; padding: clamp(25px, 5vw, 45px); }
.mn-content h1 { margin: 0 0 16px; color: var(--ink); font-size: clamp(27px, 4vw, 40px); font-weight: 900; line-height: 1.4; }
.mn-content-copy { color: var(--muted); line-height: 2.25; }
.mn-contact-list { display: grid; gap: 10px; }
.mn-contact-item { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.mn-contact-icon { display: grid; width: 34px; height: 34px; border-radius: 10px; color: var(--accent); background: var(--accent-pale); place-items: center; }
.mn-faq-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.mn-faq-item:last-child { border-bottom: 0; }
.mn-faq-question { color: var(--ink); font-size: 14px; font-weight: 900; }
.mn-faq-answer { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 2; }

/* Footer */
.mn-footer { margin-top: 30px; padding: 53px 0 21px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg-raised) 80%, transparent); }
.mn-foot-grid { display: grid; grid-template-columns: minmax(240px, 1.5fr) .75fr .75fr; gap: 40px; }
.mn-footer h4 { margin: 0 0 10px; color: var(--ink); font-size: 13px; font-weight: 900; }
.mn-footer a:not(.mn-logo) { display: inline-block; padding: 4px 0; color: var(--muted); font-size: 12.5px; transition: color .15s ease, transform .15s ease; }
.mn-footer a:not(.mn-logo):hover { color: var(--accent); transform: translateX(-3px); }
.mn-footer-about { max-width: 340px; margin: 0; color: var(--muted); font-size: 12.5px; line-height: 2; }
.mn-socials { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.mn-socials a { display: grid !important; width: 36px; height: 36px; padding: 0 !important; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: var(--surface); font-size: 10px !important; font-weight: 900; place-items: center; }
.mn-socials a:hover { border-color: var(--accent); color: var(--accent-ink) !important; background: var(--accent); transform: translateY(-2px) !important; }
.mn-foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 33px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

/* The shared blog partials are re-skinned only when loaded in Mini. */
.bh, .bx, .bxs { max-width: 1180px !important; color: var(--text); }
.bh { padding: 4px 0 35px !important; }
.bx { padding: 40px 0 67px !important; }
.bxs { max-width: 830px !important; padding: 42px 0 67px !important; }
.bh-head h2, .bx-head h1, .bxs h1, .bxs-rel h2, .bh-body h3, .bx-body h3, .bxs-rel-card h3 { color: var(--ink) !important; }
.bh-head, .bx-head { margin-bottom: 21px !important; }
.bh-card, .bx-card, .bxs-rel-card { border-color: var(--line) !important; background: var(--surface) !important; box-shadow: var(--shadow-xs); }
.bh-card, .bx-card { border-radius: var(--radius-lg) !important; }
.bh-card:hover, .bx-card:hover { border-color: var(--accent-line) !important; box-shadow: var(--shadow) !important; }
.bh-thumb, .bx-thumb, .bxs-hero, .bxs-rel-card .t { background: linear-gradient(145deg, var(--accent-pale), var(--bg-raised)) !important; }
.bh-body h3, .bx-body h3 { font-weight: 900 !important; }
.bh-body p, .bx-body p, .bxs-body { color: var(--muted) !important; }
.bh-all, .bx-more, .bxs-back { color: var(--accent) !important; }
.bx-empty { border-color: var(--accent-line) !important; color: var(--muted) !important; background: var(--surface) !important; }
.bx-pager a, .bx-pager span { border-color: var(--line) !important; color: var(--text) !important; background: var(--surface) !important; }
.bxs-rel { border-color: var(--line) !important; }

/* Laravel's default paginator */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pagination > * { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; padding: 0 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: var(--surface); font-size: 12px; }
.pagination .active > *, .pagination .active > span { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.pagination a:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 920px) {
  .mn-menu { display: none; }
  .mn-mobile-nav { display: flex; gap: 7px; padding: 0 0 10px; overflow-x: auto; scrollbar-width: none; }
  .mn-mobile-nav::-webkit-scrollbar { display: none; }
  .mn-mobile-nav a { flex: 0 0 auto; padding: 6px 10px; border-radius: 8px; color: var(--muted); background: var(--surface); font-size: 11px; font-weight: 800; }
  .mn-mobile-nav a.is-active { color: var(--accent); background: var(--accent-pale); }
  .mn-hero { grid-template-columns: minmax(0, 1fr) minmax(210px, .6fr); }
  .mn-row-1-3 { grid-template-columns: 215px minmax(0, 1fr); }
  .mn-grid--editorial { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 14px; background-size: 44px 44px; }
  .mn-container { width: min(100% - 28px, 1180px); }
  .mn-page { padding-bottom: 57px; }
  .mn-pagepad { padding-top: 25px; }
  .mn-nav { min-height: 66px; gap: 11px; }
  .mn-logo { max-width: calc(100vw - 175px); font-size: 15px; }
  .mn-logo .mark, .mn-logo-image { width: 36px; height: 36px; border-radius: 11px; }
  .mn-actions { gap: 5px; }
  .mn-icon { width: 36px; height: 36px; border-radius: 11px; }
  .mn-icon .mn-svg-icon { width: 17px; height: 17px; }
  .mn-actions > button { display: none; }
  .mn-hero { grid-template-columns: 1fr; min-height: 0; margin-top: 20px; padding: 31px 23px 24px; }
  .mn-hero h1 { font-size: 35px; }
  .mn-hero p { margin-bottom: 21px; font-size: 14px; }
  .mn-hero-art { min-height: 158px; margin-top: 3px; }
  .mn-hero-product { width: 155px; border-radius: 19px; }
  .mn-hero-orbit { width: 185px; transform: translate(18%, 0); }
  .mn-hero-note { bottom: 6px; inset-inline-start: 5%; }
  .mn-strip { grid-template-columns: 1fr; gap: 8px; }
  .mn-strip .it { padding: 11px 12px; }
  .mn-section { margin: 47px 0; }
  .mn-sec-head { align-items: end; margin-bottom: 15px; }
  .mn-sec-head h2 { font-size: 25px; }
  .mn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mn-card { padding: 7px; border-radius: 16px; }
  .mn-card-media { border-radius: 11px; }
  .mn-card-body { padding: 9px 2px 2px; }
  .mn-card h3 { min-height: 2.8em; font-size: 12.5px; }
  .mn-card-subtitle { min-height: 16px; font-size: 9.5px; }
  .mn-price { font-size: 13px; }
  .mn-price small { font-size: 8px; }
  .mn-add { width: 34px; height: 34px; border-radius: 10px; }
  .mn-add .mn-svg-icon { width: 16px; height: 16px; }
  .mn-tag, .mn-stock { top: 7px; padding: 3px 6px; border-radius: 6px; font-size: 8.5px; }
  .mn-stock { top: auto; bottom: 7px; }
  .mn-row-2-1, .mn-row-1-3, .mn-product-layout, .mn-product-copy { grid-template-columns: 1fr; }
  .mn-row-1-3 { gap: 14px; }
  .mn-sticky { position: static; }
  .mn-panel, .mn-panel-pad { padding: 17px; border-radius: 16px; }
  .mn-cart-list { padding: 0 17px; }
  .mn-line { gap: 10px; padding: 14px 0; }
  .mn-line > img { width: 69px; height: 69px; border-radius: 11px; }
  .mn-line-actions { align-items: start; flex-direction: column-reverse; }
  .mn-coupon { flex-wrap: wrap; }
  .mn-coupon .mn-btn { width: 100%; }
  .mn-product-shell { padding: 14px; }
  .mn-product-title { font-size: 28px; }
  .mn-order-row { grid-template-columns: 1fr auto; gap: 7px; }
  .mn-order-row > :last-child { grid-column: 1 / -1; }
  .mn-foot-grid { grid-template-columns: 1fr 1fr; gap: 25px 20px; }
  .mn-foot-grid > :first-child { grid-column: 1 / -1; }
  .mn-foot-bottom { align-items: start; flex-direction: column; }
  .bh, .bx, .bxs { width: min(100% - 28px, 1180px) !important; }
  .bh { padding-bottom: 24px !important; }
  .bh-grid, .bx-grid { gap: 10px !important; }
  .bh-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .bx-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 390px) {
  .mn-logo > span:last-child { display: none; }
  .mn-logo { max-width: none; }
  .mn-hero-cta .mn-btn { width: 100%; }
  .mn-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mn-footer { padding-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
