/*
 * BETONOVE-STAVEBNICE.CZ — redesign layer for Shoptet Classic
 * Load AFTER the native Shoptet styles. No native file needs to be edited.
 */
:root {
  --mach-yellow: #f6bd00;
  --mach-yellow-2: #ffd23f;
  --mach-ink: #151515;
  --mach-ink-2: #222222;
  --mach-copy: #414141;
  --mach-muted: #747474;
  --mach-line: #e5e5e2;
  --mach-soft: #f5f5f2;
  --mach-white: #ffffff;
  --mach-green: #367a42;
  --mach-radius: 18px;
  --mach-radius-sm: 12px;
  --mach-shadow: 0 22px 60px rgba(15,15,15,.10);
  --mach-shell: 1360px;
  --mach-ease: cubic-bezier(.2,.75,.25,1);
}
html { scroll-behavior: smooth; }
body.mach-redesign {
  color: var(--mach-ink);
  font-family: 'Source Sans 3', Arial, sans-serif;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
body.mach-redesign h1, body.mach-redesign h2, body.mach-redesign h3,
body.mach-redesign .navigation-in > ul > li > a,
body.mach-redesign .btn, body.mach-redesign .next-step,
body.mach-redesign .products .name, body.mach-redesign .price-final {
  font-family: 'Exo 2', 'Source Sans 3', Arial, sans-serif;
}
body.mach-redesign a { transition: color .2s ease, background .2s ease, border-color .2s ease, transform .25s var(--mach-ease), box-shadow .25s var(--mach-ease); }
body.mach-redesign img { image-rendering: auto; }
.mach-shell { width: min(var(--mach-shell), calc(100% - 56px)); margin-inline: auto; }
.mach-kicker { margin: 0 0 12px; color: #9a7200; font: 700 12px/1.2 'Exo 2',sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.mach-btn { display:inline-flex; min-height:52px; align-items:center; justify-content:center; gap:14px; padding: 0 22px; border:1px solid transparent; border-radius:6px; font:700 14px/1 'Exo 2',sans-serif; letter-spacing:.01em; text-decoration:none!important; }
.mach-btn span { font-size:18px; line-height:1; }
.mach-btn--primary { color:#151515!important; background:var(--mach-yellow); border-color:var(--mach-yellow); box-shadow:0 10px 24px rgba(246,189,0,.2); }
.mach-btn--primary:hover { background:#ffd129; border-color:#ffd129; transform:translateY(-2px); box-shadow:0 14px 28px rgba(246,189,0,.28); }
.mach-btn--ghost { color:#fff!important; border-color:rgba(255,255,255,.34); background:rgba(255,255,255,.04); }
.mach-btn--ghost:hover { border-color:#fff; background:#fff; color:#151515!important; transform:translateY(-2px); }
.mach-text-link { display:inline-flex; gap:10px; align-items:center; color:#171717!important; font-weight:700; text-decoration:none!important; }
.mach-text-link:hover { color:#9a7200!important; }

/* Header */
body.mach-redesign .top-navigation-bar { min-height:34px; background:#171717!important; border:0!important; color:#cfcfcf; }
body.mach-redesign .top-navigation-bar .container { width:min(var(--mach-shell),calc(100% - 56px)); padding:0; }
body.mach-redesign .top-navigation-bar a, body.mach-redesign .top-navigation-bar .dropdown button { color:#d5d5d5!important; font-size:12px; }
body.mach-redesign .top-navigation-bar a:hover { color:#fff!important; }
body.mach-redesign #header { background:#fff; border-bottom:1px solid var(--mach-line); box-shadow:none; }
body.mach-redesign #header > .container { width:min(var(--mach-shell),calc(100% - 56px)); padding-inline:0; }
body.mach-redesign #header .site-name { min-width:185px; }
body.mach-redesign #header .site-name img { max-height:58px; width:auto; }
body.mach-redesign .search { max-width:540px; }
body.mach-redesign .search-form { border:1px solid #d9d9d6; border-radius:6px; overflow:hidden; background:#fff; box-shadow:0 3px 14px rgba(0,0,0,.035); }
body.mach-redesign .search-form input[type='search'], body.mach-redesign .search-form input[type='text'] { min-height:48px; border:0; padding-left:18px; font-size:15px; background:#fff; }
body.mach-redesign .search-form .btn, body.mach-redesign .search-form button { min-height:48px; border-radius:0; background:#191919; border-color:#191919; color:#fff; padding-inline:20px; }
body.mach-redesign #header .cart-count, body.mach-redesign #header .login-link { font-weight:700; }
body.mach-redesign #navigation { background:#fff; border-top:0; border-bottom:1px solid var(--mach-line); }
body.mach-redesign #navigation .container { width:min(var(--mach-shell),calc(100% - 56px)); padding:0; }
body.mach-redesign .navigation-in { background:#fff; }
body.mach-redesign .navigation-in > ul { display:flex; align-items:stretch; }
body.mach-redesign .navigation-in > ul > li { border:0; }
body.mach-redesign .navigation-in > ul > li > a { min-height:54px; display:flex; align-items:center; padding:0 24px; color:#242424!important; background:#fff!important; font-size:13px; font-weight:700; letter-spacing:.015em; text-decoration:none!important; border-right:1px solid #f0f0ed; }
body.mach-redesign .navigation-in > ul > li:first-child > a { background:var(--mach-yellow)!important; color:#161616!important; padding-inline:26px; }
body.mach-redesign .navigation-in > ul > li > a:hover { background:#f5f5f2!important; color:#111!important; }
body.mach-redesign .navigation-in ul.menu-level-2 { border:1px solid var(--mach-line); border-radius:0 0 12px 12px; box-shadow:0 20px 50px rgba(0,0,0,.12); overflow:hidden; }
body.mach-redesign .navigation-in ul.menu-level-2 > li > a { padding:12px 16px; }
body.mach-redesign .menu-helper > span { border:0; }

/* Hide legacy home promo clutter only after JS confirms our home was inserted */
body.mach-home-ready .homepage-box.before-carousel,
body.mach-home-ready .carousel-wrapper,
body.mach-home-ready .banners-content,
body.mach-home-ready .benefitBanner { display:none!important; }

/* When homepage.html is pasted directly into Shoptet's homepage editor,
   Shoptet wraps it in .homepage-box.welcome-wrapper. That wrapper must stay visible. */
body.mach-home-ready .homepage-box.welcome-wrapper.mach-home-host {
  display:block!important;
  margin:0!important;
  padding:0!important;
  max-width:none!important;
}
body.mach-home-ready .homepage-box.welcome-wrapper.mach-home-host > .mach-home {
  margin-top:0!important;
}
body.mach-home-ready #content-wrapper { padding-top:0; }
body.mach-home-ready #content { padding-top:0; }
body.mach-home-ready #content > .content-inner > h1:first-child { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; }
body.mach-home-ready .mach-home + .homepage-box { margin-top:0; }

/* Hero */
.mach-home { margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); overflow:hidden; }
.mach-hero { position:relative; min-height:620px; background:linear-gradient(108deg,#0d0f10 0%,#16191a 51%,#272a2b 100%); color:#fff; overflow:hidden; }
.mach-hero:before { content:''; position:absolute; inset:0; pointer-events:none; opacity:.18; background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size:56px 56px; mask-image:linear-gradient(to right,#000,transparent 78%); }
.mach-hero:after { content:''; position:absolute; width:650px; height:650px; right:-220px; top:-230px; border:110px solid rgba(246,189,0,.16); border-radius:50%; }
.mach-hero__grid { min-height:620px; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(450px,.95fr); gap:56px; align-items:center; position:relative; z-index:1; }
.mach-hero__content { padding:64px 0 58px; }
.mach-hero .mach-kicker { color:var(--mach-yellow); }
.mach-hero h1 { margin:0; max-width:760px; color:#fff; font-size:clamp(46px,4.6vw,76px); line-height:.98; letter-spacing:-.045em; font-weight:800; }
.mach-hero h1 span { color:#f4f4f0; }
.mach-hero__lead { max-width:680px; margin:26px 0 30px; font-size:18px; line-height:1.55; color:#c9cbca; }
.mach-hero__actions { display:flex; flex-wrap:wrap; gap:12px; }
.mach-proof { display:grid; grid-template-columns:repeat(3,1fr); gap:0; max-width:760px; margin-top:56px; border-top:1px solid rgba(255,255,255,.14); }
.mach-proof > div { min-width:0; padding:18px 20px 0 0; }
.mach-proof > div + div { padding-left:20px; border-left:1px solid rgba(255,255,255,.12); }
.mach-proof b, .mach-proof span { display:block; }
.mach-proof b { color:#fff; font-size:14px; }
.mach-proof span { margin-top:4px; color:#8f9491; font-size:12px; }
.mach-hero__visual { position:relative; height:540px; align-self:end; }
.mach-hero__halo { position:absolute; width:390px; height:390px; border-radius:50%; left:50%; top:50%; transform:translate(-42%,-47%); background:radial-gradient(circle,rgba(246,189,0,.22),rgba(246,189,0,0) 68%); filter:blur(2px); }
.mach-product-cutout { position:absolute; margin:0; display:grid; place-items:end center; filter:drop-shadow(0 30px 30px rgba(0,0,0,.42)); }
.mach-product-cutout img { width:100%; max-height:100%; object-fit:contain; }
.mach-product-cutout--main { width:350px; height:430px; right:4%; bottom:28px; z-index:2; }
.mach-product-cutout--side { width:255px; height:320px; left:0; bottom:10px; z-index:3; }
.mach-hero__label { position:absolute; left:0; top:54px; width:210px; padding:18px 18px 17px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); backdrop-filter:blur(12px); z-index:5; }
.mach-hero__label span { color:var(--mach-yellow); font-weight:800; font-size:11px; letter-spacing:.13em; }
.mach-hero__label strong,.mach-hero__label small { display:block; }
.mach-hero__label strong { margin-top:8px; font-size:15px; }
.mach-hero__label small { margin-top:4px; color:#aeb0af; line-height:1.35; }

/* Sections */
.mach-section { padding:92px 0; }
.mach-section-head { display:flex; justify-content:space-between; gap:30px; align-items:end; margin-bottom:34px; }
.mach-section-head h2 { margin:0; font-size:clamp(34px,3vw,48px); letter-spacing:-.035em; line-height:1.08; }
.mach-section-head--center { justify-content:center; text-align:center; align-items:center; }
.mach-section-head--center > div { max-width:740px; }
.mach-section-head--center p:last-child { color:var(--mach-muted); font-size:17px; }
.mach-category-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); border-top:1px solid var(--mach-line); border-left:1px solid var(--mach-line); }
.mach-category-card { position:relative; min-width:0; min-height:370px; padding:18px 20px 22px; border-right:1px solid var(--mach-line); border-bottom:1px solid var(--mach-line); color:#181818!important; background:#fff; text-decoration:none!important; overflow:hidden; }
.mach-category-card:hover { z-index:2; transform:translateY(-5px); box-shadow:0 24px 48px rgba(0,0,0,.1); border-color:#deded9; }
.mach-category-card__num { position:absolute; top:18px; right:18px; color:#a9aaa6; font:700 11px/1 'Exo 2',sans-serif; letter-spacing:.08em; }
.mach-category-card__image { height:220px; display:grid; place-items:center; background:linear-gradient(145deg,#f7f7f5,#eef0ef); margin:-18px -20px 18px; }
.mach-category-card__image img { max-width:85%; max-height:195px; object-fit:contain; filter:drop-shadow(0 14px 12px rgba(0,0,0,.13)); transition:transform .35s var(--mach-ease); }
.mach-category-card:hover img { transform:scale(1.045) translateY(-4px); }
.mach-category-card h3 { margin:0 34px 5px 0; font-size:17px; line-height:1.15; }
.mach-category-card p { margin:0; color:var(--mach-muted); font-size:13px; line-height:1.35; }
.mach-card-arrow { position:absolute; right:18px; bottom:19px; font-size:20px; }
.mach-category-card--dark { background:#1a1b1b; color:#fff!important; }
.mach-category-card--dark p { color:#aeb0ae; }
.mach-category-card--dark .mach-category-card__num { color:#686b69; }
.mach-category-card__icon { height:220px; margin:-18px -20px 18px; display:grid; place-items:center; color:var(--mach-yellow); font-size:72px; background:radial-gradient(circle at center,#2b2e2d 0,#1a1b1b 66%); }

/* Configurator spotlight */
.mach-config-spotlight { background:#f1f1ee; }
.mach-config-spotlight__inner { display:grid; grid-template-columns:minmax(0,.82fr) minmax(550px,1.18fr); gap:64px; align-items:center; }
.mach-config-spotlight__copy h2 { margin:0 0 20px; font-size:clamp(36px,3.3vw,54px); letter-spacing:-.045em; line-height:1.02; }
.mach-config-spotlight__copy > p:not(.mach-kicker) { color:#565956; font-size:17px; line-height:1.55; max-width:600px; }
.mach-mini-steps { margin:28px 0 30px; padding:0; list-style:none; }
.mach-mini-steps li { display:flex; gap:14px; align-items:flex-start; padding:11px 0; }
.mach-mini-steps li > span { flex:0 0 30px; height:30px; display:grid; place-items:center; border-radius:50%; background:var(--mach-yellow); font-weight:800; font-size:12px; }
.mach-mini-steps b,.mach-mini-steps small { display:block; }
.mach-mini-steps b { font-size:15px; }
.mach-mini-steps small { margin-top:2px; color:#777; font-size:13px; }
.mach-config-demo { position:relative; min-height:440px; padding:22px; background:#fff; border:1px solid #d9d9d5; border-radius:18px; box-shadow:0 30px 70px rgba(0,0,0,.13); transform:perspective(1000px) rotateY(-2deg) rotateX(1deg); }
.mach-config-demo__top { display:flex; gap:6px; align-items:center; height:30px; color:#555; font-size:11px; border-bottom:1px solid #eee; }
.mach-config-demo__top span { width:7px; height:7px; border-radius:50%; background:#ddd; }
.mach-config-demo__top span:first-child { background:#f5c12f; }
.mach-config-demo__top b { margin-left:10px; }
.mach-config-demo__steps { display:flex; align-items:center; margin:20px 0; }
.mach-config-demo__steps i { width:26px; height:26px; display:grid; place-items:center; border-radius:50%; background:#eee; color:#858585; font-style:normal; font-size:11px; font-weight:700; }
.mach-config-demo__steps i.is-active { background:var(--mach-yellow); color:#111; }
.mach-config-demo__steps em { flex:1; height:1px; background:#e6e6e3; }
.mach-config-demo__title b,.mach-config-demo__title small { display:block; }
.mach-config-demo__title b { font-size:16px; }
.mach-config-demo__title small { color:#888; margin-top:3px; }
.mach-config-demo__cards { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:15px; }
.mach-config-demo__cards > div { position:relative; padding:10px; border:1px solid #e0e0dc; border-radius:10px; background:#fff; }
.mach-config-demo__cards > div.is-selected { border:2px solid #222; box-shadow:0 0 0 3px rgba(246,189,0,.28); }
.mach-config-demo__cards img { width:100%; height:110px; object-fit:contain; background:#f6f7f6; border-radius:7px; }
.mach-config-demo__cards b,.mach-config-demo__cards small { display:block; }
.mach-config-demo__cards b { margin-top:8px; font-size:12px; }
.mach-config-demo__cards small { color:#888; }
.mach-config-demo__footer { position:absolute; left:22px; right:22px; bottom:20px; display:flex; justify-content:space-between; align-items:center; gap:16px; padding-top:14px; border-top:1px solid #ededeb; font-size:12px; }
.mach-config-demo__footer button { border:0; border-radius:5px; background:var(--mach-yellow); color:#171717; font-weight:800; padding:10px 16px; }

/* How it works */
.mach-how-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.mach-how-grid article { position:relative; padding:24px; border:1px solid var(--mach-line); background:#fff; }
.mach-how-grid article > span { position:absolute; top:24px; right:24px; color:#a3a3a0; font-weight:700; font-size:11px; letter-spacing:.1em; }
.mach-how-grid h3 { margin:22px 0 6px; font-size:20px; }
.mach-how-grid p { margin:0; color:#737573; line-height:1.5; }
.mach-how-visual { position:relative; height:210px; background:#f4f4f1; overflow:hidden; }
.mach-how-visual--blocks i { position:absolute; width:150px; height:58px; left:50%; transform:translateX(-50%) skewY(-4deg); background:linear-gradient(#d6d6d1,#b6b7b3); border:1px solid #a8aaa6; box-shadow:8px 10px 0 #9c9f9b; }
.mach-how-visual--blocks i:nth-child(1){bottom:36px}.mach-how-visual--blocks i:nth-child(2){bottom:91px;width:130px}.mach-how-visual--blocks i:nth-child(3){bottom:146px;width:110px}
.mach-how-visual--glue:before { content:''; position:absolute; left:36px; right:36px; bottom:42px; height:70px; background:#c8c9c5; border:1px solid #b2b4b0; }
.mach-how-visual--glue i:first-child { position:absolute; width:140px; height:20px; border-radius:8px 2px 2px 8px; background:var(--mach-yellow); transform:rotate(-24deg); top:68px; left:50%; margin-left:-40px; }
.mach-how-visual--glue i:last-child { position:absolute; width:110px; height:4px; background:#e0a900; transform:rotate(-24deg); top:116px; left:50%; margin-left:-14px; }
.mach-how-visual--door i { position:absolute; width:120px; height:164px; left:50%; top:24px; transform:translateX(-50%); background:#d8d8d4; border:7px solid #b7b8b4; box-shadow:8px 9px 0 #a6a8a4; }
.mach-how-visual--door i:before { content:'HUP'; position:absolute; left:50%; top:34px; transform:translateX(-50%); background:#d6e51d; color:#111; font:800 13px/1 'Exo 2'; padding:7px 11px; }

/* Benefits */
.mach-benefits { padding:0 0 90px; }
.mach-benefits__grid { display:grid; grid-template-columns:repeat(4,1fr); background:#171818; color:#fff; }
.mach-benefits__grid > div { min-height:150px; padding:28px; border-right:1px solid rgba(255,255,255,.1); }
.mach-benefits__grid > div:last-child { border-right:0; }
.mach-benefits span,.mach-benefits b,.mach-benefits small { display:block; }
.mach-benefits span { color:var(--mach-yellow); font-size:11px; font-weight:800; letter-spacing:.12em; }
.mach-benefits b { margin-top:24px; font-size:16px; }
.mach-benefits small { margin-top:4px; color:#9ea19f; line-height:1.35; }

/* Native product cards / category pages */
body.mach-redesign .products-block, body.mach-redesign .products { gap:0; }
body.mach-redesign .products > div, body.mach-redesign .products-block > div { border-color:var(--mach-line)!important; background:#fff; transition:transform .25s var(--mach-ease),box-shadow .25s var(--mach-ease); }
body.mach-redesign .products > div:hover, body.mach-redesign .products-block > div:hover { z-index:3; transform:translateY(-4px); box-shadow:0 18px 40px rgba(0,0,0,.09); }
body.mach-redesign .products .name { color:#222; font-weight:700; line-height:1.25; }
body.mach-redesign .products .p-bottom > div, body.mach-redesign .products .p-bottom .prices { border-top-color:#efefed; }
body.mach-redesign .price-final { color:#171717!important; font-weight:800; }
body.mach-redesign .availability-amount, body.mach-redesign .availability-label { color:var(--mach-green); }
body.mach-redesign .btn.btn-conversion, body.mach-redesign .btn.add-to-cart-button, body.mach-redesign .add-to-cart .btn { background:var(--mach-yellow)!important; border-color:var(--mach-yellow)!important; color:#161616!important; border-radius:5px; font-weight:800; }
body.mach-redesign .btn.btn-conversion:hover, body.mach-redesign .btn.add-to-cart-button:hover { background:#ffd129!important; border-color:#ffd129!important; }
body.mach-redesign .breadcrumbs { color:#8d8d88; font-size:12px; }
body.mach-redesign .sidebar { background:#f5f5f2; }
body.mach-redesign .subcategories li a { border-radius:7px; }

/* Footer */
body.mach-redesign #footer { margin-top:0; background:#171818; color:#c2c4c2; }
body.mach-redesign #footer > .container { width:min(var(--mach-shell),calc(100% - 56px)); padding-inline:0; background:transparent!important; }
body.mach-redesign #footer h4, body.mach-redesign #footer h5 { color:#fff; font-weight:800; }
body.mach-redesign #footer a { color:#bbb!important; }
body.mach-redesign #footer a:hover { color:var(--mach-yellow)!important; }
body.mach-redesign .custom-footer, body.mach-redesign .footer-bottom, body.mach-redesign .footer-links-icons { border-color:rgba(255,255,255,.11)!important; }

/* Configurator page enhancer. Designed to work without changing its functional JS. */
body.mach-configurator-page #content-wrapper { background:#f5f5f2; }
body.mach-configurator-page #content { max-width:1180px; margin-inline:auto; }
body.mach-configurator-page #content h1 { margin:36px 0 8px; font-size:clamp(34px,4vw,52px); letter-spacing:-.035em; }
body.mach-configurator-page .mach-config-intro { margin:0 0 28px; color:#676966; font-size:17px; }
body.mach-configurator-page .mach-config-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:0 0 28px; }
body.mach-configurator-page .mach-config-step { display:flex; align-items:center; gap:10px; min-height:58px; padding:10px 14px; border:1px solid #dddeda; background:#fff; color:#777; border-radius:8px; }
body.mach-configurator-page .mach-config-step > i { width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#ededeb;font-style:normal;font-weight:800;font-size:12px; }
body.mach-configurator-page .mach-config-step b { font-size:13px; }
body.mach-configurator-page .mach-config-step.is-active { border-color:#1d1d1d;color:#171717;box-shadow:0 0 0 3px rgba(246,189,0,.22); }
body.mach-configurator-page .mach-config-step.is-active > i { background:var(--mach-yellow); }
body.mach-configurator-page .mach-config-step.is-done > i { background:#222;color:#fff; }
body.mach-configurator-page .mach-config-surface { background:#fff; border:1px solid #dededb; border-radius:16px; box-shadow:0 18px 50px rgba(0,0,0,.07); }
body.mach-configurator-page .mach-config-card { border:1px solid #dfe0dd!important; border-radius:14px!important; background:#fff!important; overflow:hidden; transition:transform .22s var(--mach-ease),box-shadow .22s var(--mach-ease),border-color .22s ease; }
body.mach-configurator-page .mach-config-card:hover { transform:translateY(-3px); border-color:#bfc0bc!important; box-shadow:0 14px 30px rgba(0,0,0,.08); }
body.mach-configurator-page .mach-config-card.is-selected, body.mach-configurator-page .mach-config-card[aria-checked='true'] { border-color:#222!important; box-shadow:0 0 0 3px rgba(246,189,0,.32),0 14px 30px rgba(0,0,0,.08); }
body.mach-configurator-page .mach-config-card img { background:#f5f6f5; border-radius:10px; }
body.mach-configurator-page .mach-config-selected-badge { position:absolute; top:12px; left:12px; z-index:3; display:inline-flex; align-items:center; gap:5px; padding:6px 9px; border-radius:999px; background:#171717; color:#fff; font-size:11px; font-weight:800; }

/* Responsive */
@media (max-width:1199px) {
  .mach-category-grid { grid-template-columns:repeat(3,1fr); }
  .mach-config-spotlight__inner { grid-template-columns:1fr 1.2fr; gap:36px; }
  .mach-hero__grid { grid-template-columns:1.05fr .95fr; }
  .mach-product-cutout--main { width:300px; }
  .mach-product-cutout--side { width:210px; }
}
@media (max-width:991px) {
  .mach-shell, body.mach-redesign #header > .container, body.mach-redesign #navigation .container, body.mach-redesign .top-navigation-bar .container, body.mach-redesign #footer > .container { width:min(100% - 36px,var(--mach-shell)); }
  .mach-hero { min-height:auto; }
  .mach-hero__grid { min-height:auto; grid-template-columns:1fr; gap:0; }
  .mach-hero__content { padding:58px 0 26px; }
  .mach-hero__visual { height:430px; max-width:620px; width:100%; margin-inline:auto; }
  .mach-proof { margin-top:38px; }
  .mach-config-spotlight__inner { grid-template-columns:1fr; }
  .mach-config-demo { max-width:720px; width:100%; margin:auto; transform:none; }
  .mach-how-grid { grid-template-columns:1fr 1fr; }
  .mach-benefits__grid { grid-template-columns:1fr 1fr; }
  body.mach-redesign .navigation-in > ul > li > a { padding-inline:15px; }
}
@media (max-width:767px) {
  .mach-shell, body.mach-redesign #header > .container, body.mach-redesign #navigation .container, body.mach-redesign .top-navigation-bar .container, body.mach-redesign #footer > .container { width:min(100% - 28px,var(--mach-shell)); }
  body.mach-redesign .top-navigation-bar { background:#fff!important; border-bottom:1px solid var(--mach-line)!important; }
  body.mach-redesign #navigation { border:0; }
  body.mach-redesign #navigation .container { width:100%; }
  body.mach-redesign .navigation-in > ul { display:block; }
  body.mach-redesign .navigation-in > ul > li > a { min-height:50px; border-bottom:1px solid #eee; }
  .mach-home { margin-left:0; margin-right:0; }
  .mach-hero h1 { font-size:42px; }
  .mach-hero__lead { font-size:16px; }
  .mach-hero__actions { flex-direction:column; align-items:stretch; }
  .mach-btn { width:100%; }
  .mach-proof { grid-template-columns:1fr; }
  .mach-proof > div { padding:14px 0!important; border-left:0!important; border-bottom:1px solid rgba(255,255,255,.1); }
  .mach-hero__visual { height:360px; }
  .mach-product-cutout--main { width:250px; height:320px; right:0; }
  .mach-product-cutout--side { width:160px; height:230px; }
  .mach-hero__label { width:180px; top:22px; }
  .mach-section { padding:64px 0; }
  .mach-section-head { align-items:flex-start; flex-direction:column; }
  .mach-category-grid { grid-template-columns:1fr 1fr; }
  .mach-category-card { min-height:330px; }
  .mach-category-card__image,.mach-category-card__icon { height:190px; }
  .mach-category-card__image img { max-height:170px; }
  .mach-config-spotlight__inner { gap:36px; }
  .mach-config-demo { min-height:390px; padding:14px; border-radius:12px; }
  .mach-config-demo__cards { gap:6px; }
  .mach-config-demo__cards img { height:85px; }
  .mach-config-demo__footer { left:14px; right:14px; bottom:14px; }
  .mach-config-demo__footer span { display:none; }
  .mach-how-grid { grid-template-columns:1fr; }
  .mach-benefits__grid { grid-template-columns:1fr; }
  .mach-benefits__grid > div { min-height:116px; border-right:0; border-bottom:1px solid rgba(255,255,255,.1); }
  body.mach-configurator-page .mach-config-steps { grid-template-columns:1fr 1fr; }
}
@media (max-width:479px) {
  .mach-hero h1 { font-size:36px; }
  .mach-category-grid { grid-template-columns:1fr; }
  .mach-category-card { min-height:310px; }
  .mach-config-demo__cards > div:nth-child(3) { display:none; }
  .mach-config-demo__cards { grid-template-columns:1fr 1fr; }
  body.mach-configurator-page .mach-config-steps { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  body.mach-redesign *, body.mach-redesign *::before, body.mach-redesign *::after { transition-duration:.01ms!important; animation-duration:.01ms!important; animation-iteration-count:1!important; }
}


/* =========================================================
   MACH DESKTOP NAV + MEGA MENU v1.4
   We stop fighting Classic's desktop navigation geometry.
   The native #navigation remains the data/mobile source, while
   desktop receives a dedicated, predictable navigation layer.
   ========================================================= */
.mach-desktop-nav { display:none; }

@media (min-width:992px) {
  body.mach-redesign #navigation { display:none!important; }

  .mach-desktop-nav {
    display:block;
    position:relative;
    z-index:120;
    background:#fff;
    border-top:1px solid #f0f0ed;
    border-bottom:1px solid #e5e5e2;
  }
  .mach-desktop-nav__inner {
    width:min(var(--mach-shell),calc(100% - 56px));
    min-height:58px;
    margin:0 auto;
    display:flex;
    align-items:stretch;
  }
  .mach-desktop-nav__cta,
  .mach-desktop-nav__link,
  .mach-desktop-nav__products {
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 21px;
    border:0;
    border-right:1px solid #efefec;
    background:#fff;
    color:#202020!important;
    font:700 13px/1 'Exo 2','Source Sans 3',sans-serif;
    text-decoration:none!important;
    white-space:nowrap;
    cursor:pointer;
  }
  .mach-desktop-nav__cta {
    padding-inline:26px;
    background:var(--mach-yellow)!important;
    color:#161616!important;
    gap:8px;
  }
  .mach-desktop-nav__link:hover,
  .mach-desktop-nav__products:hover,
  .mach-desktop-nav__products[aria-expanded='true'] {
    background:#f5f5f2!important;
    color:#111!important;
  }
  .mach-desktop-nav__products { gap:9px; }
  .mach-desktop-nav__products:after {
    content:'';
    width:7px;
    height:7px;
    border-right:1.5px solid currentColor;
    border-bottom:1.5px solid currentColor;
    transform:rotate(45deg) translateY(-2px);
    transition:transform .2s ease;
  }
  .mach-desktop-nav__products[aria-expanded='true']:after { transform:rotate(225deg) translate(-2px,-2px); }
  .mach-desktop-nav__spacer { flex:1 1 auto; border-right:1px solid #efefec; }

  .mach-mega {
    position:absolute;
    left:50%;
    top:calc(100% + 1px);
    width:min(1360px,calc(100vw - 56px));
    transform:translate(-50%,-8px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    background:#fff;
    border:1px solid #e0e0dc;
    border-radius:0 0 18px 18px;
    box-shadow:0 28px 70px rgba(0,0,0,.16);
    transition:opacity .18s ease, transform .24s var(--mach-ease), visibility .18s ease;
    overflow:hidden;
  }
  .mach-desktop-nav.is-mega-open .mach-mega {
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translate(-50%,0);
  }
  .mach-mega__body {
    display:grid;
    grid-template-columns:1fr 1fr 1fr 330px;
    min-height:320px;
  }
  .mach-mega__col { padding:30px 28px 28px; border-right:1px solid #efefec; }
  .mach-mega__eyebrow {
    display:block;
    margin:0 0 18px;
    color:#9b7200;
    font:800 11px/1.2 'Exo 2',sans-serif;
    letter-spacing:.11em;
    text-transform:uppercase;
  }
  .mach-mega__item {
    display:grid;
    grid-template-columns:56px 1fr 18px;
    gap:14px;
    align-items:center;
    margin:0 -10px 8px;
    padding:11px 10px;
    border-radius:10px;
    color:#202020!important;
    text-decoration:none!important;
  }
  .mach-mega__item:hover { background:#f5f5f2; transform:translateX(2px); }
  .mach-mega__thumb {
    width:56px;
    height:50px;
    display:grid;
    place-items:center;
    border-radius:8px;
    background:#f4f4f1;
    overflow:hidden;
  }
  .mach-mega__thumb img { max-width:50px; max-height:45px; object-fit:contain; }
  .mach-mega__item b { display:block; margin-bottom:3px; font:700 14px/1.2 'Exo 2',sans-serif; }
  .mach-mega__item small { display:block; color:#777; font-size:12px; line-height:1.3; }
  .mach-mega__arrow { color:#b3b3ae; font-size:18px; }
  .mach-mega__simple {
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:43px;
    margin:0 -10px 5px;
    padding:9px 10px;
    border-radius:9px;
    color:#2a2a2a!important;
    font-weight:650;
    text-decoration:none!important;
  }
  .mach-mega__simple:hover { background:#f5f5f2; color:#111!important; transform:translateX(2px); }
  .mach-mega__simple span:last-child { color:#b4b4af; }

  .mach-mega__feature {
    position:relative;
    padding:30px;
    background:#171818;
    color:#fff;
    overflow:hidden;
  }
  .mach-mega__feature:after {
    content:'';
    position:absolute;
    width:260px;
    height:260px;
    right:-105px;
    bottom:-125px;
    border:45px solid rgba(246,189,0,.20);
    border-radius:50%;
  }
  .mach-mega__feature .mach-mega__eyebrow { color:var(--mach-yellow); }
  .mach-mega__feature h3 { position:relative; z-index:1; margin:0 0 10px; color:#fff; font-size:27px; letter-spacing:-.02em; }
  .mach-mega__feature p { position:relative; z-index:1; margin:0 0 22px; color:#bfc1bf; font-size:14px; line-height:1.5; }
  .mach-mega__feature-list { position:relative; z-index:1; margin:0 0 24px; padding:0; list-style:none; }
  .mach-mega__feature-list li { margin:8px 0; color:#e6e7e5; font-size:13px; }
  .mach-mega__feature-list li:before { content:'✓'; color:var(--mach-yellow); font-weight:900; margin-right:8px; }
  .mach-mega__feature-btn {
    position:relative;
    z-index:1;
    display:inline-flex;
    align-items:center;
    gap:12px;
    min-height:46px;
    padding:0 18px;
    border-radius:6px;
    background:var(--mach-yellow);
    color:#151515!important;
    font:800 13px/1 'Exo 2',sans-serif;
    text-decoration:none!important;
  }
  .mach-mega__feature-btn:hover { background:#ffd129; transform:translateY(-2px); }

  /* Homepage no longer needs a synthetic 54px menu offset. */
  body.mach-home-ready #content-wrapper { padding-top:0!important; }

  /* Category/content pages: restore normal document flow below our custom nav. */
  body.mach-redesign #content-wrapper { clear:both; }
  body.mach-redesign .breadcrumbs { position:relative; z-index:1; }
}

@media (min-width:992px) and (max-width:1199px) {
  .mach-desktop-nav__inner { width:min(100% - 32px,var(--mach-shell)); }
  .mach-desktop-nav__cta,.mach-desktop-nav__link,.mach-desktop-nav__products { padding-inline:14px; font-size:12px; }
  .mach-mega { width:calc(100vw - 32px); }
  .mach-mega__body { grid-template-columns:1fr 1fr 1fr 280px; }
  .mach-mega__col,.mach-mega__feature { padding:24px 20px; }
}

@media (max-width:991px) {
  .mach-desktop-nav { display:none!important; }
  body.mach-redesign #navigation { display:block; }
}

/* =========================================================
   MACH DESKTOP NAV v1.4 — Products first + Configurator promo mega
   ========================================================= */
@media (min-width:992px) {
  .mach-desktop-nav__products--primary,
  .mach-desktop-nav__config {
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 27px;
    border:0;
    border-right:1px solid #dfdfdb;
    font:800 13px/1 'Exo 2','Source Sans 3',sans-serif;
    text-decoration:none!important;
    white-space:nowrap;
    cursor:pointer;
  }
  .mach-desktop-nav__products--primary {
    order:0;
    background:var(--mach-yellow)!important;
    color:#151515!important;
  }
  .mach-desktop-nav__products--primary:hover,
  .mach-desktop-nav__products--primary[aria-expanded='true'] {
    background:#ffd129!important;
    color:#111!important;
  }
  .mach-desktop-nav__config {
    order:1;
    gap:9px;
    background:#171818!important;
    color:#fff!important;
    border-right-color:#2c2d2c;
  }
  .mach-desktop-nav__config:hover,
  .mach-desktop-nav__config[aria-expanded='true'] {
    background:#272827!important;
    color:var(--mach-yellow)!important;
  }
  .mach-desktop-nav__config span { color:var(--mach-yellow); font-size:14px; }
  .mach-desktop-nav__link {
    background:#f5f5f2!important;
    color:#333!important;
  }
  .mach-desktop-nav__link:hover { background:#eaeae6!important; color:#111!important; }

  /* Both mega panels occupy the same anchored layer and only the active one is shown. */
  .mach-mega[data-mach-mega] { display:block; }
  .mach-desktop-nav.is-mega-open .mach-mega[data-mach-mega] {
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translate(-50%,-8px);
  }
  .mach-desktop-nav.is-products-open .mach-mega--products,
  .mach-desktop-nav.is-config-open .mach-mega--config {
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translate(-50%,0);
  }

  .mach-mega--config {
    background:#171818;
    border-color:#282928;
    border-radius:0 0 18px 18px;
  }
  .mach-config-mega {
    min-height:350px;
    display:grid;
    grid-template-columns:minmax(0, .9fr) minmax(520px, 1.1fr);
    overflow:hidden;
  }
  .mach-config-mega__copy {
    position:relative;
    padding:38px 42px 40px;
    background:#171818;
    color:#fff;
    overflow:hidden;
  }
  .mach-config-mega__copy:after {
    content:'';
    position:absolute;
    width:300px;
    height:300px;
    left:-170px;
    bottom:-190px;
    border:46px solid rgba(246,189,0,.15);
    border-radius:50%;
  }
  .mach-config-mega__copy .mach-mega__eyebrow { color:var(--mach-yellow); margin-bottom:14px; }
  .mach-config-mega__copy h3 {
    position:relative;
    z-index:1;
    margin:0 0 14px;
    max-width:540px;
    color:#fff;
    font-size:34px;
    line-height:1.05;
    letter-spacing:-.035em;
  }
  .mach-config-mega__copy p {
    position:relative;
    z-index:1;
    max-width:570px;
    margin:0 0 24px;
    color:#bfc1bf;
    font-size:15px;
    line-height:1.55;
  }
  .mach-config-mega__steps {
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    margin:0 0 28px;
  }
  .mach-config-mega__steps span {
    min-height:60px;
    display:flex;
    align-items:center;
    gap:9px;
    padding:10px 11px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:8px;
    background:rgba(255,255,255,.035);
  }
  .mach-config-mega__steps i {
    width:26px;
    height:26px;
    flex:0 0 26px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--mach-yellow);
    color:#171717;
    font-style:normal;
    font-size:11px;
    font-weight:900;
  }
  .mach-config-mega__steps b { color:#eceeec; font-size:11px; line-height:1.2; }
  .mach-config-mega__btn {
    position:relative;
    z-index:1;
    display:inline-flex;
    min-height:48px;
    align-items:center;
    gap:14px;
    padding:0 20px;
    border-radius:6px;
    background:var(--mach-yellow);
    color:#151515!important;
    font:800 13px/1 'Exo 2',sans-serif;
    text-decoration:none!important;
  }
  .mach-config-mega__btn:hover { background:#ffd129; transform:translateY(-2px); }

  .mach-config-mega__visual {
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:32px 38px;
    background:linear-gradient(135deg,#efefeb 0%,#f9f9f7 52%,#e3e3de 100%);
    overflow:hidden;
  }
  .mach-config-mega__visual:before {
    content:'';
    position:absolute;
    width:320px;
    height:320px;
    right:-130px;
    top:-170px;
    border:44px solid rgba(246,189,0,.24);
    border-radius:50%;
  }
  .mach-config-mega__window {
    position:relative;
    z-index:1;
    width:min(650px,100%);
    padding:18px;
    border:1px solid #d5d5d1;
    border-radius:13px;
    background:#fff;
    box-shadow:0 24px 55px rgba(0,0,0,.16);
    transform:rotate(-1deg);
  }
  .mach-config-mega__window-top {
    display:flex;
    align-items:center;
    gap:5px;
    padding-bottom:13px;
    border-bottom:1px solid #ecece9;
  }
  .mach-config-mega__window-top > span { width:7px;height:7px;border-radius:50%;background:#d5d5d1; }
  .mach-config-mega__window-top > b { margin-left:8px; color:#262626; font-size:11px; }
  .mach-config-mega__progress { display:flex;align-items:center;margin:15px 0 16px; }
  .mach-config-mega__progress i { width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#eee;color:#888;font-style:normal;font-size:10px;font-weight:800; }
  .mach-config-mega__progress i.is-active { background:#171818;color:var(--mach-yellow); }
  .mach-config-mega__progress em { flex:1;height:1px;background:#deded9; }
  .mach-config-mega__window > strong { display:block;margin-bottom:12px;color:#222;font-size:13px; }
  .mach-config-mega__cards { display:grid;grid-template-columns:repeat(3,1fr);gap:10px; }
  .mach-config-mega__cards > span { position:relative;display:flex;flex-direction:column;align-items:center;min-height:130px;padding:10px;border:1px solid #e1e1dd;border-radius:9px;background:#f7f7f4; }
  .mach-config-mega__cards > span.is-selected { border-color:#222;box-shadow:0 0 0 2px rgba(246,189,0,.28); }
  .mach-config-mega__cards img { width:100%;height:87px;object-fit:contain; }
  .mach-config-mega__cards b { margin-top:5px;color:#222;font-size:11px; }
}

@media (min-width:992px) and (max-width:1199px) {
  .mach-desktop-nav__products--primary,.mach-desktop-nav__config { padding-inline:18px; font-size:12px; }
  .mach-config-mega { grid-template-columns:1fr 1fr; }
  .mach-config-mega__copy { padding:30px 28px; }
  .mach-config-mega__copy h3 { font-size:30px; }
  .mach-config-mega__steps { grid-template-columns:1fr 1fr; }
  .mach-config-mega__visual { padding:26px; }
}

/* =========================================================
   MACH DESKTOP NAV v1.5 — ordering + reliable mega-menu state
   ========================================================= */
@media (min-width:992px) {
  /* Keep Configurator physically right after Products. */
  .mach-desktop-nav__products--primary,
  .mach-desktop-nav__config,
  .mach-desktop-nav__link,
  .mach-desktop-nav__spacer {
    order:0 !important;
  }

  /* v1.4's generic hidden state had higher specificity than the active state.
     These selectors deliberately win so the requested panel can actually open. */
  .mach-desktop-nav.is-mega-open.is-products-open .mach-mega[data-mach-mega="products"],
  .mach-desktop-nav.is-products-open .mach-mega[data-mach-mega="products"] {
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translate(-50%,0) !important;
  }

  .mach-desktop-nav.is-mega-open.is-config-open .mach-mega[data-mach-mega="config"],
  .mach-desktop-nav.is-config-open .mach-mega[data-mach-mega="config"] {
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translate(-50%,0) !important;
  }

  .mach-desktop-nav.is-products-open .mach-mega[data-mach-mega="config"],
  .mach-desktop-nav.is-config-open .mach-mega[data-mach-mega="products"] {
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translate(-50%,-8px) !important;
  }

  /* Hover fallback for modern browsers even if a third-party script interrupts the click handler. */
  .mach-desktop-nav:has(.mach-desktop-nav__products:hover) .mach-mega[data-mach-mega="products"],
  .mach-desktop-nav:has(.mach-mega--products:hover) .mach-mega[data-mach-mega="products"] {
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translate(-50%,0) !important;
  }

  .mach-desktop-nav:has(.mach-desktop-nav__config:hover) .mach-mega[data-mach-mega="config"],
  .mach-desktop-nav:has(.mach-mega--config:hover) .mach-mega[data-mach-mega="config"] {
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translate(-50%,0) !important;
  }
}


/* =========================================================
   v1.6 — mega menu separation from dark homepage hero
   ========================================================= */
@media (min-width: 992px) {
  .mach-mega {
    z-index:2200;
  }

  /* Product mega: crisp white floating panel. */
  .mach-mega--products {
    border-top:3px solid var(--mach-yellow);
    box-shadow:0 26px 70px rgba(0,0,0,.24), 0 6px 18px rgba(0,0,0,.12);
  }

  /* Configurator mega remains dark, but gets its own distinct surface. */
  .mach-mega--config {
    background:linear-gradient(135deg,#0b0c0d 0%,#121415 56%,#1c1f20 100%)!important;
    border:1px solid #363837;
    border-top:3px solid var(--mach-yellow);
    box-shadow:0 30px 80px rgba(0,0,0,.48), 0 8px 24px rgba(0,0,0,.26);
  }

  .mach-mega--config:after {
    content:'';
    position:absolute;
    left:20px;
    right:20px;
    bottom:-1px;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(246,189,0,.72),transparent);
    pointer-events:none;
  }

  .mach-config-mega__copy {
    background:linear-gradient(135deg,#101112 0%,#171919 100%)!important;
  }

  .mach-config-mega__visual {
    background:linear-gradient(145deg,#f7f7f4 0%,#ecece7 100%)!important;
  }

  /* A thin light separator keeps the floating mega visually detached from the hero
     without creating a physical hover gap. */
  .mach-desktop-nav:before {
    content:'';
    position:absolute;
    left:0;
    right:0;
    bottom:-1px;
    height:1px;
    background:rgba(255,255,255,.92);
    z-index:2201;
    pointer-events:none;
  }
}

/* =========================================================
   v1.7 — premium edge / glow for dark configurator mega menu
   The homepage hero stays dark. Separation is created only by
   a contemporary luminous edge and layered floating shadow.
   ========================================================= */
@media (min-width: 992px) {
  .mach-mega--config {
    background:#101112 !important;
    border:1px solid rgba(255,255,255,.20) !important;
    border-top:2px solid var(--mach-yellow) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,.045),
      0 18px 54px rgba(0,0,0,.58),
      0 4px 18px rgba(0,0,0,.34),
      0 0 42px rgba(255,255,255,.10) !important;
    isolation:isolate;
  }

  /* Fine luminous edge used on current dark UI / glass surfaces. */
  .mach-mega--config::before {
    content:'';
    position:absolute;
    inset:0;
    border-radius:inherit;
    pointer-events:none;
    z-index:3;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.18),
      inset 1px 0 0 rgba(255,255,255,.07),
      inset -1px 0 0 rgba(255,255,255,.07),
      inset 0 -1px 0 rgba(255,255,255,.11);
  }

  /* Soft light cast below the floating panel so it remains readable
     even over the black homepage hero. */
  .mach-mega--config::after {
    content:'';
    position:absolute;
    left:4%;
    right:4%;
    bottom:-14px;
    height:24px;
    background:radial-gradient(ellipse at center, rgba(255,255,255,.16) 0%, rgba(255,255,255,.055) 38%, transparent 72%);
    filter:blur(10px);
    opacity:.9;
    pointer-events:none;
    z-index:-1;
  }

  .mach-config-mega__copy {
    background:#111314 !important;
  }

  .mach-config-mega__visual {
    border-left:1px solid rgba(255,255,255,.12);
  }

  /* Product mega keeps the same floating language but more restrained. */
  .mach-mega--products {
    border:1px solid rgba(16,18,20,.12);
    border-top:2px solid var(--mach-yellow);
    box-shadow:0 22px 58px rgba(0,0,0,.24), 0 4px 14px rgba(0,0,0,.10);
  }
}

/* =========================================================
   v1.8 — homepage refinement, cart, real-product hero,
   editorial blog and custom footer
   ========================================================= */

/* Cart must float ABOVE our desktop navigation and the dark hero. */
body.mach-redesign #header { position:relative; z-index:3100; overflow:visible!important; }
body.mach-redesign .mach-cart-trigger,
body.mach-redesign #header .cart-count,
body.mach-redesign #header [data-target="cart"] {
  outline:none!important;
  box-shadow:none!important;
  border-color:transparent!important;
}
body.mach-redesign .mach-cart-trigger:focus,
body.mach-redesign .mach-cart-trigger:focus-visible,
body.mach-redesign #header .cart-count:focus,
body.mach-redesign #header .cart-count:focus-visible {
  outline:none!important;
  box-shadow:none!important;
}
body.mach-redesign .mach-cart-panel,
body.mach-redesign .cart-widget,
body.mach-redesign .popup-widget.cart-widget {
  z-index:5200!important;
  max-height:min(620px,calc(100vh - 125px));
  overflow:auto;
  border:1px solid #deded9!important;
  border-radius:0 0 12px 12px!important;
  box-shadow:0 26px 70px rgba(0,0,0,.24)!important;
  background:#fff!important;
}
body.mach-redesign .cart-widget-button,
body.mach-redesign .cart-widget .btn.btn-conversion {
  background:var(--mach-yellow)!important;
  color:#111!important;
  border-color:var(--mach-yellow)!important;
}
@media (min-width:992px) {
  body.mach-redesign .mach-desktop-nav { z-index:1200; }
  body.mach-redesign .popup-widget.cart-widget,
  body.mach-redesign .cart-widget { position:absolute!important; }
}

/* Mega menu content refinement */
@media (min-width:992px) {
  .mach-mega__eyebrow { max-width:100%; line-height:1.25; }
  .mach-mega__all { margin-top:14px; border-top:1px solid #ecece7; padding-top:15px!important; }
}

/* Hero — real product photography, no floating technical label. */
.mach-hero { background:linear-gradient(112deg,#0b0d0e 0%,#121516 50%,#202425 100%); }
.mach-hero:before {
  opacity:.23;
  background-image:
    radial-gradient(circle at 74% 50%,rgba(246,189,0,.12),transparent 27%),
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);
  background-size:auto,64px 64px,64px 64px;
  mask-image:none;
}
.mach-hero:after { width:720px;height:720px;right:-270px;top:-270px;border-width:92px;border-color:rgba(246,189,0,.14); }
.mach-hero__visual { height:560px; }
.mach-hero__stage {
  position:absolute;
  left:12%; right:0; bottom:14px; height:145px;
  border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(0,0,0,.72) 0%,rgba(0,0,0,.28) 44%,transparent 72%);
  filter:blur(9px);
}
.mach-product-cutout { filter:drop-shadow(0 32px 34px rgba(0,0,0,.55)); }
.mach-product-cutout img { background:transparent!important; }
.mach-product-cutout--main { width:365px;height:470px;right:4%;bottom:28px;z-index:3; transform:rotate(-1.3deg); }
.mach-product-cutout--side { width:225px;height:325px;left:2%;bottom:22px;z-index:4; transform:rotate(2deg); }
.mach-hero__halo { width:500px;height:500px;left:57%;top:55%;background:radial-gradient(circle,rgba(246,189,0,.23),rgba(246,189,0,.055) 38%,transparent 68%); }
.mach-hero__stamp {
  position:absolute; left:3%; top:62px; z-index:5;
  display:flex; flex-direction:column; gap:5px;
  padding:13px 15px;
  border-left:2px solid var(--mach-yellow);
  background:rgba(12,13,14,.45);
  backdrop-filter:blur(8px);
}
.mach-hero__stamp span { color:var(--mach-yellow);font:800 10px/1.2 'Exo 2',sans-serif;letter-spacing:.12em; }
.mach-hero__stamp b { color:#fff;font-size:12px; }

/* How it works — photography instead of diagram-like illustrations. */
.mach-how { background:#f4f4f1; }
.mach-how .mach-section-head { align-items:end; }
.mach-how .mach-section-head > div { max-width:770px; }
.mach-how .mach-section-head > div > p:last-child { color:#666b68;font-size:17px;line-height:1.55; }
.mach-how-grid--photo { display:grid;grid-template-columns:repeat(3,1fr);gap:18px; }
.mach-how-grid--photo article {
  position:relative;
  min-width:0;
  padding:0 0 24px;
  background:#fff;
  border:1px solid #deded9;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.035);
}
.mach-how-grid--photo article > span {
  position:absolute;left:18px;top:18px;z-index:4;
  width:38px;height:38px;display:grid;place-items:center;
  background:var(--mach-yellow);color:#151515;border-radius:50%;
  font:800 11px/1 'Exo 2',sans-serif;
  box-shadow:0 8px 20px rgba(0,0,0,.14);
}
.mach-how-photo { height:285px;background:#e9e9e5;overflow:hidden;position:relative; }
.mach-how-photo:after { content:'';position:absolute;inset:auto 0 0;height:45%;background:linear-gradient(transparent,rgba(0,0,0,.18));pointer-events:none; }
.mach-how-photo img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .55s var(--mach-ease); }
.mach-how-grid--photo article:hover .mach-how-photo img { transform:scale(1.035); }
.mach-how-photo--detail img,.mach-how-photo--finished img { object-fit:contain;background:linear-gradient(145deg,#e4e4df,#f6f6f2);padding:24px; }
.mach-how-photo__placeholder { height:100%;display:grid;place-items:center;color:#898b87;font-weight:700; }
.mach-how-grid--photo h3 { margin:22px 24px 7px;font-size:22px;letter-spacing:-.02em; }
.mach-how-grid--photo p { margin:0 24px;color:#6d706d;line-height:1.55;font-size:14px; }

/* Native homepage editorial feed: keep only the two latest cards and restyle it. */
body.mach-home-ready .mach-home-blog {
  position:relative;
  width:min(var(--mach-shell),calc(100% - 56px));
  margin:0 auto!important;
  padding:88px 0 96px!important;
  overflow:visible!important;
}
body.mach-home-ready .mach-home-blog:before {
  content:'NOVINKY A REALIZACE';
  display:block;
  margin:0 0 9px;
  color:#997000;
  font:800 11px/1.2 'Exo 2',sans-serif;
  letter-spacing:.13em;
}
body.mach-home-ready .mach-home-blog h2,
body.mach-home-ready .mach-home-blog h3:first-of-type {
  margin:0 0 34px!important;
  text-align:left!important;
  color:#171818!important;
  font:700 clamp(34px,3vw,47px)/1.05 'Exo 2',sans-serif!important;
  letter-spacing:-.035em;
}
body.mach-home-ready .mach-blog-card {
  display:block!important;
  float:left!important;
  width:calc(50% - 10px)!important;
  margin:0 20px 0 0!important;
  padding:0 0 24px!important;
  background:#f7f7f4!important;
  border:1px solid #e0e0dc!important;
  overflow:hidden;
  min-height:100%;
}
body.mach-home-ready .mach-blog-card:nth-of-type(even) { margin-right:0!important; }
body.mach-home-ready .mach-blog-card--hidden { display:none!important; }
body.mach-home-ready .mach-blog-card img {
  width:100%!important;height:270px!important;object-fit:cover!important;margin:0!important;
  filter:saturate(.92) contrast(1.03);
}
body.mach-home-ready .mach-blog-card a { text-decoration:none!important; }
body.mach-home-ready .mach-blog-card h3,
body.mach-home-ready .mach-blog-card h4,
body.mach-home-ready .mach-blog-card .news-item-widget-title,
body.mach-home-ready .mach-blog-card a[href] + p {
  margin-left:24px!important;margin-right:24px!important;
}
body.mach-home-ready .mach-blog-card h3,
body.mach-home-ready .mach-blog-card h4,
body.mach-home-ready .mach-blog-card .news-item-widget-title {
  color:#1d1d1d!important;font-size:22px!important;line-height:1.22!important;font-weight:700!important;
}
body.mach-home-ready .mach-blog-card p {
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
  color:#696c69!important;line-height:1.55!important;
}
body.mach-home-ready .mach-blog-more {
  clear:both;
  display:inline-flex;align-items:center;gap:14px;
  margin-top:28px;padding:15px 21px;
  border:1px solid #252525;color:#171717!important;
  font-weight:800;text-decoration:none!important;
}
body.mach-home-ready .mach-blog-more:hover { background:#171818;color:#fff!important; }
body.mach-home-ready .mach-hide-native { display:none!important; }

/* Custom footer. Native Classic footer stays in the DOM but is visually replaced. */
body.mach-redesign #footer.mach-native-footer-hidden { display:none!important; }
.mach-footer { margin:0;background:#101112;color:#c6c8c6; }
.mach-footer__cta { background:var(--mach-yellow);color:#151515; }
.mach-footer__cta-inner { min-height:210px;display:flex;align-items:center;justify-content:space-between;gap:48px;padding:34px 0; }
.mach-footer__cta span { display:block;margin-bottom:7px;font:800 11px/1.2 'Exo 2',sans-serif;letter-spacing:.12em;text-transform:uppercase; }
.mach-footer__cta h2 { max-width:830px;margin:0;font:700 clamp(28px,2.6vw,42px)/1.08 'Exo 2',sans-serif;letter-spacing:-.035em;color:#151515; }
.mach-footer__cta-actions { flex:0 0 auto;display:flex;gap:9px; }
.mach-footer__cta-actions a { display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 20px;background:#151515;color:#fff!important;text-decoration:none!important;font-weight:800; }
.mach-footer__cta-actions a.is-ghost { background:transparent;color:#151515!important;border:1px solid rgba(0,0,0,.42); }
.mach-footer__main { border-bottom:1px solid rgba(255,255,255,.1); }
.mach-footer__grid { display:grid;grid-template-columns:1.55fr .85fr .9fr .85fr;gap:52px;padding:64px 0 56px; }
.mach-footer__grid h3 { margin:0 0 18px;color:#fff;font-size:14px;text-transform:uppercase;letter-spacing:.08em; }
.mach-footer__grid > div:not(.mach-footer__brand) > a { display:block;margin:0 0 11px;color:#b9bcb9!important;text-decoration:none!important; }
.mach-footer__grid > div:not(.mach-footer__brand) > a:hover { color:var(--mach-yellow)!important;transform:translateX(2px); }
.mach-footer__brand strong { display:block;color:#fff;font:800 23px/.95 'Exo 2',sans-serif;letter-spacing:-.025em; }
.mach-footer__brand strong em { color:var(--mach-yellow);font-size:35px;font-style:normal; }
.mach-footer__brand p { max-width:400px;margin:20px 0;color:#929692;line-height:1.6; }
.mach-footer__badges { display:flex;gap:8px;flex-wrap:wrap; }
.mach-footer__badges span { padding:7px 10px;border:1px solid rgba(255,255,255,.16);color:#d7d8d6;font-size:11px;font-weight:700; }
.mach-footer__contact p { margin:4px 0 20px;color:#8e928f; }
.mach-footer__contact small { color:#777c78;letter-spacing:.06em; }
.mach-footer__bottom .mach-shell { min-height:58px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#767b77;font-size:12px; }

@media (max-width:991px) {
  .mach-product-cutout--main { width:330px;height:420px; }
  .mach-product-cutout--side { width:190px;height:280px; }
  .mach-how-grid--photo { grid-template-columns:1fr; }
  .mach-how-photo { height:340px; }
  .mach-footer__cta-inner { align-items:flex-start;flex-direction:column;gap:24px; }
  .mach-footer__grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:767px) {
  body.mach-home-ready .mach-home-blog { width:min(100% - 28px,var(--mach-shell));padding:62px 0 68px!important; }
  body.mach-home-ready .mach-blog-card { float:none!important;width:100%!important;margin:0 0 16px!important; }
  body.mach-home-ready .mach-blog-card img { height:220px!important; }
  .mach-hero__stamp { top:25px;left:0; }
  .mach-product-cutout--main { width:235px;height:315px;right:0; }
  .mach-product-cutout--side { width:145px;height:210px;left:0; }
  .mach-how-photo { height:260px; }
  .mach-footer__cta-actions { width:100%;flex-direction:column; }
  .mach-footer__cta-actions a { width:100%; }
  .mach-footer__grid { grid-template-columns:1fr;gap:34px;padding:48px 0; }
  .mach-footer__bottom .mach-shell { align-items:flex-start;flex-direction:column;justify-content:center;padding:16px 0; }
}
body.mach-home-ready .mach-home-blog.row { display:block!important; margin-left:auto!important; margin-right:auto!important; }
body.mach-home-ready .mach-home-blog::after { content:''; display:block; clear:both; }

/* =========================================================
   v1.9 — HERO ONLY
   Industrial showroom hero inspired by the approved concept.
   No other page sections are changed by this block.
   ========================================================= */

.mach-hero--showcase {
  --hero-yellow:#f6bd00;
  min-height:690px;
  background:
    radial-gradient(circle at 59% 42%,rgba(246,189,0,.08),transparent 24%),
    linear-gradient(90deg,#090b0c 0%,#0e1112 44%,#181b1c 100%);
  isolation:isolate;
  overflow:hidden;
  border-bottom:1px solid rgba(246,189,0,.16);
}
.mach-hero--showcase:before {
  opacity:.32;
  background:
    linear-gradient(90deg,transparent 0 25%,rgba(255,255,255,.026) 25% 25.12%,transparent 25.12% 49%,rgba(255,255,255,.023) 49% 49.12%,transparent 49.12%),
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:100% 100%,100% 132px;
  mask-image:none;
}
.mach-hero--showcase:after { display:none; }

.mach-hero--showcase .mach-hero__architecture {
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(ellipse at 67% 93%,rgba(0,0,0,.82),transparent 42%),
    linear-gradient(180deg,transparent 72%,rgba(0,0,0,.32));
}
.mach-hero--showcase .mach-hero__architecture:before {
  content:'';position:absolute;left:45.5%;top:0;bottom:82px;width:3px;
  background:linear-gradient(180deg,rgba(246,189,0,.2),#ffd12a 24%,#f6bd00 78%,rgba(246,189,0,.12));
  box-shadow:0 0 8px rgba(246,189,0,.85),0 0 28px rgba(246,189,0,.22);
}
.mach-hero--showcase .mach-hero__architecture i {
  position:absolute;display:block;border:1px solid rgba(255,255,255,.025);
  background:linear-gradient(145deg,rgba(255,255,255,.018),rgba(0,0,0,.055));
  box-shadow:inset 0 1px rgba(255,255,255,.02);
}
.mach-hero--showcase .mach-hero__architecture i:nth-child(1){left:44%;top:0;width:16%;bottom:82px}
.mach-hero--showcase .mach-hero__architecture i:nth-child(2){left:60%;top:0;width:19%;bottom:82px}
.mach-hero--showcase .mach-hero__architecture i:nth-child(3){left:79%;top:0;right:0;bottom:82px}

.mach-hero--showcase .mach-hero__grid {
  min-height:610px;
  grid-template-columns:minmax(410px,.82fr) minmax(650px,1.18fr);
  gap:24px;
  align-items:stretch;
  position:relative;
  z-index:2;
}
.mach-hero--showcase .mach-hero__content {
  padding:54px 0 40px;
  align-self:center;
  max-width:560px;
}
.mach-hero--showcase .mach-kicker {
  margin-bottom:20px;
  color:var(--hero-yellow);
  font:800 11px/1.2 'Exo 2',sans-serif;
  letter-spacing:.14em;
}
.mach-hero--showcase h1 {
  max-width:540px;
  font-size:clamp(52px,4.55vw,73px);
  line-height:.91;
  letter-spacing:-.055em;
  text-wrap:balance;
}
.mach-hero--showcase h1 .mach-hero__accent {
  color:var(--hero-yellow);
  text-shadow:0 10px 36px rgba(246,189,0,.10);
}
.mach-hero--showcase .mach-hero__lead {
  max-width:535px;
  margin:27px 0 28px;
  color:#c8cbca;
  font-size:16px;
  line-height:1.55;
}
.mach-hero--showcase .mach-hero__actions { gap:14px; }
.mach-hero--showcase .mach-btn { min-height:52px; padding-inline:22px; }

.mach-hero--showcase .mach-hero__visual {
  height:610px;
  align-self:end;
  overflow:visible;
}
.mach-hero--showcase .mach-hero__neon-line {
  position:absolute;left:17%;top:0;bottom:105px;width:3px;z-index:1;
  background:linear-gradient(#f6bd00,#ffe06b 52%,#f6bd00);
  box-shadow:0 0 8px rgba(246,189,0,.9),0 0 25px rgba(246,189,0,.25);
}
.mach-hero--showcase .mach-hero__neon-arc {
  position:absolute;z-index:1;width:440px;height:440px;right:13%;top:46px;border-radius:50%;
  border:3px solid var(--hero-yellow);
  border-left-color:transparent;border-bottom-color:transparent;
  transform:rotate(-14deg);
  filter:drop-shadow(0 0 7px rgba(246,189,0,.75));
  opacity:.93;
}
.mach-hero--showcase .mach-hero__neon-arc:before {
  content:'';position:absolute;inset:20px;border-radius:inherit;border:52px solid rgba(246,189,0,.055);
  border-left-color:transparent;border-bottom-color:transparent;
}
.mach-hero--showcase .mach-hero__stage--slab {
  left:15%;right:17%;bottom:45px;height:132px;border-radius:0;
  background:
    linear-gradient(180deg,rgba(255,255,255,.09),transparent 3px),
    linear-gradient(165deg,#343637 0%,#222526 55%,#101213 100%);
  border:1px solid rgba(255,255,255,.055);
  box-shadow:0 28px 55px rgba(0,0,0,.6),inset 0 1px rgba(255,255,255,.08);
  filter:none;
  transform:perspective(900px) rotateX(4deg) skewX(-5deg);
}
.mach-hero--showcase .mach-hero__stage--slab:before {
  content:'';position:absolute;left:-4%;right:2%;top:-31px;height:48px;
  background:linear-gradient(160deg,#414344,#292b2c 55%,#1a1c1d);
  border:1px solid rgba(255,255,255,.055);
  clip-path:polygon(5% 0,100% 0,96% 100%,0 100%);
}
.mach-hero--showcase .mach-product-cutout {
  filter:drop-shadow(0 31px 23px rgba(0,0,0,.62));
  transition:transform .45s var(--mach-ease);
}
.mach-hero--showcase .mach-product-cutout--main {
  width:345px;height:455px;right:28%;bottom:81px;z-index:4;transform:none;
}
.mach-hero--showcase .mach-product-cutout--side {
  width:205px;height:292px;left:26%;bottom:79px;z-index:5;transform:none;
}
.mach-hero--showcase .mach-product-cutout img { filter:contrast(1.02) saturate(.9); }

.mach-hero--showcase .mach-hero-features {
  position:absolute;right:0;top:112px;z-index:6;width:205px;
  display:grid;gap:24px;
}
.mach-hero--showcase .mach-hero-features > div {
  display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start;
}
.mach-hero--showcase .mach-hero-feature-icon {
  width:34px;height:34px;display:grid;place-items:center;
  color:var(--hero-yellow);border:1px solid rgba(246,189,0,.75);border-radius:8px;
  font:800 12px/1 'Exo 2',sans-serif;
  box-shadow:inset 0 0 15px rgba(246,189,0,.04);
}
.mach-hero--showcase .mach-hero-features p { margin:0; }
.mach-hero--showcase .mach-hero-features b { display:block;color:#fff;font-size:13px;line-height:1.25; }
.mach-hero--showcase .mach-hero-features small { display:block;margin-top:5px;color:#aeb2b0;font-size:11px;line-height:1.42; }

.mach-hero--showcase .mach-hero-proofbar {
  position:relative;z-index:7;
  min-height:80px;
  background:rgba(7,9,10,.94);
  border-top:1px solid rgba(255,255,255,.08);
  box-shadow:0 -15px 45px rgba(0,0,0,.14);
}
.mach-hero--showcase .mach-hero-proofbar__inner {
  min-height:80px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;
}
.mach-hero--showcase .mach-hero-proofbar__inner > div {
  min-width:0;display:grid;grid-template-columns:38px 1fr;gap:14px;align-items:center;padding:0 24px;
}
.mach-hero--showcase .mach-hero-proofbar__inner > div:first-child { padding-left:0; }
.mach-hero--showcase .mach-hero-proofbar__inner > div + div { border-left:1px solid rgba(255,255,255,.085); }
.mach-hero--showcase .mach-hero-proofbar__inner > div > span { color:var(--hero-yellow);font-size:25px;line-height:1;text-align:center; }
.mach-hero--showcase .mach-hero-proofbar p { margin:0; }
.mach-hero--showcase .mach-hero-proofbar b { display:block;color:#fff;font-size:13px; }
.mach-hero--showcase .mach-hero-proofbar small { display:block;margin-top:3px;color:#898e8b;font-size:11px; }

@media (max-width:1399px) {
  .mach-hero--showcase .mach-hero__grid { grid-template-columns:minmax(390px,.8fr) minmax(570px,1.2fr); }
  .mach-hero--showcase .mach-product-cutout--main { width:305px;height:415px;right:27%; }
  .mach-hero--showcase .mach-product-cutout--side { width:180px;height:265px;left:25%; }
  .mach-hero--showcase .mach-hero-features { width:185px;gap:19px; }
  .mach-hero--showcase .mach-hero__stage--slab { right:15%; }
}
@media (max-width:1199px) {
  .mach-hero--showcase { min-height:auto; }
  .mach-hero--showcase .mach-hero__grid { min-height:auto;grid-template-columns:1fr 1fr;gap:18px; }
  .mach-hero--showcase .mach-hero__content { padding:48px 0 44px; }
  .mach-hero--showcase h1 { font-size:54px; }
  .mach-hero--showcase .mach-hero__visual { height:520px; }
  .mach-hero--showcase .mach-hero-features { display:none; }
  .mach-hero--showcase .mach-product-cutout--main { width:300px;height:405px;right:2%; }
  .mach-hero--showcase .mach-product-cutout--side { left:8%; }
  .mach-hero--showcase .mach-hero__neon-arc { right:-12%; }
  .mach-hero--showcase .mach-hero__stage--slab { left:2%;right:0; }
  .mach-hero--showcase .mach-hero-proofbar__inner > div { padding-inline:15px; }
}
@media (max-width:991px) {
  .mach-hero--showcase .mach-hero__architecture:before { left:64%; }
  .mach-hero--showcase .mach-hero__grid { grid-template-columns:1fr; }
  .mach-hero--showcase .mach-hero__content { max-width:680px;padding-bottom:10px; }
  .mach-hero--showcase h1 { max-width:600px; }
  .mach-hero--showcase .mach-hero__visual { height:470px;max-width:690px;margin:0 auto;width:100%; }
  .mach-hero--showcase .mach-product-cutout--main { right:12%;bottom:75px; }
  .mach-hero--showcase .mach-product-cutout--side { left:19%;bottom:73px; }
  .mach-hero--showcase .mach-hero__stage--slab { left:12%;right:7%; }
  .mach-hero--showcase .mach-hero__neon-line { left:25%; }
  .mach-hero--showcase .mach-hero__neon-arc { right:2%;top:10px; }
  .mach-hero--showcase .mach-hero-proofbar__inner { grid-template-columns:repeat(2,1fr);padding-block:12px; }
  .mach-hero--showcase .mach-hero-proofbar__inner > div { min-height:58px; }
  .mach-hero--showcase .mach-hero-proofbar__inner > div:nth-child(3) { border-left:0; }
}
@media (max-width:767px) {
  .mach-hero--showcase .mach-hero__content { padding-top:42px; }
  .mach-hero--showcase h1 { font-size:clamp(42px,13vw,58px); }
  .mach-hero--showcase .mach-hero__lead { font-size:15px;margin:22px 0 24px; }
  .mach-hero--showcase .mach-hero__visual { height:390px; }
  .mach-hero--showcase .mach-product-cutout--main { width:235px;height:315px;right:4%;bottom:65px; }
  .mach-hero--showcase .mach-product-cutout--side { width:140px;height:205px;left:8%;bottom:64px; }
  .mach-hero--showcase .mach-hero__neon-arc { width:320px;height:320px;right:-17%; }
  .mach-hero--showcase .mach-hero__stage--slab { left:0;right:0;bottom:35px;height:92px; }
  .mach-hero--showcase .mach-hero__stage--slab:before { top:-22px;height:35px; }
  .mach-hero--showcase .mach-hero__neon-line { bottom:75px; }
  .mach-hero--showcase .mach-hero-proofbar__inner { grid-template-columns:1fr 1fr; }
  .mach-hero--showcase .mach-hero-proofbar__inner > div { padding:9px 10px;grid-template-columns:30px 1fr; }
  .mach-hero--showcase .mach-hero-proofbar__inner > div:nth-child(odd) { border-left:0; }
  .mach-hero--showcase .mach-hero-proofbar__inner > div > span { font-size:20px; }
}

/* =========================================================
   v1.10 — HERO PRECISION PASS
   Matches the approved hero composition more closely.
   HERO ONLY. No other site sections affected.
   ========================================================= */

.mach-hero--showcase{
  min-height:620px!important;
  background:#0a0c0d!important;
  border-bottom:0!important;
}
.mach-hero--showcase:before{
  content:''!important;
  position:absolute!important;
  inset:0!important;
  opacity:1!important;
  background:
    radial-gradient(circle at 64% 32%,rgba(246,189,0,.075),transparent 24%),
    linear-gradient(90deg,rgba(0,0,0,.28),transparent 29%,transparent 100%),
    linear-gradient(90deg,#090b0c 0 34%,#111314 34% 61%,#151718 61% 100%)!important;
  mask-image:none!important;
}
.mach-hero--showcase .mach-hero__architecture{
  inset:0 0 74px!important;
  background:
    linear-gradient(90deg,transparent 33.7%,rgba(255,255,255,.035) 33.8%,transparent 34%),
    linear-gradient(90deg,transparent 47.8%,rgba(255,255,255,.025) 48%,transparent 48.15%),
    linear-gradient(90deg,transparent 61.4%,rgba(255,255,255,.028) 61.6%,transparent 61.75%),
    linear-gradient(180deg,transparent 44%,rgba(255,255,255,.025) 44.2%,transparent 44.4%),
    linear-gradient(180deg,transparent 72%,rgba(0,0,0,.38) 100%)!important;
}
.mach-hero--showcase .mach-hero__architecture:before{
  left:44.9%!important;top:0!important;bottom:115px!important;width:2px!important;
  background:linear-gradient(180deg,#ffcb17 0%,#ffe06a 48%,#f6bd00 100%)!important;
  box-shadow:0 0 5px rgba(246,189,0,.95),0 0 18px rgba(246,189,0,.28)!important;
}
.mach-hero--showcase .mach-hero__architecture i{display:none!important}
.mach-hero--showcase .mach-hero__grid{
  min-height:548px!important;
  grid-template-columns:minmax(420px,36%) minmax(0,64%)!important;
  gap:0!important;
}
.mach-hero--showcase .mach-hero__content{
  max-width:460px!important;
  padding:38px 0 28px!important;
  align-self:center!important;
}
.mach-hero--showcase .mach-kicker{
  margin-bottom:15px!important;
  font-size:10px!important;
  letter-spacing:.13em!important;
}
.mach-hero--showcase h1{
  max-width:450px!important;
  font-size:clamp(46px,3.75vw,64px)!important;
  line-height:.93!important;
  letter-spacing:-.047em!important;
}
.mach-hero--showcase .mach-hero__lead{
  max-width:420px!important;
  margin:19px 0 20px!important;
  font-size:13px!important;
  line-height:1.52!important;
  color:#c6cac8!important;
}
.mach-hero--showcase .mach-btn{
  min-height:45px!important;
  padding:0 18px!important;
  font-size:12px!important;
}
.mach-hero--showcase .mach-hero__actions{gap:10px!important}

.mach-hero--showcase .mach-hero__visual{
  height:548px!important;
  overflow:hidden!important;
}
.mach-hero--showcase .mach-hero__neon-line{display:none!important}
.mach-hero--showcase .mach-hero__neon-arc{
  width:375px!important;height:375px!important;
  right:18.5%!important;top:28px!important;
  border-width:2px!important;
  opacity:.95!important;
  transform:rotate(-13deg)!important;
  filter:drop-shadow(0 0 5px rgba(246,189,0,.62))!important;
}
.mach-hero--showcase .mach-hero__neon-arc:before{
  inset:17px!important;border-width:42px!important;opacity:.58!important;
}
.mach-hero--showcase .mach-hero__stage--slab{
  left:18%!important;right:18%!important;bottom:33px!important;height:96px!important;
  border:1px solid rgba(255,255,255,.045)!important;
  background:linear-gradient(165deg,#333536 0%,#252728 52%,#111314 100%)!important;
  box-shadow:0 24px 42px rgba(0,0,0,.62),inset 0 1px rgba(255,255,255,.055)!important;
  transform:none!important;
}
.mach-hero--showcase .mach-hero__stage--slab:before{
  left:-4%!important;right:2%!important;top:-27px!important;height:32px!important;
  background:linear-gradient(160deg,#3b3d3e 0%,#292b2c 56%,#191b1c)!important;
  clip-path:polygon(4% 0,100% 0,96% 100%,0 100%)!important;
}
.mach-hero--showcase .mach-product-cutout{
  filter:drop-shadow(0 23px 16px rgba(0,0,0,.6))!important;
}
.mach-hero--showcase .mach-product-cutout--main{
  width:285px!important;height:385px!important;
  right:26.5%!important;bottom:58px!important;
}
.mach-hero--showcase .mach-product-cutout--side{
  width:155px!important;height:230px!important;
  left:25%!important;bottom:61px!important;
}
.mach-hero--showcase .mach-product-cutout img{
  filter:contrast(1.015) saturate(.88) brightness(.96)!important;
}
.mach-hero--showcase .mach-hero-features{
  right:1.8%!important;top:77px!important;width:185px!important;gap:19px!important;
}
.mach-hero--showcase .mach-hero-features>div{
  grid-template-columns:30px 1fr!important;gap:10px!important;
}
.mach-hero--showcase .mach-hero-feature-icon{
  width:27px!important;height:27px!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;padding:1px!important;
}
.mach-hero--showcase .mach-hero-feature-icon svg{
  width:25px;height:25px;fill:none;stroke:#f6bd00;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;
}
.mach-hero--showcase .mach-hero-features b{font-size:11px!important;line-height:1.22!important}
.mach-hero--showcase .mach-hero-features small{margin-top:3px!important;font-size:9.5px!important;line-height:1.38!important;color:#b2b6b4!important}

.mach-hero--showcase .mach-hero-proofbar{
  min-height:72px!important;background:#080a0b!important;
  border-top:1px solid rgba(255,255,255,.065)!important;
}
.mach-hero--showcase .mach-hero-proofbar__inner{min-height:72px!important}
.mach-hero--showcase .mach-hero-proofbar__inner>div{
  grid-template-columns:32px 1fr!important;gap:10px!important;padding:0 20px!important;
}
.mach-hero--showcase .mach-hero-proofbar__inner>div:first-child{padding-left:0!important}
.mach-hero--showcase .mach-hero-proofbar__inner>div>span{font-size:21px!important}
.mach-hero--showcase .mach-hero-proofbar b{font-size:11px!important}
.mach-hero--showcase .mach-hero-proofbar small{font-size:9.5px!important}

@media (max-width:1399px){
  .mach-hero--showcase .mach-hero__grid{grid-template-columns:minmax(390px,37%) minmax(0,63%)!important}
  .mach-hero--showcase .mach-product-cutout--main{width:255px!important;height:350px!important;right:28%!important}
  .mach-hero--showcase .mach-product-cutout--side{width:140px!important;height:210px!important;left:24%!important}
  .mach-hero--showcase .mach-hero-features{right:1%!important;width:170px!important}
  .mach-hero--showcase .mach-hero__neon-arc{width:340px!important;height:340px!important;right:18%!important}
}
@media (max-width:1199px){
  .mach-hero--showcase{min-height:auto!important}
  .mach-hero--showcase .mach-hero__grid{grid-template-columns:1fr!important;min-height:auto!important}
  .mach-hero--showcase .mach-hero__content{max-width:700px!important;padding:52px 0 28px!important}
  .mach-hero--showcase .mach-hero__visual{height:500px!important}
  .mach-hero--showcase .mach-hero__architecture:before{display:none!important}
  .mach-hero--showcase .mach-product-cutout--main{width:280px!important;height:380px!important;right:24%!important}
  .mach-hero--showcase .mach-product-cutout--side{width:155px!important;height:230px!important;left:23%!important}
  .mach-hero--showcase .mach-hero-features{right:2%!important;top:70px!important}
}
@media (max-width:767px){
  .mach-hero--showcase .mach-hero__content{padding:36px 0 24px!important}
  .mach-hero--showcase h1{font-size:46px!important}
  .mach-hero--showcase .mach-hero__visual{height:430px!important}
  .mach-hero--showcase .mach-hero-features{display:none!important}
  .mach-hero--showcase .mach-product-cutout--main{width:235px!important;height:320px!important;right:2%!important}
  .mach-hero--showcase .mach-product-cutout--side{width:125px!important;height:188px!important;left:5%!important}
  .mach-hero--showcase .mach-hero__stage--slab{left:3%!important;right:3%!important}
  .mach-hero--showcase .mach-hero__neon-arc{right:-20%!important}
  .mach-hero--showcase .mach-hero-proofbar__inner{grid-template-columns:1fr 1fr!important;padding:8px 0!important}
  .mach-hero--showcase .mach-hero-proofbar__inner>div{min-height:58px!important;padding:0 10px!important}
}


/* =========================================================
   v1.11 HERO: use exact visual crop from approved concept
   Only hero/proofbar changed. All other design remains intact.
   ========================================================= */
.mach-hero--showcase .mach-hero__architecture{display:none!important}
.mach-hero--showcase .mach-hero__grid{
  grid-template-columns:minmax(430px,36.5%) minmax(0,63.5%)!important;
  min-height:560px!important;
  max-width:1440px!important;
}
.mach-hero--showcase .mach-hero__content{
  padding:46px 34px 38px 0!important;
  align-self:center!important;
}
.mach-hero--showcase .mach-hero__visual--scene{
  height:560px!important;
  align-self:stretch!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  overflow:hidden!important;
  background:#0c0e0f!important;
}
.mach-hero--showcase .mach-hero__scene-image{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  max-width:none!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
}
.mach-hero--showcase .mach-hero-proofbar{
  min-height:78px!important;
  background:#080a0b!important;
  border-top:1px solid rgba(255,255,255,.07)!important;
}
.mach-hero--showcase .mach-hero-proofbar__inner{
  min-height:78px!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.mach-hero--showcase .mach-hero-proofbar__inner>div{
  grid-template-columns:40px 1fr!important;
  gap:13px!important;
  min-height:78px!important;
  padding:0 28px!important;
}
.mach-hero--showcase .mach-hero-proofbar__inner>div:first-child{padding-left:0!important}
.mach-hero--showcase .mach-proof-icon{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  color:#f6bd00!important;
}
.mach-hero--showcase .mach-proof-icon svg{
  width:30px!important;
  height:30px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.mach-hero--showcase .mach-hero-proofbar b{font-size:12px!important;line-height:1.2!important}
.mach-hero--showcase .mach-hero-proofbar small{font-size:10px!important;line-height:1.25!important;color:#8e9491!important}

@media (max-width:1199px){
  .mach-hero--showcase .mach-hero__grid{grid-template-columns:1fr!important;min-height:auto!important}
  .mach-hero--showcase .mach-hero__content{max-width:760px!important;padding:44px 0 28px!important}
  .mach-hero--showcase .mach-hero__visual--scene{height:auto!important;aspect-ratio:1164/625!important}
  .mach-hero--showcase .mach-hero__scene-image{object-fit:cover!important}
}
@media (max-width:767px){
  .mach-hero--showcase .mach-hero__visual--scene{aspect-ratio:1.35!important;min-height:0!important}
  .mach-hero--showcase .mach-hero__scene-image{object-position:43% center!important}
  .mach-hero--showcase .mach-hero-proofbar__inner{grid-template-columns:1fr 1fr!important;padding:8px 0!important}
  .mach-hero--showcase .mach-hero-proofbar__inner>div{padding:8px 10px!important;min-height:64px!important}
}


/* =========================================================
   v1.12 — CONTENT & INFORMATION PAGES REFINEMENT
   Keeps the approved v1.11 hero untouched.
   ========================================================= */

/* Remove the legacy black top strip. Login is moved into the main header. */
body.mach-redesign .top-navigation-bar { display:none!important; }
body.mach-redesign #header { position:relative; }
body.mach-redesign .mach-header-login {
  appearance:none;border:0;background:transparent;color:#353535;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;padding:0 12px;margin-right:8px;cursor:pointer;
  font:700 13px/1 'Exo 2','Source Sans 3',sans-serif;
}
body.mach-redesign .mach-header-login svg { width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8; }
body.mach-redesign .mach-header-login:hover { color:#9a7200; }
body.mach-redesign .mach-header-login:focus-visible { outline:2px solid var(--mach-yellow);outline-offset:3px;border-radius:5px; }

/* Alternating homepage backgrounds requested for the editorial rhythm. */
body.mach-home-ready .mach-chooser { background:#fff!important; }
body.mach-home-ready .mach-config-spotlight { background:#f3f3f0!important; }
body.mach-home-ready .mach-how { background:#fff!important; }

/* Benefits: lighter, calmer trust rail instead of a heavy black box. */
body.mach-home-ready .mach-benefits { background:#fff;padding:0 0 74px!important; }
body.mach-home-ready .mach-benefits__grid {
  background:#fff!important;color:#171818!important;
  border-top:1px solid #dfe0dc;border-bottom:1px solid #dfe0dc;
}
body.mach-home-ready .mach-benefits__grid > div {
  min-height:126px;padding:25px 30px!important;border-right:1px solid #e5e5e1!important;
  display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:15px;align-content:center;
}
body.mach-home-ready .mach-benefits__grid > div:last-child { border-right:0!important; }
body.mach-home-ready .mach-benefits span {
  grid-row:1 / span 2;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:#fff4ca;color:#8c6800!important;font-size:10px!important;letter-spacing:.02em!important;
}
body.mach-home-ready .mach-benefits b { margin:0!important;font-size:15px!important;align-self:end; }
body.mach-home-ready .mach-benefits small { margin:4px 0 0!important;color:#777b77!important;align-self:start; }

/* Completely rebuilt news / realization area. */
body.mach-home-ready .mach-home-blog--modern {
  width:min(var(--mach-shell),calc(100% - 56px))!important;
  margin:0 auto!important;padding:84px 0 92px!important;
  overflow:visible!important;position:relative;
  background:#f3f3f0!important;
  box-shadow:0 0 0 100vmax #f3f3f0;
  clip-path:inset(0 -100vmax);
}
body.mach-home-ready .mach-home-blog--modern:before { display:none!important; }
body.mach-home-ready .mach-news-head { display:flex;justify-content:space-between;align-items:end;gap:36px;margin-bottom:34px; }
body.mach-home-ready .mach-news-head > div { max-width:700px; }
body.mach-home-ready .mach-news-head h2 { margin:0!important;color:#171818!important;text-align:left!important;font:700 clamp(35px,3vw,48px)/1.04 'Exo 2',sans-serif!important;letter-spacing:-.04em; }
body.mach-home-ready .mach-news-head > div > p:last-child { margin:13px 0 0;color:#6f726f;font-size:16px;line-height:1.55; }
body.mach-home-ready .mach-news-grid { display:grid;grid-template-columns:1.15fr .85fr;gap:22px; }
body.mach-home-ready .mach-news-card { min-width:0;background:#fff;border:1px solid #dedfdb;overflow:hidden;box-shadow:0 14px 36px rgba(18,18,18,.055); }
body.mach-home-ready .mach-news-card__image { position:relative;display:block;height:300px;overflow:hidden;background:#ddd; }
body.mach-home-ready .mach-news-card--featured .mach-news-card__image { height:340px; }
body.mach-home-ready .mach-news-card__image img { width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important;display:block;transition:transform .5s var(--mach-ease); }
body.mach-home-ready .mach-news-card:hover .mach-news-card__image img { transform:scale(1.025); }
body.mach-home-ready .mach-news-card__image > span { position:absolute;left:18px;top:18px;background:var(--mach-yellow);color:#171717;padding:7px 10px;font:800 10px/1 'Exo 2',sans-serif;text-transform:uppercase;letter-spacing:.08em; }
body.mach-home-ready .mach-news-card__body { padding:25px 27px 28px; }
body.mach-home-ready .mach-news-card__meta { margin:0 0 9px;color:#987100;font:800 10px/1.2 'Exo 2',sans-serif;text-transform:uppercase;letter-spacing:.11em; }
body.mach-home-ready .mach-news-card h3 { margin:0!important;font:700 23px/1.18 'Exo 2',sans-serif!important;letter-spacing:-.025em; }
body.mach-home-ready .mach-news-card h3 a { color:#1b1b1b!important;text-decoration:none!important; }
body.mach-home-ready .mach-news-card__excerpt { margin:13px 0 20px!important;color:#696d69!important;line-height:1.55!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
body.mach-home-ready .mach-news-card__more { display:inline-flex;gap:10px;align-items:center;color:#171717!important;font-weight:800;text-decoration:none!important; }
body.mach-home-ready .mach-news-card__more span { color:#a67800;font-size:18px; }

/* Information pages: suppliers, installers, shipping/payment. */
body.mach-redesign .mach-info-page { max-width:none!important;padding:0 0 90px!important; }
.mach-info-page .mach-info-hero {
  margin:0 0 62px;padding:58px 64px;background:#f3f3f0;border-left:4px solid var(--mach-yellow);
}
.mach-info-page .mach-info-hero h1 { margin:0 0 18px;font:700 clamp(38px,4vw,58px)/1.02 'Exo 2',sans-serif;letter-spacing:-.045em; }
.mach-info-page .mach-info-hero > p:not(.mach-kicker) { max-width:880px;margin:0;color:#5f635f;font-size:17px;line-height:1.65; }
.mach-info-pills { display:flex;flex-wrap:wrap;gap:8px;margin-top:26px; }
.mach-info-pills span { padding:9px 12px;background:#fff;border:1px solid #dcded9;color:#3c3f3c;font-size:12px;font-weight:700; }
.mach-info-section-head { display:flex;justify-content:space-between;align-items:end;gap:42px;margin-bottom:28px; }
.mach-info-section-head > div { max-width:620px; }
.mach-info-section-head h2 { margin:0;font-size:36px;letter-spacing:-.035em; }
.mach-info-section-head > p { max-width:520px;margin:0;color:#6c706c;line-height:1.55; }
.mach-partners,.mach-installers { padding:0 4px; }
.mach-partner-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
.mach-partner-card { border:1px solid #e0e1dd;background:#fff;padding:28px;box-shadow:0 12px 30px rgba(0,0,0,.035); }
.mach-partner-card__top { display:flex;gap:15px;align-items:flex-start;padding-bottom:20px;border-bottom:1px solid #ecece8; }
.mach-partner-card__icon { width:42px;height:42px;display:grid;place-items:center;background:#fff4c8;color:#8b6800;flex:0 0 auto; }
.mach-partner-card__icon svg,.mach-logistics-card__head svg,.mach-installer-card__icon svg { width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7; }
.mach-partner-card__top p { margin:0 0 4px;color:#9a7200;text-transform:uppercase;letter-spacing:.09em;font-size:10px;font-weight:800; }
.mach-partner-card__top h2 { margin:0;font-size:21px;letter-spacing:-.02em; }
.mach-partner-card__details { display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;padding:22px 0; }
.mach-partner-card__details p { margin:0;min-width:0; }
.mach-partner-card__details b,.mach-partner-card__details span,.mach-partner-card__details a { display:block; }
.mach-partner-card__details b { margin-bottom:3px;color:#979a96;font-size:10px;text-transform:uppercase;letter-spacing:.08em; }
.mach-partner-card__details span,.mach-partner-card__details a { color:#303330!important;font-size:14px;line-height:1.45;word-break:break-word;text-decoration:none!important; }
.mach-partner-card__area { padding:14px 16px;background:#f5f5f2; }
.mach-partner-card__area span,.mach-partner-card__area strong { display:block; }
.mach-partner-card__area span { margin-bottom:3px;color:#969995;font-size:10px;text-transform:uppercase;letter-spacing:.08em; }
.mach-partner-card__area strong { font-size:13px;line-height:1.4; }
.mach-info-note { display:flex;gap:18px;align-items:flex-start;margin:38px 4px 0;padding:24px 28px;background:#171818;color:#fff; }
.mach-info-note > span { color:var(--mach-yellow);font-size:28px;line-height:1; }
.mach-info-note p { margin:0;color:#c1c5c1;line-height:1.5; }
.mach-info-note b { color:#fff; }

.mach-installer-card { display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;padding:30px;border:1px solid #dedfdb;background:#fff;box-shadow:0 16px 42px rgba(0,0,0,.05); }
.mach-installer-card__icon { width:62px;height:62px;display:grid;place-items:center;background:#171818;color:var(--mach-yellow); }
.mach-installer-card__main > span { color:#9a7200;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.09em; }
.mach-installer-card__main h2 { margin:6px 0 7px;font-size:27px; }
.mach-installer-card__main > p { margin:0 0 15px;color:#676b67; }
.mach-installer-card__contacts { display:flex;flex-wrap:wrap;gap:8px 18px; }
.mach-installer-card__contacts a,.mach-installer-card__contacts span { color:#343734!important;text-decoration:none!important;font-size:13px; }
.mach-installer-card__cta { min-height:50px;padding:0 18px;display:inline-flex;align-items:center;gap:14px;background:var(--mach-yellow);color:#161616!important;font-weight:800;text-decoration:none!important; }

.mach-logistics-grid { display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:22px; }
.mach-logistics-card { border:1px solid #dfe0dc;background:#fff;padding:30px;box-shadow:0 12px 34px rgba(0,0,0,.035); }
.mach-logistics-card__head { display:flex;align-items:center;gap:15px;margin-bottom:26px;padding-bottom:22px;border-bottom:1px solid #ecece8; }
.mach-logistics-card__head > span { width:46px;height:46px;display:grid;place-items:center;background:#171818;color:var(--mach-yellow); }
.mach-logistics-card__head .mach-kicker { margin-bottom:5px; }
.mach-logistics-card__head h2 { margin:0;font-size:30px; }
.mach-logistics-method { padding:20px 0;border-bottom:1px solid #ecece8; }
.mach-logistics-method > h3 { margin:0 0 4px;font-size:17px; }
.mach-logistics-method > p { margin:0 0 8px;color:#747874; }
.mach-logistics-method > b { color:#347244; }
.mach-shipping-row { display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-top:1px dashed #e5e6e2; }
.mach-shipping-row span { color:#626662; }
.mach-shipping-row strong { text-align:right;font-size:13px; }
.mach-logistics-special { display:flex;gap:16px;align-items:flex-start;margin-top:22px;padding:18px;background:#fff4c9; }
.mach-logistics-special > span { background:#171818;color:var(--mach-yellow);padding:7px 9px;font-weight:800;font-size:12px;white-space:nowrap; }
.mach-logistics-special h3 { margin:0 0 4px;font-size:16px; }
.mach-logistics-special p { margin:0;color:#656865; }
.mach-payment-list > div { display:flex;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid #ecece8; }
.mach-payment-list > div span { font-weight:700; }
.mach-payment-list > div b { color:#347244;font-size:12px;text-transform:uppercase;letter-spacing:.05em; }
.mach-payment-note { margin-top:24px;padding:20px;background:#f3f3f0; }
.mach-payment-note b { display:block;margin-bottom:5px; }
.mach-payment-note p { margin:0;color:#696d69;line-height:1.5; }

@media (max-width:991px) {
  body.mach-redesign .mach-header-login span { display:none; }
  .mach-info-page .mach-info-hero { padding:44px 34px; }
  .mach-partner-grid,.mach-logistics-grid { grid-template-columns:1fr; }
  body.mach-home-ready .mach-news-grid { grid-template-columns:1fr; }
  body.mach-home-ready .mach-news-card--featured .mach-news-card__image,body.mach-home-ready .mach-news-card__image { height:300px; }
  .mach-info-section-head { align-items:flex-start;flex-direction:column;gap:10px; }
}
@media (max-width:767px) {
  body.mach-redesign .mach-header-login { width:40px;height:40px;padding:0;margin:0; }
  body.mach-home-ready .mach-home-blog--modern { width:min(100% - 28px,var(--mach-shell))!important;padding:62px 0 68px!important; }
  body.mach-home-ready .mach-news-head { align-items:flex-start;flex-direction:column;gap:18px; }
  body.mach-home-ready .mach-news-card__image,body.mach-home-ready .mach-news-card--featured .mach-news-card__image { height:220px; }
  .mach-info-page .mach-info-hero { margin-bottom:42px;padding:34px 22px; }
  .mach-info-page .mach-info-hero h1 { font-size:36px; }
  .mach-partner-card { padding:22px; }
  .mach-partner-card__details { grid-template-columns:1fr;gap:13px; }
  .mach-installer-card { grid-template-columns:1fr; }
  .mach-installer-card__cta { justify-self:start; }
  .mach-logistics-card { padding:22px; }
  .mach-shipping-row { align-items:flex-start;flex-direction:column;gap:3px; }
  .mach-shipping-row strong { text-align:left; }
}


/* =========================================================
   v1.13 — HEADER CLEANUP, EDITORIAL RHYTHM, CONTACT & BEHIND
   Hero and existing product/configurator functionality unchanged.
   ========================================================= */

/* The legacy top strip is completely removed; login lives next to cart. */
body.mach-redesign .top-navigation-bar { display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important; }
body.mach-redesign #header .navigation-buttons,
body.mach-redesign #header .header-top { align-items:center; }
body.mach-redesign .mach-header-login {
  order:80;margin:0 12px 0 0;padding:0 14px;min-height:42px;border-left:1px solid #e7e7e3;
  color:#343634;background:#fff;white-space:nowrap;
}
body.mach-redesign .mach-header-login:hover { color:#171818;background:#f5f5f2; }
body.mach-redesign .mach-cart-trigger { order:90; }

/* Homepage alternating backgrounds: white / grey / white / grey. */
body.mach-home-ready .mach-chooser { background:#fff!important; }
body.mach-home-ready .mach-config-spotlight { background:#f3f3f0!important; }
body.mach-home-ready .mach-how { background:#fff!important; }
body.mach-home-ready .mach-home-blog--modern { background:#f3f3f0!important;box-shadow:0 0 0 100vmax #f3f3f0!important; }

/* Benefits as a refined assurance deck rather than a dark strip. */
body.mach-home-ready .mach-benefits { background:#fff!important;padding:6px 0 82px!important; }
body.mach-home-ready .mach-benefits__grid {
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px!important;
  background:transparent!important;border:0!important;color:#171818!important;
}
body.mach-home-ready .mach-benefits__grid > div {
  position:relative;display:block!important;min-height:142px!important;padding:25px 24px 23px!important;
  background:#f6f6f3;border:1px solid #e4e5e1!important;overflow:hidden;
}
body.mach-home-ready .mach-benefits__grid > div:after {
  content:'';position:absolute;right:-24px;top:-24px;width:84px;height:84px;border:1px solid rgba(246,189,0,.25);border-radius:50%;
}
body.mach-home-ready .mach-benefits span {
  width:auto!important;height:auto!important;display:block!important;background:transparent!important;color:#9a7200!important;
  font:800 10px/1 'Exo 2',sans-serif!important;letter-spacing:.12em!important;
}
body.mach-home-ready .mach-benefits b { display:block!important;margin:25px 0 4px!important;font:700 17px/1.2 'Exo 2',sans-serif!important; }
body.mach-home-ready .mach-benefits small { display:block!important;margin:0!important;color:#747874!important;line-height:1.45!important; }

/* Editorial news: two compact horizontal stories. */
body.mach-home-ready .mach-home-blog--modern { padding:78px 0 86px!important; }
body.mach-home-ready .mach-news-head { margin-bottom:28px!important; }
body.mach-home-ready .mach-news-grid { grid-template-columns:1fr 1fr!important;gap:16px!important; }
body.mach-home-ready .mach-news-card,
body.mach-home-ready .mach-news-card--featured {
  display:grid!important;grid-template-columns:minmax(0,.46fr) minmax(0,.54fr);min-height:280px;background:#fff!important;
  border:1px solid #dedfdb!important;box-shadow:none!important;
}
body.mach-home-ready .mach-news-card__image,
body.mach-home-ready .mach-news-card--featured .mach-news-card__image { height:100%!important;min-height:280px; }
body.mach-home-ready .mach-news-card__body { display:flex;flex-direction:column;justify-content:space-between;padding:26px 27px!important; }
body.mach-home-ready .mach-news-card h3 { font-size:21px!important; }
body.mach-home-ready .mach-news-card__excerpt { -webkit-line-clamp:4;margin-bottom:16px!important; }
body.mach-home-ready .mach-news-card__more { align-self:flex-start;padding-top:8px;border-top:1px solid #ecece8;width:100%;justify-content:space-between; }

/* Contact page */
.mach-contact-page .mach-info-hero--contact { background:linear-gradient(135deg,#f3f3f0 0%,#fff 100%); }
.mach-contact-grid { display:grid;grid-template-columns:minmax(0,1.18fr) minmax(340px,.82fr);gap:20px;margin-bottom:64px; }
.mach-contact-card { border:1px solid #dfe0dc;background:#fff;padding:32px; }
.mach-contact-card__head { display:flex;gap:16px;align-items:center;padding-bottom:24px;border-bottom:1px solid #ecece8; }
.mach-contact-card__head > span { width:52px;height:52px;display:grid;place-items:center;background:#171818;color:var(--mach-yellow); }
.mach-contact-card__head svg,.mach-contact-mini svg { width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7; }
.mach-contact-card__head h2 { margin:3px 0 0;font-size:29px;letter-spacing:-.03em; }
.mach-contact-data { margin:10px 0 0; }
.mach-contact-data > div { display:grid;grid-template-columns:180px 1fr;gap:20px;padding:16px 0;border-bottom:1px solid #eee; }
.mach-contact-data > div:last-child { border-bottom:0; }
.mach-contact-data dt { color:#909490;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em; }
.mach-contact-data dd { margin:0;color:#252725;font-weight:650;line-height:1.45; }
.mach-contact-stack { display:grid;gap:10px; }
.mach-contact-mini { min-height:105px;display:grid;grid-template-columns:46px 1fr;gap:15px;align-items:center;padding:20px 22px;border:1px solid #e1e2de;background:#f7f7f4;color:#252725!important;text-decoration:none!important; }
.mach-contact-mini > span { width:42px;height:42px;display:grid;place-items:center;background:#fff4c8;color:#896700; }
.mach-contact-mini small,.mach-contact-mini strong,.mach-contact-mini em { display:block; }
.mach-contact-mini small { margin-bottom:4px;color:#8b8e8a;text-transform:uppercase;letter-spacing:.08em;font-size:9px;font-weight:800; }
.mach-contact-mini strong { font-size:15px;line-height:1.35; }
.mach-contact-mini em { margin-top:5px;color:#777a77;font-size:12px;font-style:normal; }
.mach-contact-mini[href]:hover { border-color:#c9b35a;background:#fff; }
.mach-contact-form { margin-top:0;padding:38px 42px;background:#f3f3f0; }
.mach-contact-form__slot { max-width:840px; }
.mach-contact-form__slot form { margin:0!important;max-width:100%!important; }
.mach-contact-form__slot .form-control,.mach-contact-form__slot input,.mach-contact-form__slot textarea { border-radius:0!important; }

/* Behind the scenes page */
.mach-behind-page .mach-info-hero--behind { background:#171818;color:#fff;border-left-color:var(--mach-yellow); }
.mach-behind-page .mach-info-hero--behind h1 { color:#fff; }
.mach-behind-page .mach-info-hero--behind > p:not(.mach-kicker) { color:#bdc1bd;max-width:940px; }
.mach-behind-page .mach-info-hero--behind .mach-info-pills span { background:#242625;border-color:#353836;color:#fff; }
.mach-behind-content { padding:0 4px; }
.mach-behind-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px; }
.mach-behind-card { display:grid;grid-template-columns:minmax(0,.46fr) minmax(0,.54fr);min-height:270px;border:1px solid #dfe0dc;background:#fff; }
.mach-behind-card__image { position:relative;min-height:270px;overflow:hidden;background:#ddd; }
.mach-behind-card__image img { width:100%!important;height:100%!important;object-fit:cover!important;display:block;transition:transform .45s var(--mach-ease); }
.mach-behind-card:hover .mach-behind-card__image img { transform:scale(1.025); }
.mach-behind-card__image span { position:absolute;left:14px;top:14px;padding:6px 9px;background:var(--mach-yellow);color:#171717;font:800 9px/1 'Exo 2',sans-serif;text-transform:uppercase;letter-spacing:.08em; }
.mach-behind-card__body { display:flex;flex-direction:column;justify-content:center;padding:25px 27px; }
.mach-behind-card__body h2 { margin:0 0 11px;font-size:21px;line-height:1.2;letter-spacing:-.025em; }
.mach-behind-card__body h2 a { color:#171818!important;text-decoration:none!important; }
.mach-behind-card__body p { margin:0 0 18px;color:#6b6f6b;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }

@media (max-width:1100px) {
  body.mach-home-ready .mach-news-card,body.mach-home-ready .mach-news-card--featured { grid-template-columns:1fr; }
  body.mach-home-ready .mach-news-card__image,body.mach-home-ready .mach-news-card--featured .mach-news-card__image { min-height:220px;height:220px!important; }
  .mach-contact-grid { grid-template-columns:1fr; }
  .mach-behind-card { grid-template-columns:1fr; }
  .mach-behind-card__image { min-height:230px;height:230px; }
}
@media (max-width:767px) {
  body.mach-redesign .mach-header-login { margin-right:4px;padding:0;width:40px;height:40px;border-left:0; }
  body.mach-home-ready .mach-benefits__grid { grid-template-columns:1fr 1fr!important; }
  body.mach-home-ready .mach-news-grid,.mach-behind-grid { grid-template-columns:1fr!important; }
  .mach-contact-data > div { grid-template-columns:1fr;gap:5px; }
  .mach-contact-card,.mach-contact-form { padding:24px 22px; }
}
@media (max-width:520px) {
  body.mach-home-ready .mach-benefits__grid { grid-template-columns:1fr!important; }
}


/* =========================================================
   v1.14 — ZE ZÁKULISÍ: LIGHT LISTING + PAGINATION + ARTICLE
   Everything else intentionally unchanged from v1.13.
   ========================================================= */

/* Same light language as the other content subpages. */
.mach-behind-page .mach-info-hero--behind {
  background:linear-gradient(135deg,#f3f3f0 0%,#fff 72%)!important;
  color:#171818!important;
  border-left:4px solid var(--mach-yellow)!important;
}
.mach-behind-page .mach-info-hero--behind h1 { color:#171818!important; }
.mach-behind-page .mach-info-hero--behind > p:not(.mach-kicker) { color:#656a65!important;max-width:940px; }
.mach-behind-page .mach-info-hero--behind .mach-info-pills span { background:#fff!important;border-color:#dedfdb!important;color:#373a37!important; }

/* Article cards: 6 per page, strong hover state, image fallback. */
.mach-behind-content { padding-bottom:72px!important; }
.mach-behind-grid { gap:20px!important; }
.mach-behind-card {
  position:relative;min-height:285px!important;border:1px solid #dfe0dc!important;background:#fff!important;
  overflow:hidden;transition:transform .28s var(--mach-ease),border-color .28s var(--mach-ease),box-shadow .28s var(--mach-ease)!important;
}
.mach-behind-card:after {
  content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--mach-yellow);
  transform:scaleX(0);transform-origin:left;transition:transform .28s var(--mach-ease);pointer-events:none;
}
.mach-behind-card:hover {
  transform:translateY(-5px);border-color:#c4a229!important;
  box-shadow:0 18px 42px rgba(20,22,20,.12)!important;
}
.mach-behind-card:hover:after { transform:scaleX(1); }
.mach-behind-card__image { min-height:285px!important;background:linear-gradient(145deg,#ecece8,#d8d9d5)!important; }
.mach-behind-card__image.is-placeholder:before {
  content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.55) 38%,transparent 56%);
  transform:translateX(-100%);animation:mach-placeholder-sheen 1.6s ease-in-out infinite;
}
@keyframes mach-placeholder-sheen { 100% { transform:translateX(100%); } }
.mach-behind-card__placeholder-mark {
  position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
  background:transparent!important;color:#b6b8b4!important;font:900 28px/1 'Exo 2',sans-serif!important;letter-spacing:.12em!important;
}
.mach-behind-card__image img { transition:transform .55s var(--mach-ease),filter .4s ease!important; }
.mach-behind-card:hover .mach-behind-card__image img { transform:scale(1.045)!important;filter:saturate(1.04) contrast(1.03); }
.mach-behind-card__body { padding:28px 30px!important; }
.mach-behind-card__body .mach-text-link { margin-top:auto!important; }
.mach-behind-card:hover .mach-text-link span { transform:translateX(5px); }
.mach-behind-card .mach-text-link span { display:inline-block;transition:transform .2s ease; }

/* Pagination */
.mach-behind-pagination {
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;margin-top:34px;padding-top:26px;border-top:1px solid #dedfdb;
}
.mach-behind-pagination button {
  min-width:44px;height:44px;border:1px solid #d9dad6;background:#fff;color:#252725;font:750 12px/1 'Exo 2',sans-serif;
  transition:all .2s ease;cursor:pointer;
}
.mach-behind-pagination button:hover:not(:disabled) { border-color:#171818;background:#171818;color:#fff; }
.mach-behind-pagination button:focus-visible { outline:3px solid rgba(246,189,0,.38);outline-offset:2px; }
.mach-page-numbers { display:flex;gap:7px;justify-content:center; }
.mach-page-numbers button.is-active { background:var(--mach-yellow);border-color:var(--mach-yellow);color:#171818; }
.mach-page-nav { width:max-content;padding:0 18px!important; }
.mach-page-prev { justify-self:start; }
.mach-page-next { justify-self:end; }
.mach-page-nav:disabled { opacity:.38;cursor:not-allowed; }

/* Article detail — v1.15 editorial redesign. */
body.mach-behind-article #content { background:#f5f5f2; }
body.mach-behind-article #content .content-inner.mach-article-page {
  max-width:1180px!important;margin:0 auto!important;padding:34px 20px 92px!important;
}
.mach-article-page .mach-article-eyebrow {
  display:flex;align-items:center;gap:9px;max-width:960px;margin:0 auto 16px;color:#927200;font:800 10px/1.2 'Exo 2',sans-serif;text-transform:uppercase;letter-spacing:.12em;
}
.mach-article-page .mach-article-eyebrow a { color:#927200!important;text-decoration:none!important; }
.mach-article-page > h1 {
  max-width:960px;margin:0 auto 28px!important;font-size:clamp(38px,4.6vw,64px)!important;line-height:1.02!important;letter-spacing:-.05em!important;color:#171818!important;
}
.mach-article-hero-image {
  position:relative;display:block;max-width:1080px;aspect-ratio:16/8.6;margin:0 auto 0;overflow:hidden;background:#deded9;text-decoration:none!important;border:1px solid #deded9;box-shadow:0 22px 60px rgba(20,20,18,.12);
}
.mach-article-hero-image:after { content:'';position:absolute;inset:auto 0 0;height:24%;background:linear-gradient(transparent,rgba(0,0,0,.28));pointer-events:none; }
.mach-article-hero-image img { width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important;transition:transform .55s var(--mach-ease); }
.mach-article-hero-image:hover img { transform:scale(1.012); }
.mach-article-hero-image span {
  position:absolute;left:28px;bottom:24px;z-index:2;padding:9px 12px;background:var(--mach-yellow);color:#171818;font:800 10px/1 'Exo 2',sans-serif;text-transform:uppercase;letter-spacing:.09em;
}
.mach-article-content-shell {
  max-width:960px;margin:-1px auto 0;background:#fff;border:1px solid #e0e0db;border-top:0;padding:48px 70px 54px;box-shadow:0 16px 44px rgba(20,20,18,.06);
}
.mach-article-copy { max-width:780px;margin:0 auto; }
.mach-article-copy > p {
  margin:0 0 24px!important;color:#40423f;font-size:17px!important;line-height:1.82!important;
}
.mach-article-copy > p.mach-article-lead {
  position:relative;margin-bottom:34px!important;padding:2px 0 2px 25px;font-size:21px!important;line-height:1.62!important;color:#202220;
}
.mach-article-copy > p.mach-article-lead:before { content:'';position:absolute;left:0;top:4px;bottom:4px;width:4px;background:var(--mach-yellow); }
.mach-article-copy > p strong { color:#171818;font-weight:750; }
.mach-article-copy > p.mach-article-gallery-intro { display:none!important; }
.mach-article-gallery-section {
  max-width:1080px;margin:46px auto 0;padding-top:34px;border-top:1px solid #d7d7d1;
}
.mach-article-gallery-head { display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px; }
.mach-article-gallery-head .mach-kicker { margin:0 0 8px!important;color:#927200!important; }
.mach-article-gallery-head h2 { margin:0!important;font-size:clamp(28px,3vw,40px)!important;line-height:1.05!important;letter-spacing:-.035em!important; }
.mach-article-gallery-head p { max-width:420px;margin:0!important;color:#73756f;font-size:14px!important;line-height:1.55!important;text-align:right; }
.mach-article-gallery {
  margin:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;
}
.mach-article-gallery .plus-gallery-item {
  position:relative!important;width:auto!important;height:auto!important;aspect-ratio:4/3;margin:0!important;overflow:hidden!important;border:1px solid #d9d9d4!important;background:#e8e8e4;box-shadow:0 7px 22px rgba(20,20,18,.05);
}
.mach-article-gallery .plus-gallery-item.mach-gallery-item--used-as-hero { display:none!important; }
.mach-article-gallery .plus-gallery-item a { display:block!important;width:100%!important;height:100%!important; }
.mach-article-gallery .plus-gallery-item img { width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;transition:transform .42s var(--mach-ease),filter .35s ease!important; }
.mach-article-gallery .plus-gallery-item:after { content:'↗';position:absolute;right:12px;bottom:12px;width:34px;height:34px;display:grid;place-items:center;background:rgba(23,24,24,.82);color:#fff;font-weight:800;opacity:0;transform:translateY(5px);transition:.25s ease;pointer-events:none; }
.mach-article-gallery .plus-gallery-item:hover img { transform:scale(1.035);filter:contrast(1.03); }
.mach-article-gallery .plus-gallery-item:hover:after { opacity:1;transform:none; }
body.mach-behind-article .next-article,
body.mach-behind-article a[href*="ze-zakulisi-firmy"].next-article,
body.mach-behind-article .btn.next-article { margin:48px auto 0!important; }
body.mach-behind-article #content .content-inner > .btn,
body.mach-behind-article #content .content-inner > a.btn { border-color:#171818!important;background:#171818!important;color:#fff!important;padding:13px 22px!important;font-weight:800!important; }
body.mach-behind-article #content .content-inner > .btn:hover,
body.mach-behind-article #content .content-inner > a.btn:hover { background:var(--mach-yellow)!important;border-color:var(--mach-yellow)!important;color:#171818!important; }

@media (max-width:900px) {
  .mach-behind-pagination { grid-template-columns:1fr 1fr; }
  .mach-page-numbers { grid-column:1/-1;grid-row:1;flex-wrap:wrap; }
  .mach-page-prev { grid-column:1;grid-row:2; }
  .mach-page-next { grid-column:2;grid-row:2; }
  .mach-article-gallery { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
}
@media (max-width:600px) {
  .mach-article-page > h1 { font-size:36px!important; }
  .mach-article-page > p { font-size:16px!important;line-height:1.7!important; }
  .mach-article-page > p.mach-article-lead { font-size:18px!important; }
  .mach-article-hero-image { height:280px; }
  .mach-article-gallery { grid-template-columns:1fr!important; }
  .mach-article-gallery .plus-gallery-item { height:250px!important; }
  .mach-page-nav span { display:none; }
}

/* v1.15 article responsive overrides */
@media (max-width:900px) {
  body.mach-behind-article #content .content-inner.mach-article-page { padding-left:16px!important;padding-right:16px!important; }
  .mach-article-content-shell { padding:38px 34px 44px; }
  .mach-article-gallery { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .mach-article-gallery-head { align-items:flex-start;flex-direction:column; }
  .mach-article-gallery-head p { text-align:left; }
}
@media (max-width:600px) {
  .mach-article-page > h1 { font-size:38px!important; }
  .mach-article-hero-image { aspect-ratio:4/3; }
  .mach-article-hero-image span { left:16px;bottom:14px; }
  .mach-article-content-shell { padding:30px 20px 36px; }
  .mach-article-copy > p { font-size:16px!important;line-height:1.72!important; }
  .mach-article-copy > p.mach-article-lead { font-size:18px!important; }
  .mach-article-gallery { grid-template-columns:1fr!important;gap:12px!important; }
}

/* v1.16 - article gallery: compact previews fed by full-size files */
.mach-article-gallery-section{max-width:980px!important;}
.mach-article-gallery{gap:12px!important;}
.mach-article-gallery .plus-gallery-item{aspect-ratio:4/3!important;max-height:205px!important;}
@media (max-width:900px){.mach-article-gallery .plus-gallery-item{max-height:none!important;}}
@media (max-width:600px){.mach-article-gallery .plus-gallery-item{height:auto!important;max-height:none!important;}}

/* =========================================================
   v1.17 — ARTICLES PRECISION PASS
   Scope: Ze zákulisí listing + article detail only.
   No header, homepage, product, category or footer changes.
   ========================================================= */

/* ---------- Ze zákulisí: cleaner 3 x 2 editorial grid ---------- */
.mach-behind-content {
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-bottom:84px!important;
}
.mach-behind-grid {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
}
.mach-behind-card,
.mach-behind-card.mach-behind-card--featured {
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  min-height:100%!important;
  background:#fff!important;
  border:1px solid #dedfda!important;
  box-shadow:0 8px 26px rgba(20,22,20,.035)!important;
  transform:none!important;
  transition:transform .28s var(--mach-ease),box-shadow .28s var(--mach-ease),border-color .28s ease!important;
}
.mach-behind-card:after {
  height:4px!important;
  background:var(--mach-yellow)!important;
}
.mach-behind-card:hover {
  transform:translateY(-7px)!important;
  border-color:#cfcfc8!important;
  box-shadow:0 22px 48px rgba(20,22,20,.12)!important;
}
.mach-behind-card__image {
  position:relative!important;
  flex:0 0 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:16/10!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#ecece8,#dddeda)!important;
}
.mach-behind-card__image img {
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  filter:saturate(.96) contrast(1.01);
  transition:transform .55s var(--mach-ease),filter .4s ease!important;
}
.mach-behind-card:hover .mach-behind-card__image img {
  transform:scale(1.045)!important;
  filter:saturate(1) contrast(1.035)!important;
}
.mach-behind-card__image span {
  left:16px!important;
  top:16px!important;
  padding:7px 10px!important;
  background:var(--mach-yellow)!important;
  color:#171818!important;
  font-size:9px!important;
  letter-spacing:.095em!important;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}
.mach-behind-card__body {
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  padding:27px 27px 25px!important;
}
.mach-behind-card__body h2 {
  margin:0 0 13px!important;
  font-size:22px!important;
  line-height:1.17!important;
  letter-spacing:-.035em!important;
}
.mach-behind-card__body p {
  margin:0 0 22px!important;
  color:#6e716d!important;
  font-size:14px!important;
  line-height:1.58!important;
  -webkit-line-clamp:3!important;
}
.mach-behind-card__body .mach-text-link {
  margin-top:auto!important;
  padding-top:16px!important;
  border-top:1px solid #ecece8!important;
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  color:#171818!important;
  font-weight:800!important;
}
.mach-behind-card__body .mach-text-link span {
  transition:transform .25s var(--mach-ease)!important;
}
.mach-behind-card:hover .mach-text-link span { transform:translateX(5px)!important; }
.mach-behind-pagination {
  margin-top:38px!important;
  padding-top:26px!important;
  border-top:1px solid #dedfda!important;
}

/* ---------- Article detail: seamless editorial case study ---------- */
body.mach-behind-article #content {
  background:#f6f6f3!important;
}
body.mach-behind-article #content .content-inner.mach-article-page {
  max-width:1220px!important;
  padding:42px 24px 96px!important;
}
.mach-article-page .mach-article-eyebrow {
  max-width:1080px!important;
  margin-bottom:14px!important;
}
.mach-article-page > h1 {
  max-width:1080px!important;
  margin:0 auto 18px!important;
  font-size:clamp(38px,4.25vw,60px)!important;
  line-height:1.025!important;
  letter-spacing:-.048em!important;
}
.mach-article-meta {
  max-width:1080px;
  margin:0 auto 24px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 16px;
  color:#747873;
  font-size:12px;
}
.mach-article-meta span {
  display:inline-flex;
  align-items:center;
  gap:7px;
}
.mach-article-meta span + span:before {
  content:'';
  width:4px;height:4px;
  border-radius:50%;
  background:#b8bab5;
  margin-right:8px;
}
.mach-article-meta b { color:#222522;font-weight:750; }
.mach-article-hero-image {
  max-width:1080px!important;
  aspect-ratio:16/8.2!important;
  margin:0 auto!important;
  border:0!important;
  background:#deded9!important;
  box-shadow:0 26px 64px rgba(20,20,18,.13)!important;
}
.mach-article-hero-image:after {
  height:30%!important;
  background:linear-gradient(transparent,rgba(0,0,0,.38))!important;
}
.mach-article-hero-image span {
  left:24px!important;
  bottom:22px!important;
  padding:9px 12px!important;
  box-shadow:0 8px 22px rgba(0,0,0,.14);
}
/* Remove the old white slab below the hero. */
.mach-article-content-shell {
  max-width:1080px!important;
  margin:0 auto!important;
  padding:48px 0 0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.mach-article-copy {
  max-width:820px!important;
  margin:0 auto!important;
}
.mach-article-copy > p {
  margin:0 0 25px!important;
  color:#424642!important;
  font-size:17px!important;
  line-height:1.84!important;
}
.mach-article-copy > p.mach-article-lead {
  position:relative!important;
  margin:0 0 34px!important;
  padding:24px 28px 24px 31px!important;
  background:#fff!important;
  border:1px solid #e1e2dd!important;
  color:#202320!important;
  font-size:20px!important;
  line-height:1.67!important;
  box-shadow:0 10px 30px rgba(20,22,20,.045);
}
.mach-article-copy > p.mach-article-lead:before {
  left:-1px!important;top:-1px!important;bottom:-1px!important;width:5px!important;
}
.mach-article-copy > p strong {
  color:#171818!important;
  font-weight:780!important;
}
.mach-article-copy > p:last-child { margin-bottom:0!important; }

/* Gallery as a deliberate editorial section, not a Shoptet widget. */
.mach-article-gallery-section {
  max-width:1080px!important;
  margin:58px auto 0!important;
  padding:42px 0 0!important;
  border-top:1px solid #d8d9d4!important;
}
.mach-article-gallery-head {
  align-items:flex-end!important;
  margin-bottom:24px!important;
}
.mach-article-gallery-head h2 {
  font-size:clamp(30px,3.1vw,42px)!important;
}
.mach-article-gallery-head > p {
  color:#7a7d78!important;
  font-size:13px!important;
}
.mach-article-gallery {
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
.mach-article-gallery .plus-gallery-item {
  aspect-ratio:4/3!important;
  max-height:188px!important;
  border:1px solid #d9dad5!important;
  background:#e8e9e4!important;
  box-shadow:0 8px 22px rgba(20,22,20,.045)!important;
}
.mach-article-gallery .plus-gallery-item:before {
  content:attr(data-mach-photo-index);
  position:absolute;
  left:10px;top:10px;
  z-index:3;
  min-width:29px;height:29px;
  display:grid;place-items:center;
  padding:0 7px;
  background:rgba(23,24,24,.82);
  color:#fff;
  font:800 9px/1 'Exo 2',sans-serif;
  letter-spacing:.06em;
  pointer-events:none;
}
.mach-article-gallery .plus-gallery-item:after {
  right:10px!important;bottom:10px!important;
  width:32px!important;height:32px!important;
  background:var(--mach-yellow)!important;
  color:#171818!important;
}
.mach-article-gallery .plus-gallery-item:hover {
  border-color:#c7aa38!important;
  box-shadow:0 15px 34px rgba(20,22,20,.10)!important;
}

/* Hide empty legacy paragraphs that can create accidental whitespace. */
body.mach-behind-article .mach-article-page > p:empty,
body.mach-behind-article .mach-article-page > p.mach-empty-paragraph {
  display:none!important;
}

@media (max-width:1100px) {
  .mach-behind-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
}
@media (max-width:900px) {
  body.mach-behind-article #content .content-inner.mach-article-page { padding:32px 18px 72px!important; }
  .mach-article-content-shell { padding-top:38px!important; }
  .mach-article-copy { max-width:740px!important; }
  .mach-article-gallery .plus-gallery-item { max-height:none!important; }
}
@media (max-width:700px) {
  .mach-behind-grid { grid-template-columns:1fr!important; }
  .mach-behind-card__image { aspect-ratio:16/9!important; }
  .mach-article-page > h1 { font-size:36px!important; }
  .mach-article-meta { margin-bottom:18px; }
  .mach-article-hero-image { aspect-ratio:4/3!important; }
  .mach-article-content-shell { padding-top:30px!important; }
  .mach-article-copy > p { font-size:16px!important;line-height:1.75!important; }
  .mach-article-copy > p.mach-article-lead { padding:20px 20px 20px 25px!important;font-size:18px!important; }
  .mach-article-gallery-section { margin-top:44px!important;padding-top:32px!important; }
  .mach-article-gallery-head { align-items:flex-start!important; }
  .mach-article-gallery { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
}
@media (max-width:480px) {
  .mach-article-gallery { grid-template-columns:1fr!important; }
}

/* =========================================================
   v1.18 — HOMEPAGE NEWS / EDITORIAL REDESIGN ONLY
   Replaces the old split text-heavy cards with an editorial
   feature story + compact secondary story. Other sections untouched.
   ========================================================= */
body.mach-home-ready .mach-home-blog--editorial {
  padding:76px 0 84px!important;
  background:#f3f3f0!important;
}
body.mach-home-ready .mach-news-head--editorial {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:32px!important;
  align-items:end!important;
  margin-bottom:30px!important;
}
body.mach-home-ready .mach-news-head--editorial > div { max-width:720px!important; }
body.mach-home-ready .mach-news-head--editorial h2 {
  margin:0!important;
  color:#171818!important;
  font:700 clamp(34px,3vw,46px)/1.02 'Exo 2',sans-serif!important;
  letter-spacing:-.045em!important;
}
body.mach-home-ready .mach-news-head--editorial > div > p:last-child {
  max-width:650px!important;
  margin:12px 0 0!important;
  color:#747873!important;
  font-size:15px!important;
  line-height:1.55!important;
}
body.mach-home-ready .mach-news-all {
  display:inline-flex!important;
  align-items:center!important;
  gap:14px!important;
  min-height:44px!important;
  padding:0 3px 8px!important;
  border-bottom:2px solid #171818!important;
  color:#171818!important;
  font:800 13px/1 'Exo 2',sans-serif!important;
  text-decoration:none!important;
  transition:border-color .22s ease,color .22s ease!important;
}
body.mach-home-ready .mach-news-all span { color:#ad8200!important;font-size:18px!important;transition:transform .22s ease!important; }
body.mach-home-ready .mach-news-all:hover { color:#9a7200!important;border-color:var(--mach-yellow)!important; }
body.mach-home-ready .mach-news-all:hover span { transform:translateX(4px)!important; }

body.mach-home-ready .mach-news-grid--editorial {
  display:grid!important;
  grid-template-columns:minmax(0,1.62fr) minmax(330px,.78fr)!important;
  gap:18px!important;
  align-items:stretch!important;
}
body.mach-home-ready .mach-news-grid--editorial .mach-news-card {
  min-height:0!important;
  border:1px solid #dddeda!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
  position:relative!important;
  isolation:isolate!important;
}

/* Featured story: photo-led, no giant white text panel. */
body.mach-home-ready .mach-news-card--featured {
  display:block!important;
  height:430px!important;
  min-height:430px!important;
  background:#151616!important;
}
body.mach-home-ready .mach-news-card--featured .mach-news-card__image {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  display:block!important;
  overflow:hidden!important;
  background:#cfcfcb!important;
}
body.mach-home-ready .mach-news-card--featured .mach-news-card__image:after {
  content:''!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(180deg,rgba(10,10,10,.03) 25%,rgba(12,13,13,.86) 100%)!important;
  z-index:1!important;
  pointer-events:none!important;
}
body.mach-home-ready .mach-news-card--featured .mach-news-card__image img {
  width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;
  transition:transform .65s var(--mach-ease),filter .4s ease!important;
}
body.mach-home-ready .mach-news-card--featured:hover .mach-news-card__image img { transform:scale(1.035)!important;filter:contrast(1.03)!important; }
body.mach-home-ready .mach-news-card--featured .mach-news-card__overlay {
  position:absolute!important;
  left:0!important;right:0!important;bottom:0!important;
  z-index:2!important;
  padding:34px 36px 31px!important;
  color:#fff!important;
}
body.mach-home-ready .mach-news-card--featured .mach-news-card__tag {
  display:inline-flex!important;
  margin:0 0 15px!important;
  padding:7px 10px!important;
  background:var(--mach-yellow)!important;
  color:#171818!important;
  font:850 9px/1 'Exo 2',sans-serif!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
body.mach-home-ready .mach-news-card--featured h3 {
  max-width:770px!important;
  margin:0!important;
  font:700 clamp(27px,2.55vw,40px)/1.04 'Exo 2',sans-serif!important;
  letter-spacing:-.035em!important;
}
body.mach-home-ready .mach-news-card--featured h3 a { color:#fff!important;text-decoration:none!important; }
body.mach-home-ready .mach-news-card--featured .mach-news-card__excerpt {
  max-width:650px!important;
  margin:12px 0 18px!important;
  color:rgba(255,255,255,.78)!important;
  font-size:14px!important;
  line-height:1.55!important;
  -webkit-line-clamp:2!important;
}
body.mach-home-ready .mach-news-card--featured .mach-news-card__more {
  display:inline-flex!important;
  width:auto!important;
  align-items:center!important;
  gap:12px!important;
  padding:0!important;
  border:0!important;
  color:#fff!important;
  font:800 13px/1.2 'Exo 2',sans-serif!important;
  text-decoration:none!important;
}
body.mach-home-ready .mach-news-card--featured .mach-news-card__more span { color:var(--mach-yellow)!important;transition:transform .22s ease!important; }
body.mach-home-ready .mach-news-card--featured .mach-news-card__more:hover span { transform:translateX(4px)!important; }

/* Secondary story: compact magazine card. */
body.mach-home-ready .mach-news-card--secondary {
  display:flex!important;
  flex-direction:column!important;
  min-height:430px!important;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease!important;
}
body.mach-home-ready .mach-news-card--secondary:hover {
  transform:translateY(-4px)!important;
  border-color:#c9c9c4!important;
  box-shadow:0 20px 44px rgba(24,24,24,.10)!important;
}
body.mach-home-ready .mach-news-card--secondary .mach-news-card__image {
  position:relative!important;
  height:205px!important;
  min-height:205px!important;
  display:block!important;
  overflow:hidden!important;
  background:#d9d9d6!important;
}
body.mach-home-ready .mach-news-card--secondary .mach-news-card__image img {
  width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;
  transition:transform .55s var(--mach-ease)!important;
}
body.mach-home-ready .mach-news-card--secondary:hover .mach-news-card__image img { transform:scale(1.04)!important; }
body.mach-home-ready .mach-news-card--secondary .mach-news-card__tag {
  position:absolute!important;left:16px!important;top:16px!important;
  padding:7px 9px!important;background:var(--mach-yellow)!important;color:#171818!important;
  font:850 9px/1 'Exo 2',sans-serif!important;letter-spacing:.1em!important;text-transform:uppercase!important;
}
body.mach-home-ready .mach-news-card--secondary .mach-news-card__body {
  display:flex!important;flex:1!important;flex-direction:column!important;justify-content:flex-start!important;
  padding:23px 24px 22px!important;
}
body.mach-home-ready .mach-news-card--secondary .mach-news-card__meta {
  margin:0 0 9px!important;color:#9a7200!important;font:850 9px/1 'Exo 2',sans-serif!important;letter-spacing:.12em!important;text-transform:uppercase!important;
}
body.mach-home-ready .mach-news-card--secondary h3 {
  margin:0!important;font:700 clamp(20px,1.7vw,25px)/1.12 'Exo 2',sans-serif!important;letter-spacing:-.03em!important;
}
body.mach-home-ready .mach-news-card--secondary h3 a { color:#181919!important;text-decoration:none!important; }
body.mach-home-ready .mach-news-card--secondary .mach-news-card__excerpt {
  margin:11px 0 15px!important;color:#777a76!important;font-size:13px!important;line-height:1.5!important;-webkit-line-clamp:2!important;
}
body.mach-home-ready .mach-news-card--secondary .mach-news-card__more {
  margin-top:auto!important;padding-top:14px!important;border-top:1px solid #ecece8!important;width:100%!important;
  justify-content:space-between!important;color:#171818!important;font-size:12px!important;
}
body.mach-home-ready .mach-news-card--secondary .mach-news-card__more span { color:#a87b00!important;transition:transform .22s ease!important; }
body.mach-home-ready .mach-news-card--secondary .mach-news-card__more:hover span { transform:translateX(4px)!important; }

@media (max-width:1000px) {
  body.mach-home-ready .mach-news-grid--editorial { grid-template-columns:1fr!important; }
  body.mach-home-ready .mach-news-card--featured { height:390px!important;min-height:390px!important; }
  body.mach-home-ready .mach-news-card--secondary { min-height:0!important;display:grid!important;grid-template-columns:42% 58%!important; }
  body.mach-home-ready .mach-news-card--secondary .mach-news-card__image { height:auto!important;min-height:260px!important; }
}
@media (max-width:700px) {
  body.mach-home-ready .mach-home-blog--editorial { padding:58px 0 64px!important; }
  body.mach-home-ready .mach-news-head--editorial { grid-template-columns:1fr!important;gap:18px!important; }
  body.mach-home-ready .mach-news-all { justify-self:start!important; }
  body.mach-home-ready .mach-news-card--featured { height:400px!important;min-height:400px!important; }
  body.mach-home-ready .mach-news-card--featured .mach-news-card__overlay { padding:26px 24px 24px!important; }
  body.mach-home-ready .mach-news-card--featured h3 { font-size:29px!important; }
  body.mach-home-ready .mach-news-card--secondary { display:flex!important;grid-template-columns:none!important; }
  body.mach-home-ready .mach-news-card--secondary .mach-news-card__image { height:210px!important;min-height:210px!important; }
}
@media (max-width:480px) {
  body.mach-home-ready .mach-news-card--featured { height:360px!important;min-height:360px!important; }
  body.mach-home-ready .mach-news-card--featured .mach-news-card__excerpt { display:none!important; }
  body.mach-home-ready .mach-news-card--featured h3 { font-size:25px!important; }
}

/* =========================================================
   v1.19 — HOMEPAGE JOURNAL, compact horizontal cards
   ========================================================= */
body.mach-home-ready .mach-home-blog--editorial{padding:66px 0 72px!important;background:#f3f3f0!important}
body.mach-home-ready .mach-news-head--editorial{margin-bottom:26px!important;align-items:end!important}
body.mach-home-ready .mach-news-head--editorial h2{font-size:clamp(32px,2.7vw,42px)!important}
body.mach-home-ready .mach-news-grid--editorial{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}
body.mach-home-ready .mach-news-card--journal{display:grid!important;grid-template-columns:minmax(190px,42%) minmax(0,58%)!important;min-height:286px!important;background:#fff!important;border:1px solid #deded9!important;overflow:hidden!important;position:relative!important;transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease!important}
body.mach-home-ready .mach-news-card--journal:after{content:''!important;position:absolute!important;left:42%!important;right:0!important;bottom:0!important;height:3px!important;background:var(--mach-yellow)!important;transform:scaleX(0)!important;transform-origin:left!important;transition:transform .3s ease!important}
body.mach-home-ready .mach-news-card--journal:hover{transform:translateY(-4px)!important;border-color:#c8c8c1!important;box-shadow:0 18px 42px rgba(20,20,18,.09)!important}
body.mach-home-ready .mach-news-card--journal:hover:after{transform:scaleX(1)!important}
body.mach-home-ready .mach-news-card--journal .mach-news-card__image{position:relative!important;display:block!important;height:100%!important;min-height:286px!important;overflow:hidden!important;background:#ddd!important}
body.mach-home-ready .mach-news-card--journal .mach-news-card__image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .55s var(--mach-ease),filter .35s ease!important}
body.mach-home-ready .mach-news-card--journal:hover .mach-news-card__image img{transform:scale(1.035)!important;filter:contrast(1.025)!important}
body.mach-home-ready .mach-news-card--journal .mach-news-card__tag{position:absolute!important;left:16px!important;top:16px!important;padding:7px 10px!important;background:var(--mach-yellow)!important;color:#171818!important;font:850 9px/1 'Exo 2',sans-serif!important;letter-spacing:.11em!important;text-transform:uppercase!important;z-index:2!important}
body.mach-home-ready .mach-news-card--journal .mach-news-card__body{display:flex!important;flex-direction:column!important;padding:27px 28px 24px!important;min-width:0!important}
body.mach-home-ready .mach-news-card--journal .mach-news-card__meta{margin:0 0 10px!important;color:#a47a00!important;font:850 9px/1 'Exo 2',sans-serif!important;letter-spacing:.13em!important;text-transform:uppercase!important}
body.mach-home-ready .mach-news-card--journal h3{margin:0!important;font:700 clamp(20px,1.55vw,25px)/1.12 'Exo 2',sans-serif!important;letter-spacing:-.028em!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body.mach-home-ready .mach-news-card--journal h3 a{color:#181919!important;text-decoration:none!important}
body.mach-home-ready .mach-news-card--journal .mach-news-card__excerpt{margin:12px 0 18px!important;color:#737672!important;font-size:13px!important;line-height:1.55!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body.mach-home-ready .mach-news-card--journal .mach-news-card__more{margin-top:auto!important;padding-top:15px!important;border-top:1px solid #ecece8!important;display:flex!important;align-items:center!important;justify-content:space-between!important;color:#181919!important;font:800 12px/1 'Exo 2',sans-serif!important;text-decoration:none!important}
body.mach-home-ready .mach-news-card--journal .mach-news-card__more b{color:#a77c00!important;font-size:17px!important;transition:transform .22s ease!important}
body.mach-home-ready .mach-news-card--journal .mach-news-card__more:hover b{transform:translateX(4px)!important}
@media(max-width:1050px){body.mach-home-ready .mach-news-grid--editorial{grid-template-columns:1fr!important}body.mach-home-ready .mach-news-card--journal{grid-template-columns:38% 62%!important}body.mach-home-ready .mach-news-card--journal:after{left:38%!important}}
@media(max-width:650px){body.mach-home-ready .mach-home-blog--editorial{padding:52px 0 58px!important}body.mach-home-ready .mach-news-card--journal{display:flex!important;flex-direction:column!important}body.mach-home-ready .mach-news-card--journal .mach-news-card__image{height:220px!important;min-height:220px!important}body.mach-home-ready .mach-news-card--journal .mach-news-card__body{padding:23px 22px 21px!important}body.mach-home-ready .mach-news-card--journal:after{left:0!important}body.mach-home-ready .mach-news-head--editorial>div>p:last-child{font-size:14px!important}}

/* =========================================================
   v1.20 - Homepage journal dark card refinement
   Only the homepage article cards are changed.
   ========================================================= */
body.mach-home-ready .mach-news-card--journal{
  background:#151716!important;
  border-color:#262927!important;
  box-shadow:0 8px 24px rgba(18,19,18,.05)!important;
}
body.mach-home-ready .mach-news-card--journal:hover{
  border-color:#343735!important;
  box-shadow:0 18px 44px rgba(18,19,18,.16)!important;
}
body.mach-home-ready .mach-news-card--journal .mach-news-card__body{
  background:linear-gradient(145deg,#171918 0%,#121413 100%)!important;
}
body.mach-home-ready .mach-news-card--journal .mach-news-card__meta{
  color:#e5ad00!important;
}
body.mach-home-ready .mach-news-card--journal h3{
  color:#fff!important;
  font-size:clamp(18px,1.35vw,23px)!important;
  line-height:1.16!important;
  letter-spacing:-.022em!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  max-height:2.32em!important;
}
body.mach-home-ready .mach-news-card--journal h3 a{
  color:#fff!important;
}
body.mach-home-ready .mach-news-card--journal .mach-news-card__excerpt{
  display:none!important;
}
body.mach-home-ready .mach-news-card--journal .mach-news-card__more{
  color:#ffc000!important;
  border-top-color:rgba(255,255,255,.12)!important;
  font-weight:800!important;
}
body.mach-home-ready .mach-news-card--journal .mach-news-card__more b{
  color:#ffc000!important;
}
body.mach-home-ready .mach-news-card--journal:after{
  background:#ffc000!important;
}
@media(max-width:650px){
  body.mach-home-ready .mach-news-card--journal h3{
    font-size:21px!important;
  }
}

/* =========================================================
   v1.21 - Brighter CTA yellow in homepage article cards
   Match the vivid yellow CTA strip below the journal section.
   ========================================================= */
body.mach-home-ready .mach-news-card--journal .mach-news-card__more,
body.mach-home-ready .mach-news-card--journal .mach-news-card__more:visited,
body.mach-home-ready .mach-news-card--journal .mach-news-card__more:hover,
body.mach-home-ready .mach-news-card--journal .mach-news-card__more:focus,
body.mach-home-ready .mach-news-card--journal .mach-news-card__more b{
  color:var(--mach-yellow,#ffc400)!important;
}

/* =========================================================
   v1.22 — focused refinements only
   ========================================================= */

/* 1) Login popup must always sit above our desktop navigation/mega menus. */
body.mach-redesign.login-window-visible .user-action,
body.mach-redesign.login-window-visible .login-window,
body.mach-redesign.login-window-visible .popup-widget,
body.mach-redesign .user-action .login-window,
body.mach-redesign .user-action .popup-widget {
  z-index:12000!important;
}
body.mach-redesign.login-window-visible .user-action {
  position:relative!important;
}
body.mach-redesign.login-window-visible #header {
  z-index:11900!important;
}

/* 2) Mega menus: no glow / drop shadow. Crisp 3-sided brand frame. */
@media (min-width:992px) {
  body.mach-redesign .mach-mega,
  body.mach-redesign .mach-mega--products,
  body.mach-redesign .mach-mega--config {
    box-shadow:none!important;
    border-top:0!important;
    border-left:2px solid var(--mach-yellow)!important;
    border-right:2px solid var(--mach-yellow)!important;
    border-bottom:2px solid var(--mach-yellow)!important;
    border-radius:0 0 14px 14px!important;
  }
  body.mach-redesign .mach-mega--config::before,
  body.mach-redesign .mach-mega--config::after {
    box-shadow:none!important;
    filter:none!important;
    background:none!important;
  }
  body.mach-redesign .mach-desktop-nav:before { display:none!important; }
}

/* 3) Article detail: compact editorial masthead instead of a huge full-width image. */
body.mach-behind-article #content .content-inner.mach-article-page {
  max-width:1240px!important;
  padding-top:46px!important;
}
.mach-article-masthead {
  width:min(1120px,100%)!important;
  margin:0 auto 54px!important;
  display:grid!important;
  grid-template-columns:minmax(0,.82fr) minmax(420px,1.18fr)!important;
  min-height:420px!important;
  background:#fff!important;
  border:1px solid #dedfda!important;
  overflow:hidden!important;
}
.mach-article-masthead__copy {
  padding:48px 46px 42px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-width:0!important;
}
.mach-article-masthead .mach-article-eyebrow {
  margin:0 0 18px!important;
  max-width:none!important;
}
.mach-article-masthead > .mach-article-masthead__copy > h1 {
  margin:0 0 24px!important;
  max-width:none!important;
  font-size:clamp(34px,3.3vw,52px)!important;
  line-height:1.04!important;
  letter-spacing:-.042em!important;
}
.mach-article-masthead .mach-article-meta {
  margin:0!important;
  max-width:none!important;
  padding-top:20px!important;
  border-top:1px solid #e3e4df!important;
}
.mach-article-masthead__media {
  min-width:0!important;
  background:#deded9!important;
  overflow:hidden!important;
}
.mach-article-masthead .mach-article-hero-image {
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:420px!important;
  aspect-ratio:auto!important;
  margin:0!important;
  box-shadow:none!important;
  border:0!important;
  border-radius:0!important;
}
.mach-article-masthead .mach-article-hero-image img {
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
.mach-article-masthead .mach-article-hero-image:after {
  height:24%!important;
  background:linear-gradient(transparent,rgba(0,0,0,.25))!important;
}
.mach-article-masthead .mach-article-hero-image span {
  left:20px!important;
  bottom:18px!important;
  font-size:10px!important;
}
/* Content starts cleanly after the masthead; no redundant top title/hero spacing. */
.mach-article-masthead + .mach-article-content-shell {
  padding-top:0!important;
}
.mach-article-gallery-head h2 { letter-spacing:-.03em!important; }

@media (max-width:900px) {
  .mach-article-masthead {
    grid-template-columns:1fr!important;
    min-height:0!important;
  }
  .mach-article-masthead__copy { padding:36px 30px 32px!important; }
  .mach-article-masthead__media { order:-1!important; }
  .mach-article-masthead .mach-article-hero-image { min-height:0!important;height:auto!important;aspect-ratio:16/9!important; }
}
@media (max-width:600px) {
  .mach-article-masthead { margin-bottom:38px!important; }
  .mach-article-masthead__copy { padding:28px 20px 26px!important; }
  .mach-article-masthead > .mach-article-masthead__copy > h1 { font-size:32px!important; }
}

/* =========================================================
   v1.23 — sticky header/nav, branded scrollbar, refined login,
   compact article masthead. Focused patch only.
   ========================================================= */

/* 1) Desktop header + our navigation remain visible while scrolling. */
@media (min-width:992px) {
  body.mach-redesign {
    --mach-sticky-admin-offset: 0px;
    --mach-sticky-header-height: 96px;
  }
  body.mach-redesign #header {
    position:sticky!important;
    top:var(--mach-sticky-admin-offset)!important;
    z-index:9000!important;
    background:#fff!important;
    border-bottom:1px solid #e4e5e1!important;
    box-shadow:0 2px 0 rgba(18,19,18,.025)!important;
  }
  body.mach-redesign .mach-desktop-nav {
    position:sticky!important;
    top:calc(var(--mach-sticky-admin-offset) + var(--mach-sticky-header-height))!important;
    z-index:8900!important;
    background:#fff!important;
  }
  body.mach-redesign .mach-desktop-nav__inner {
    background:#fff!important;
  }
}

/* 2) Modern MACH scrollbar. Firefox + Chromium/WebKit. */
html {
  scrollbar-color:#f6bd00 #ecece8;
  scrollbar-width:thin;
}
html::-webkit-scrollbar { width:12px; height:12px; }
html::-webkit-scrollbar-track { background:#ecece8; }
html::-webkit-scrollbar-thumb {
  background:#f6bd00;
  border:3px solid #ecece8;
  border-radius:999px;
  min-height:52px;
}
html::-webkit-scrollbar-thumb:hover { background:#d9a700; }
html::-webkit-scrollbar-corner { background:#ecece8; }

/* 3) Login popup: crisp branded card, always above sticky navigation. */
body.mach-redesign.login-window-visible .user-action,
body.mach-redesign.login-window-visible .login-window,
body.mach-redesign.login-window-visible .popup-widget,
body.mach-redesign .user-action .login-window,
body.mach-redesign .user-action .popup-widget {
  z-index:15000!important;
}
body.mach-redesign.login-window-visible .user-action {
  position:fixed!important;
  z-index:15000!important;
}
body.mach-redesign.login-window-visible #header { z-index:14900!important; }

body.mach-redesign .login-window,
body.mach-redesign .user-action .login-window,
body.mach-redesign.login-window-visible .user-action-in {
  border:1px solid #d9dad6!important;
  border-top:3px solid var(--mach-yellow,#f6bd00)!important;
  border-radius:0 0 12px 12px!important;
  background:#fff!important;
  box-shadow:0 18px 44px rgba(15,17,16,.14)!important;
  overflow:hidden!important;
}
body.mach-redesign .login-window:before,
body.mach-redesign .user-action .login-window:before {
  border-bottom-color:var(--mach-yellow,#f6bd00)!important;
}
body.mach-redesign .login-window h2,
body.mach-redesign .login-window h3,
body.mach-redesign .user-action h2,
body.mach-redesign .user-action h3 {
  color:#171818!important;
  font-size:20px!important;
  line-height:1.2!important;
  letter-spacing:-.02em!important;
  margin-bottom:18px!important;
}
body.mach-redesign .login-window label,
body.mach-redesign .user-action label {
  color:#555a56!important;
  font-weight:600!important;
}
body.mach-redesign .login-window input,
body.mach-redesign .user-action input[type="email"],
body.mach-redesign .user-action input[type="password"] {
  min-height:44px!important;
  border:1px solid #bfc2bd!important;
  border-radius:5px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.mach-redesign .login-window input:focus,
body.mach-redesign .user-action input[type="email"]:focus,
body.mach-redesign .user-action input[type="password"]:focus {
  border-color:var(--mach-yellow,#f6bd00)!important;
  box-shadow:0 0 0 3px rgba(246,189,0,.18)!important;
  outline:0!important;
}
body.mach-redesign .login-window .btn,
body.mach-redesign .user-action .btn {
  min-height:42px!important;
  padding:0 19px!important;
  border:1px solid var(--mach-yellow,#f6bd00)!important;
  border-radius:5px!important;
  background:var(--mach-yellow,#f6bd00)!important;
  color:#111!important;
  font-weight:800!important;
}
body.mach-redesign .login-window a,
body.mach-redesign .user-action a { color:#9a7600!important; }
body.mach-redesign .login-window a:hover,
body.mach-redesign .user-action a:hover { color:#171818!important; }

/* 4) Article detail: deliberately compact masthead, never a giant hero photo. */
body.mach-behind-article #content .content-inner.mach-article-page {
  max-width:1180px!important;
  padding-top:38px!important;
}
body.mach-behind-article .mach-article-masthead {
  width:min(1040px,100%)!important;
  min-height:0!important;
  margin:0 auto 42px!important;
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr)!important;
  background:#f5f5f2!important;
  border:1px solid #dedfda!important;
  border-left:4px solid var(--mach-yellow,#f6bd00)!important;
  overflow:hidden!important;
}
body.mach-behind-article .mach-article-masthead__copy {
  padding:38px 42px 36px!important;
  justify-content:center!important;
}
body.mach-behind-article .mach-article-masthead > .mach-article-masthead__copy > h1 {
  font-size:clamp(30px,2.7vw,43px)!important;
  line-height:1.07!important;
  margin-bottom:20px!important;
}
body.mach-behind-article .mach-article-masthead__media {
  padding:18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#ecece8!important;
}
body.mach-behind-article .mach-article-masthead .mach-article-hero-image {
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:4/3!important;
  margin:0!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.mach-behind-article .mach-article-masthead .mach-article-hero-image img {
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
body.mach-behind-article .mach-article-masthead .mach-article-hero-image span {
  left:12px!important;
  bottom:12px!important;
  padding:7px 9px!important;
  font-size:9px!important;
}
/* Fallback in case Shoptet DOM timing prevents masthead restructuring. */
body.mach-behind-article .mach-article-page > .mach-article-hero-image {
  width:min(440px,100%)!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4/3!important;
  margin:22px auto 34px!important;
  box-shadow:none!important;
}
body.mach-behind-article .mach-article-page > .mach-article-hero-image img {
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
body.mach-behind-article .mach-article-masthead + .mach-article-content-shell,
body.mach-behind-article .mach-article-content-shell {
  padding-top:0!important;
  margin-top:0!important;
}

@media (max-width:900px) {
  body.mach-behind-article .mach-article-masthead {
    grid-template-columns:1fr!important;
  }
  body.mach-behind-article .mach-article-masthead__media {
    order:-1!important;
    padding:12px!important;
  }
  body.mach-behind-article .mach-article-masthead .mach-article-hero-image {
    aspect-ratio:16/9!important;
  }
}

/* =========================================================
   v1.24 — universal category / subcategory redesign
   Applies to every Shoptet category page that contains
   the native .subcategories list.
   ========================================================= */

body.mach-category-modern #content,
body.mach-category-modern #content-wrapper {
  background:#fff;
}

body.mach-category-modern #content .content-inner,
body.mach-category-modern #content > .content-inner {
  padding-top:12px;
}

body.mach-category-modern #content h1 {
  max-width:1040px;
  margin:12px 0 18px;
  color:#151515;
  font:700 clamp(30px,3vw,44px)/1.06 'Exo 2',sans-serif;
  letter-spacing:-.035em;
}

body.mach-category-modern .mach-category-kicker {
  margin-top:20px;
  color:#b18400;
  font:800 11px/1.2 'Exo 2',sans-serif;
  letter-spacing:.13em;
  text-transform:uppercase;
}

body.mach-category-modern .mach-category-intro-copy {
  max-width:1180px;
  color:#555955;
  font-size:15px;
  line-height:1.7;
}

body.mach-category-modern .mach-category-intro-copy strong {
  color:#171818;
}

body.mach-category-modern .mach-category-section-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:40px;
  margin:48px 0 20px;
  padding-top:30px;
  border-top:1px solid #e5e5e1;
}

body.mach-category-modern .mach-category-section-head__eyebrow {
  display:block;
  margin-bottom:8px;
  color:#b18400;
  font:800 10px/1.2 'Exo 2',sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}

body.mach-category-modern .mach-category-section-head h2 {
  margin:0;
  color:#171818;
  font:700 clamp(24px,2vw,32px)/1.1 'Exo 2',sans-serif;
  letter-spacing:-.025em;
}

body.mach-category-modern .mach-category-section-head p {
  max-width:470px;
  margin:0;
  color:#71736f;
  font-size:13px;
  line-height:1.55;
}

/* Native Shoptet subcategories -> modern cards */
body.mach-category-modern .subcategories.mach-subcategories-modern {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  margin:0 0 54px!important;
  padding:0!important;
}

body.mach-category-modern .subcategories.mach-subcategories-modern > li {
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  border:0!important;
  list-style:none!important;
}

body.mach-category-modern .subcategories.mach-subcategories-modern > li > a,
body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card {
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:15px!important;
  min-height:108px!important;
  height:100%!important;
  margin:0!important;
  padding:16px 42px 16px 22px!important;
  overflow:hidden!important;
  border:1px solid #dedfdb!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#222!important;
  text-align:left!important;
  text-decoration:none!important;
  box-shadow:none!important;
  transform:translateY(0);
  transition:transform .24s var(--mach-ease),border-color .24s var(--mach-ease),background-color .24s var(--mach-ease),box-shadow .24s var(--mach-ease)!important;
}

body.mach-category-modern .subcategories.mach-subcategories-modern > li > a::before,
body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card::before {
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:var(--mach-yellow);
  transition:width .24s var(--mach-ease),opacity .24s var(--mach-ease);
}

body.mach-category-modern .subcategories.mach-subcategories-modern > li > a::after,
body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card::after {
  content:'→';
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  color:#a7a8a4;
  font-size:18px;
  transition:transform .24s var(--mach-ease),color .24s var(--mach-ease);
}

body.mach-category-modern .subcategories.mach-subcategories-modern > li > a:hover,
body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card:hover {
  z-index:2;
  transform:translateY(-4px);
  border-color:#c9c9c4!important;
  background:#fbfbf8!important;
  box-shadow:0 16px 34px rgba(16,17,17,.08)!important;
}

body.mach-category-modern .subcategories.mach-subcategories-modern > li > a:hover::before,
body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card:hover::before {
  width:8px;
}

body.mach-category-modern .subcategories.mach-subcategories-modern > li > a:hover::after,
body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card:hover::after {
  color:#171818;
  transform:translate(4px,-50%);
}

body.mach-category-modern .subcategories.mach-subcategories-modern img {
  flex:0 0 auto;
  width:68px!important;
  height:68px!important;
  max-width:68px!important;
  max-height:68px!important;
  object-fit:contain!important;
  margin:0!important;
  padding:7px!important;
  border-radius:8px;
  background:#f4f4f1;
  filter:none!important;
  transition:transform .28s var(--mach-ease);
}

body.mach-category-modern .subcategories.mach-subcategories-modern a:hover img {
  transform:scale(1.055) translateY(-2px);
}

body.mach-category-modern .subcategories.mach-subcategories-modern a span,
body.mach-category-modern .subcategories.mach-subcategories-modern a strong {
  color:#2b2c2b!important;
  font-weight:700!important;
  line-height:1.25!important;
}

body.mach-category-modern .mach-category-featured-title {
  margin:56px 0 18px!important;
  padding-top:34px;
  border-top:1px solid #e5e5e1;
  color:#171818;
  font:700 clamp(24px,2.2vw,34px)/1.1 'Exo 2',sans-serif;
  letter-spacing:-.025em;
}

body.mach-category-modern .mach-category-featured-list,
body.mach-category-modern .products-block.mach-category-featured-list,
body.mach-category-modern .products.mach-category-featured-list {
  padding:18px!important;
  border:1px solid #e3e3df;
  border-radius:12px;
  background:#f5f5f2;
}

body.mach-category-modern .mach-category-featured-list > div {
  background:#fff!important;
}

/* Make category breadcrumbs quieter so the content hierarchy leads. */
body.mach-category-modern .breadcrumbs {
  margin-bottom:12px;
  border-bottom-color:#ecece8!important;
}

/* První Klik footer promotion */
.mach-footer__agency {
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  background:#0c0d0d;
}

.mach-footer__agency .mach-shell {
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.mach-footer__agency-copy {
  display:flex;
  align-items:center;
  gap:16px;
  color:#a8aba8;
}

.mach-footer__agency-copy span {
  color:#d0d2d0;
  font-size:12px;
}

.mach-footer__agency-copy strong {
  color:#fff;
  font:800 13px/1.2 'Exo 2',sans-serif;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.mach-footer__agency-link {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:800;
  transition:border-color .22s var(--mach-ease),color .22s var(--mach-ease),transform .22s var(--mach-ease),background .22s var(--mach-ease);
}

.mach-footer__agency-link b { color:var(--mach-yellow); }
.mach-footer__agency-link:hover {
  transform:translateY(-2px);
  border-color:var(--mach-yellow);
  background:rgba(255,196,0,.05);
  color:var(--mach-yellow)!important;
}

@media (max-width:1199px) {
  body.mach-category-modern .subcategories.mach-subcategories-modern { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
}

@media (max-width:899px) {
  body.mach-category-modern .subcategories.mach-subcategories-modern { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  body.mach-category-modern .mach-category-section-head { align-items:flex-start; flex-direction:column; gap:12px; }
}

@media (max-width:599px) {
  body.mach-category-modern #content h1 { font-size:30px; }
  body.mach-category-modern .subcategories.mach-subcategories-modern { grid-template-columns:1fr!important; gap:10px!important; }
  body.mach-category-modern .subcategories.mach-subcategories-modern > li > a,
  body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card { min-height:92px!important; padding:12px 40px 12px 18px!important; }
  body.mach-category-modern .subcategories.mach-subcategories-modern img { width:58px!important; height:58px!important; max-width:58px!important; max-height:58px!important; }
  .mach-footer__agency .mach-shell { align-items:flex-start; flex-direction:column; gap:12px; padding-block:18px; }
  .mach-footer__agency-copy { align-items:flex-start; flex-direction:column; gap:4px; }
}

/* =========================================================
   v1.25 — sticky cart preview, cart checkout refinement,
   featured concrete mega item
   ========================================================= */

/* 1) Cart preview follows the sticky header while scrolling. */
@media (min-width: 768px) {
  body.mach-redesign .cart-widget,
  body.mach-redesign .popup-widget.cart-widget,
  body.mach-redesign .mach-cart-panel.cart-widget,
  body.mach-redesign .mach-cart-panel.popup-widget {
    position: fixed !important;
    top: calc(var(--mach-sticky-admin-offset, 0px) + var(--mach-sticky-header-height, 96px) + 10px) !important;
    right: max(24px, calc((100vw - 1440px) / 2 + 24px)) !important;
    left: auto !important;
    bottom: auto !important;
    width: min(430px, calc(100vw - 48px)) !important;
    max-width: 430px !important;
    max-height: calc(100vh - var(--mach-sticky-admin-offset, 0px) - var(--mach-sticky-header-height, 96px) - 28px) !important;
    overflow: hidden !important;
    z-index: 10050 !important;
    border: 1px solid #deded8 !important;
    border-radius: 0 0 14px 14px !important;
    background: #fff !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.16) !important;
  }

  body.mach-redesign .cart-widget .cart-widget-products,
  body.mach-redesign .cart-widget .cart-widget-product-list,
  body.mach-redesign .cart-widget .cart-widget-inner,
  body.mach-redesign .popup-widget.cart-widget .popup-widget-inner {
    max-height: calc(100vh - var(--mach-sticky-admin-offset, 0px) - var(--mach-sticky-header-height, 96px) - 150px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
  }
}

/* Keep the mini-cart action permanently visible. */
body.mach-redesign .cart-widget-button,
body.mach-redesign .popup-widget.cart-widget .cart-widget-button {
  position: sticky;
  bottom: 0;
  z-index: 3;
  background: var(--mach-yellow) !important;
}

/* 2) Stronger visual priority for complete concrete assemblies in Products mega-menu. */
@media (min-width: 992px) {
  body.mach-redesign .mach-mega--products .mach-mega__item--featured,
  body.mach-redesign .mach-mega--products .mach-mega__item[href*="betonove-stavebnice-hup-mach--kompletni-sestavy"] {
    position: relative;
    min-height: 82px;
    padding: 12px 40px 12px 18px !important;
    border: 1px solid #ece8da !important;
    border-left: 5px solid var(--mach-yellow) !important;
    border-radius: 8px !important;
    background: linear-gradient(90deg, rgba(255,196,0,.13), rgba(255,255,255,.96) 64%) !important;
    transition: transform .22s var(--mach-ease), border-color .22s var(--mach-ease), background .22s var(--mach-ease);
  }

  body.mach-redesign .mach-mega--products .mach-mega__item--featured:hover,
  body.mach-redesign .mach-mega--products .mach-mega__item[href*="betonove-stavebnice-hup-mach--kompletni-sestavy"]:hover {
    transform: translateX(4px);
    border-color: var(--mach-yellow) !important;
    background: linear-gradient(90deg, rgba(255,196,0,.2), #fff 68%) !important;
  }

  body.mach-redesign .mach-mega--products .mach-mega__item--featured b,
  body.mach-redesign .mach-mega--products .mach-mega__item[href*="betonove-stavebnice-hup-mach--kompletni-sestavy"] b {
    color: #111 !important;
    font-weight: 900 !important;
  }

  body.mach-redesign .mach-mega--products .mach-mega__item--featured::after,
  body.mach-redesign .mach-mega--products .mach-mega__item[href*="betonove-stavebnice-hup-mach--kompletni-sestavy"]::after {
    content: 'HLAVNÍ KATEGORIE';
    position: absolute;
    right: 14px;
    top: 10px;
    color: #9b7800;
    font: 800 8px/1 'Exo 2', sans-serif;
    letter-spacing: .09em;
  }
}

/* 3) Cart page — remove the legacy horizontal scrollbar and restore a clean content width. */
body.mach-cart-page {
  overflow-x: hidden !important;
}

body.mach-cart-page #content-wrapper,
body.mach-cart-page #content,
body.mach-cart-page .content-wrapper,
body.mach-cart-page .content-wrapper-in,
body.mach-cart-page .cart-wrapper {
  max-width: 100% !important;
  min-width: 0 !important;
}

body.mach-cart-page .cart-wrapper {
  overflow: visible !important;
  padding-bottom: 30px;
}

body.mach-cart-page .cart-table,
body.mach-cart-page table.cart-table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: auto !important;
}

body.mach-cart-page .cart-table td,
body.mach-cart-page .cart-table th {
  min-width: 0 !important;
}

body.mach-cart-page .cart-table .p-name,
body.mach-cart-page .cart-table .main-link {
  white-space: normal !important;
  overflow-wrap: anywhere;
}

body.mach-cart-page .cart-content,
body.mach-cart-page .cart-summary,
body.mach-cart-page .checkout-content-wrapper,
body.mach-cart-page .ordering-process-content {
  max-width: 100% !important;
  min-width: 0 !important;
}

body.mach-cart-page .mach-cart-page-title {
  max-width: 1380px;
  margin: 26px auto 20px;
  padding: 0 20px;
}

body.mach-cart-page .mach-cart-page-title__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #a07800;
  font: 800 10px/1.2 'Exo 2',sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.mach-cart-page .mach-cart-page-title h1 {
  margin: 0;
  color: #171818;
  font: 800 clamp(28px,3vw,42px)/1.05 'Exo 2',sans-serif;
  letter-spacing: -.035em;
}

body.mach-cart-page .mach-cart-page-title p {
  margin: 8px 0 0;
  color: #71736f;
  font-size: 14px;
}

/* Slightly tighten the native three-step header so the new title has room. */
body.mach-cart-page ol.cart-header,
body.mach-cart-page .cart-header {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  body.mach-cart-page .mach-cart-page-title { margin-top: 18px; }
  body.mach-cart-page .cart-wrapper { overflow-x: auto !important; }
}

/* =========================================================
   v1.26 — compact category directory + modern pagination
   ========================================================= */
body.mach-category-modern .mach-category-section-head{
  margin:24px 0 14px!important;
  padding-top:18px!important;
}
body.mach-category-modern .mach-category-section-head h2{
  font-size:clamp(20px,1.7vw,27px)!important;
}
body.mach-category-modern .mach-category-section-head p{
  max-width:520px!important;
  font-size:12px!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:9px!important;
  margin:0 0 28px!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern > li > a,
body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card{
  min-height:74px!important;
  padding:9px 34px 9px 14px!important;
  gap:10px!important;
  border-radius:7px!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern > li > a::before,
body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card::before{width:4px!important}
body.mach-category-modern .subcategories.mach-subcategories-modern img{
  display:block!important;
  flex:0 0 48px!important;
  width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;
  padding:4px!important;border-radius:6px!important;background:#f5f5f2!important;
  opacity:1!important;visibility:visible!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern a span,
body.mach-category-modern .subcategories.mach-subcategories-modern a strong{
  font-size:12px!important;line-height:1.2!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern > li > a:hover,
body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 10px 24px rgba(16,17,17,.08)!important;
}
/* Bestseller module is intentionally removed on category listings. */
body.mach-category-modern .mach-category-featured-title,
body.mach-category-modern .mach-category-featured-list{display:none!important}

/* Product-list controls / pagination as one dark finishing bar. */
body.mach-category-modern .pagination-wrapper,
body.mach-category-modern .pagination,
body.mach-category-modern .load-more,
body.mach-category-modern .products-footer,
body.mach-category-modern .category-pagination{
  border:0!important;
}
body.mach-category-modern .mach-category-navbar{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
  margin:34px 0 0!important;
  padding:16px 20px!important;
  min-height:68px;
  background:#171818;
  border-top:4px solid var(--mach-yellow);
  color:#fff;
}
body.mach-category-modern .mach-category-navbar .pagination,
body.mach-category-modern .mach-category-navbar .pagination-wrapper,
body.mach-category-modern .mach-category-navbar .load-more{
  margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;
}
body.mach-category-modern .mach-category-navbar a,
body.mach-category-modern .mach-category-navbar button{
  display:inline-flex!important;align-items:center;justify-content:center;min-height:38px;
  padding:9px 14px!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:0!important;
  background:transparent!important;color:#fff!important;font-weight:800!important;text-decoration:none!important;
  transition:.2s ease!important;
}
body.mach-category-modern .mach-category-navbar a:hover,
body.mach-category-modern .mach-category-navbar button:hover{
  border-color:var(--mach-yellow)!important;background:var(--mach-yellow)!important;color:#111!important;
}
body.mach-category-modern .mach-category-navbar .current,
body.mach-category-modern .mach-category-navibar .active{color:var(--mach-yellow)!important}
@media(max-width:1199px){body.mach-category-modern .subcategories.mach-subcategories-modern{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:899px){body.mach-category-modern .subcategories.mach-subcategories-modern{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:650px){
 body.mach-category-modern .subcategories.mach-subcategories-modern{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 body.mach-category-modern .subcategories.mach-subcategories-modern > li > a,
 body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card{min-height:68px!important;padding:8px 28px 8px 11px!important}
 body.mach-category-modern .subcategories.mach-subcategories-modern img{width:42px!important;height:42px!important;max-width:42px!important;max-height:42px!important;flex-basis:42px!important}
 body.mach-category-modern .mach-category-navbar{grid-template-columns:1fr;padding:14px!important;text-align:center}
}
\n\n/* =========================================================\n   v1.27 — mini-cart, checkout surface, mega images, nav bar fix\n   ========================================================= */\n\n/* Mini-cart follows the actual cart trigger precisely. */\n@media (min-width:768px) {\n  body.mach-redesign .cart-widget,\n  body.mach-redesign .popup-widget.cart-widget,\n  body.mach-redesign .mach-cart-panel.cart-widget,\n  body.mach-redesign .mach-cart-panel.popup-widget {\n    top:var(--mach-cart-popup-top, calc(var(--mach-sticky-admin-offset,0px) + var(--mach-sticky-header-height,96px) + 2px))!important;\n    right:var(--mach-cart-popup-right, 24px)!important;\n    width:min(410px,calc(100vw - 28px))!important;\n    max-width:410px!important;\n    border-radius:0 0 10px 10px!important;\n    box-shadow:0 14px 32px rgba(0,0,0,.14)!important;\n  }\n  body.mach-redesign .cart-widget .cart-widget-products,\n  body.mach-redesign .cart-widget .cart-widget-product-list,\n  body.mach-redesign .cart-widget .cart-widget-inner,\n  body.mach-redesign .popup-widget.cart-widget .popup-widget-inner {\n    max-height:calc(100vh - var(--mach-cart-popup-top,110px) - 64px)!important;\n  }\n}\n\n/* Compact yellow CTA — no oversized yellow slab. */\nbody.mach-redesign .cart-widget-button,\nbody.mach-redesign .popup-widget.cart-widget .cart-widget-button {\n  min-height:56px!important;\n  height:56px!important;\n  padding:0 22px!important;\n  display:flex!important;\n  align-items:center!important;\n  justify-content:flex-end!important;\n  background:var(--mach-yellow)!important;\n}\nbody.mach-redesign .cart-widget-button a,\nbody.mach-redesign .popup-widget.cart-widget .cart-widget-button a,\nbody.mach-redesign .cart-widget-button .btn {\n  min-height:56px!important;\n  height:56px!important;\n  padding:0!important;\n  display:flex!important;\n  align-items:center!important;\n  justify-content:flex-end!important;\n  width:100%!important;\n  background:transparent!important;\n  border:0!important;\n  box-shadow:none!important;\n  color:#111!important;\n  font-weight:900!important;\n}\n\n/* Main cart: one continuous clean surface, no stepped white backgrounds. */\nbody.mach-cart-page { background:#f5f5f2!important; }\nbody.mach-cart-page #content-wrapper,\nbody.mach-cart-page #content,\nbody.mach-cart-page .content-wrapper,\nbody.mach-cart-page .content-wrapper-in { background:transparent!important; }\nbody.mach-cart-page .cart-wrapper {\n  margin:0 auto 54px!important;\n  padding:0 0 28px!important;\n  max-width:1380px!important;\n  background:#fff!important;\n  border:1px solid #e1e1dc!important;\n  border-radius:0 0 14px 14px!important;\n  box-shadow:0 18px 45px rgba(18,18,18,.09)!important;\n}\nbody.mach-cart-page .cart-content,\nbody.mach-cart-page .cart-summary,\nbody.mach-cart-page .checkout-content-wrapper,\nbody.mach-cart-page .ordering-process-content,\nbody.mach-cart-page .cart-table { background:#fff!important; }\nbody.mach-cart-page .cart-summary { border-left:1px solid #ecece7!important; }\nbody.mach-cart-page .mach-cart-page-title {\n  margin-bottom:0!important;\n  padding:28px 40px 20px!important;\n  background:#fff!important;\n  border:1px solid #e1e1dc!important;\n  border-bottom:0!important;\n}\n\n/* Supplied category imagery in Products mega-menu. */\n@media (min-width:992px) {\n  body.mach-redesign .mach-mega--products .mach-mega__thumb {\n    width:64px!important;height:58px!important;flex:0 0 64px!important;\n    display:flex!important;align-items:center!important;justify-content:center!important;\n    padding:3px!important;background:#fff!important;border:1px solid #eeeae1!important;border-radius:7px!important;\n    overflow:hidden!important;\n  }\n  body.mach-redesign .mach-mega--products .mach-mega__thumb img {\n    width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;\n    object-fit:contain!important;object-position:center!important;display:block!important;\n  }\n}\n\n/* Category pager: all controls live inside a single modern black rail. */\nbody.mach-category-modern .mach-category-navbar {\n  display:grid!important;\n  grid-template-columns:1fr auto 1fr!important;\n  align-items:center!important;\n  gap:18px!important;\n  width:100%!important;\n  margin:30px 0 0!important;\n  padding:13px 16px!important;\n  min-height:64px!important;\n  background:#171818!important;\n  border-top:4px solid var(--mach-yellow)!important;\n  color:#fff!important;\n}\nbody.mach-category-modern .mach-category-navbar__left { justify-self:start; }\nbody.mach-category-modern .mach-category-navbar__center { justify-self:center; }\nbody.mach-category-modern .mach-category-navbar__right { justify-self:end; }\nbody.mach-category-modern .mach-category-navbar .pagination,\nbody.mach-category-modern .mach-category-navbar .pagination-wrapper,\nbody.mach-category-modern .mach-category-navbar .load-more {\n  display:flex!important;align-items:center!important;gap:6px!important;\n  margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important;\n}\nbody.mach-category-modern .mach-category-navbar a,\nbody.mach-category-modern .mach-category-navbar button,\nbody.mach-category-modern .mach-category-navbar input[type=button],\nbody.mach-category-modern .mach-category-navbar input[type=submit] {\n  min-height:38px!important;\n  padding:8px 14px!important;\n  border:1px solid rgba(255,255,255,.28)!important;\n  background:transparent!important;\n  color:#fff!important;\n}\nbody.mach-category-modern .mach-category-navbar a:hover,\nbody.mach-category-modern .mach-category-navbar button:hover {\n  border-color:var(--mach-yellow)!important;background:var(--mach-yellow)!important;color:#111!important;\n}\nbody.mach-category-modern .mach-category-navbar .current,\nbody.mach-category-modern .mach-category-navbar .active {\n  border-color:var(--mach-yellow)!important;color:var(--mach-yellow)!important;background:transparent!important;\n}\n@media(max-width:700px){\n  body.mach-category-modern .mach-category-navbar{grid-template-columns:1fr!important;gap:10px!important;text-align:center!important}\n  body.mach-category-modern .mach-category-navbar__left,\n  body.mach-category-modern .mach-category-navbar__center,\n  body.mach-category-modern .mach-category-navbar__right{justify-self:center!important}\n}\n
/* =========================================================
   v1.28 — cart precision + full-width category pager
   ========================================================= */

/* MINI CART: compact CTA and no artificial gap under the cart icon. */
@media (min-width:768px){
  body.mach-redesign .cart-widget,
  body.mach-redesign .popup-widget.cart-widget,
  body.mach-redesign .mach-cart-panel.cart-widget,
  body.mach-redesign .mach-cart-panel.popup-widget{
    margin-top:0!important;
    top:var(--mach-cart-popup-top, calc(var(--mach-sticky-admin-offset,0px) + var(--mach-sticky-header-height,96px)))!important;
    border-radius:0 0 9px 9px!important;
  }

  body.mach-redesign .cart-widget .cart-widget-products,
  body.mach-redesign .cart-widget .cart-widget-product-list,
  body.mach-redesign .cart-widget .cart-widget-inner,
  body.mach-redesign .popup-widget.cart-widget .popup-widget-inner{
    max-height:calc(100vh - var(--mach-cart-popup-top,100px) - 52px)!important;
  }
}

body.mach-redesign .cart-widget-button,
body.mach-redesign .popup-widget.cart-widget .cart-widget-button{
  box-sizing:border-box!important;
  min-height:44px!important;
  height:44px!important;
  max-height:44px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:var(--mach-yellow)!important;
  border-radius:0 0 8px 8px!important;
}
body.mach-redesign .cart-widget-button > *,
body.mach-redesign .popup-widget.cart-widget .cart-widget-button > *,
body.mach-redesign .cart-widget-button a,
body.mach-redesign .cart-widget-button .btn,
body.mach-redesign .popup-widget.cart-widget .cart-widget-button a,
body.mach-redesign .popup-widget.cart-widget .cart-widget-button .btn{
  box-sizing:border-box!important;
  min-height:44px!important;
  height:44px!important;
  max-height:44px!important;
  margin:0!important;
  padding:0 18px!important;
  line-height:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:#111!important;
  font-size:12px!important;
  font-weight:900!important;
}
body.mach-redesign .cart-widget-button .btn:after,
body.mach-redesign .popup-widget.cart-widget .cart-widget-button .btn:after{
  margin-left:12px!important;
}

/* CART PAGE: one single surface. Remove the layered / stepped Shoptet boxes. */
body.mach-cart-page{
  background:#f4f4f1!important;
}
body.mach-cart-page #content-wrapper{
  background:#f4f4f1!important;
  padding-bottom:64px!important;
}
body.mach-cart-page #content,
body.mach-cart-page .content-wrapper{
  background:transparent!important;
}
body.mach-cart-page .content-wrapper-in{
  box-sizing:border-box!important;
  width:min(1380px,calc(100% - 48px))!important;
  max-width:1380px!important;
  margin:22px auto 0!important;
  padding:0!important;
  background:#fff!important;
  border:1px solid #e2e2dc!important;
  border-radius:12px!important;
  overflow:hidden!important;
  box-shadow:0 18px 45px rgba(18,18,18,.09)!important;
}
body.mach-cart-page .mach-cart-page-title{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:30px 40px 22px!important;
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mach-cart-page .cart-wrapper{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0 20px 28px!important;
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.mach-cart-page .cart-inner,
body.mach-cart-page .cart-content,
body.mach-cart-page .cart-summary,
body.mach-cart-page .ordering-process-content,
body.mach-cart-page .checkout-content-wrapper,
body.mach-cart-page .cart-table,
body.mach-cart-page table.cart-table{
  box-sizing:border-box!important;
  max-width:100%!important;
  background:#fff!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mach-cart-page .cart-summary{
  margin:0!important;
}
body.mach-cart-page ol.cart-header,
body.mach-cart-page .cart-header{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
@media(max-width:767px){
  body.mach-cart-page .content-wrapper-in{width:100%!important;margin-top:0!important;border-left:0!important;border-right:0!important;border-radius:0!important}
  body.mach-cart-page .mach-cart-page-title{padding:22px 18px 16px!important}
  body.mach-cart-page .cart-wrapper{padding-inline:10px!important;overflow-x:auto!important}
}

/* CATEGORY LISTING: full-bleed black navigation rail attached to the following yellow CTA area. */
body.mach-category-modern .mach-category-navbar{
  box-sizing:border-box!important;
  width:100vw!important;
  max-width:none!important;
  margin:34px 0 0 calc(50% - 50vw)!important;
  padding:14px max(28px,calc((100vw - 1380px)/2))!important;
  min-height:68px!important;
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center!important;
  gap:20px!important;
  background:#171818!important;
  border:0!important;
  border-top:4px solid var(--mach-yellow)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mach-category-modern .mach-category-navbar__left{justify-self:start!important}
body.mach-category-modern .mach-category-navbar__center{justify-self:center!important}
body.mach-category-modern .mach-category-navbar__right{justify-self:end!important}
body.mach-category-modern .mach-category-navbar a,
body.mach-category-modern .mach-category-navbar button,
body.mach-category-modern .mach-category-navbar input[type=button],
body.mach-category-modern .mach-category-navbar input[type=submit]{
  min-height:40px!important;
  padding:8px 15px!important;
  border:1px solid rgba(255,255,255,.30)!important;
  color:#fff!important;
  background:#171818!important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease!important;
}
body.mach-category-modern .mach-category-navbar a:hover,
body.mach-category-modern .mach-category-navbar button:hover,
body.mach-category-modern .mach-category-navbar input[type=button]:hover,
body.mach-category-modern .mach-category-navbar input[type=submit]:hover{
  background:var(--mach-yellow)!important;
  border-color:var(--mach-yellow)!important;
  color:#111!important;
  transform:translateY(-1px)!important;
}
body.mach-category-modern .mach-category-navbar .current,
body.mach-category-modern .mach-category-navbar .active{
  color:var(--mach-yellow)!important;
  border-color:var(--mach-yellow)!important;
}
/* Pull the footer/CTA up so black and yellow read as one deliberate composition. */
body.mach-category-modern .mach-category-navbar ~ .mach-footer-cta,
body.mach-category-modern .mach-category-navbar + .mach-footer-cta,
body.mach-category-modern .mach-category-navbar ~ .mach-footer__cta{
  margin-top:0!important;
}
@media(max-width:700px){
  body.mach-category-modern .mach-category-navbar{
    width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    padding:12px 16px!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
  }
  body.mach-category-modern .mach-category-navbar__left,
  body.mach-category-modern .mach-category-navbar__center,
  body.mach-category-modern .mach-category-navbar__right{justify-self:center!important}
}

/* =========================================================
   v1.29 — product detail redesign + category/footer seam
   ========================================================= */
/* Remove the empty strip between category navigation and the MACH footer CTA. */
body.mach-category-modern .mach-category-navbar{margin-bottom:0!important}
body.mach-category-modern .mach-category-navbar + *:empty{display:none!important}
body.mach-category-modern .mach-category-navbar ~ .mach-footer{margin-top:0!important}
body.mach-category-modern .mach-footer{margin-top:0!important}
body.mach-category-modern .mach-footer__cta{margin-top:0!important}

body.mach-product-modern{background:#f4f4f1}
body.mach-product-modern #content-wrapper{background:#f4f4f1!important}
body.mach-product-modern #content{max-width:1380px;margin-inline:auto}
body.mach-product-modern .p-detail{background:#fff;border:1px solid #e3e3de;box-shadow:0 18px 45px rgba(0,0,0,.055);padding:30px 34px 26px;margin-top:18px}
body.mach-product-modern .p-detail-inner{gap:38px}
body.mach-product-modern .p-detail h1,
body.mach-product-modern h1.product-title{font-family:'Exo 2',sans-serif!important;font-weight:700!important;letter-spacing:-.025em!important;line-height:1.12!important;font-size:clamp(25px,2.1vw,35px)!important;margin-bottom:9px!important;color:#151515!important}
body.mach-product-modern .p-detail .stars-wrapper{color:#777;font-size:12px}
body.mach-product-modern .p-image-wrapper{background:#fafaf8;border:1px solid #ecece7;padding:18px;min-height:470px;display:flex;align-items:center;justify-content:center}
body.mach-product-modern .p-image-wrapper img{max-height:480px;object-fit:contain;mix-blend-mode:multiply}
body.mach-product-modern .p-thumbnails{margin-top:10px!important;gap:7px!important}
body.mach-product-modern .p-thumbnails a{border:1px solid #deded8!important;background:#fff!important;transition:.18s ease!important}
body.mach-product-modern .p-thumbnails a:hover,
body.mach-product-modern .p-thumbnails a.highlighted{border-color:var(--mach-yellow)!important;transform:translateY(-2px)}
body.mach-product-modern .p-info-wrapper{padding:10px 0 0}
body.mach-product-modern .p-final-price-wrapper,
body.mach-product-modern .price-final{margin-bottom:16px!important}
body.mach-product-modern .p-final-price,
body.mach-product-modern .price-final strong{font-family:'Exo 2',sans-serif!important;font-size:34px!important;font-weight:800!important;color:#151515!important;letter-spacing:-.035em}
body.mach-product-modern .mach-buy-panel{background:#171818;color:#fff;padding:24px 24px 20px;border-top:4px solid var(--mach-yellow);margin:10px 0 18px}
body.mach-product-modern .mach-buy-panel .variant-list,
body.mach-product-modern .mach-buy-panel .detail-parameters{margin:0}
body.mach-product-modern .mach-buy-panel label{color:#d7d7d2!important}
body.mach-product-modern .mach-buy-panel select{background:#fff!important;border:0!important;min-height:44px!important}
body.mach-product-modern .mach-buy-panel .add-to-cart{margin-top:14px}
body.mach-product-modern .mach-buy-panel .btn-conversion,
body.mach-product-modern .mach-buy-panel button[type=submit]{background:var(--mach-yellow)!important;color:#111!important;border:0!important;min-height:50px!important;font-weight:900!important;box-shadow:none!important;transition:transform .18s ease,filter .18s ease!important}
body.mach-product-modern .mach-buy-panel .btn-conversion:hover,
body.mach-product-modern .mach-buy-panel button[type=submit]:hover{transform:translateY(-2px);filter:brightness(1.04)}
body.mach-product-modern .p-short-description{border-left:4px solid var(--mach-yellow);padding:15px 17px!important;background:#f5f5f1;line-height:1.65;margin-top:16px!important}
body.mach-product-modern .social-buttons-wrapper{border-top:1px solid #e4e4df;padding-top:16px;margin-top:18px}

/* Tabs and long description become a deliberate editorial/technical section. */
body.mach-product-modern .shp-tabs-holder{margin-top:34px!important;background:#171818!important;border:0!important;padding:0 24px!important}
body.mach-product-modern .shp-tabs-holder .shp-tabs{margin:0!important}
body.mach-product-modern .shp-tabs-holder a{color:#bbb!important;padding:17px 20px!important;font-weight:800!important;border:0!important;background:transparent!important}
body.mach-product-modern .shp-tabs-holder .active a{color:#111!important;background:var(--mach-yellow)!important}
body.mach-product-modern .description-inner{background:#fff!important;border:1px solid #e3e3de;border-top:0;padding:34px 36px!important;margin-bottom:0!important}
body.mach-product-modern .description-inner .basic-description,
body.mach-product-modern .description-inner .extended-description{line-height:1.72;color:#252525}
body.mach-product-modern .description-inner h2{font-family:'Exo 2',sans-serif!important;font-weight:700!important;font-size:26px!important;letter-spacing:-.02em;margin:0 0 18px!important}
body.mach-product-modern .description-inner h3{font-family:'Exo 2',sans-serif!important;font-size:19px!important;font-weight:700!important;margin:25px 0 9px!important;padding-left:13px;border-left:4px solid var(--mach-yellow)}
body.mach-product-modern .description-inner p{margin:0 0 17px!important}
body.mach-product-modern .description-inner .detail-parameters{background:#f5f5f1!important;border-top:4px solid var(--mach-yellow);padding:22px!important}
body.mach-product-modern .description-inner .detail-parameters th,
body.mach-product-modern .description-inner .detail-parameters td{padding:8px 0!important;border-bottom:1px solid #ddd!important}
body.mach-product-modern .description-inner strong{font-weight:800}

@media(min-width:992px){
 body.mach-product-modern .description-inner{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(280px,.8fr)!important;gap:54px!important;align-items:start!important}
}
@media(max-width:767px){
 body.mach-product-modern .p-detail{padding:18px 14px;margin-top:8px;border-left:0;border-right:0}
 body.mach-product-modern .p-image-wrapper{min-height:300px;padding:10px}
 body.mach-product-modern .p-image-wrapper img{max-height:330px}
 body.mach-product-modern .mach-buy-panel{padding:18px 14px}
 body.mach-product-modern .description-inner{padding:24px 18px!important;border-left:0;border-right:0}
 body.mach-product-modern .shp-tabs-holder{padding:0 8px!important;overflow:auto}
}

/* =========================================================
   v1.30 — product detail refinement: lighter, cleaner buying UI
   ========================================================= */
body.mach-product-modern .p-detail{padding:28px 30px 24px!important}
body.mach-product-modern .p-info-wrapper{padding-top:2px!important}
body.mach-product-modern .p-final-price,
body.mach-product-modern .price-final strong{font-size:32px!important}

/* Replace the heavy black configurator block with a technical white card. */
body.mach-product-modern .mach-buy-panel{
  position:relative!important;
  background:#fff!important;
  color:#171818!important;
  padding:20px 22px 22px!important;
  margin:8px 0 16px!important;
  border:1px solid #deded8!important;
  border-top:4px solid var(--mach-yellow)!important;
  border-radius:0!important;
  box-shadow:0 12px 28px rgba(17,17,17,.055)!important;
}
body.mach-product-modern .mach-buy-panel:before{
  content:'NASTAVENÍ PRODUKTU';display:block;margin:0 0 16px;color:#a97600;
  font-size:10px;font-weight:900;letter-spacing:.14em;
}
body.mach-product-modern .mach-buy-panel .variant-list,
body.mach-product-modern .mach-buy-panel .detail-parameters{display:grid!important;gap:9px!important;width:100%!important}
body.mach-product-modern .mach-buy-panel .variant-list > div,
body.mach-product-modern .mach-buy-panel .variant-list .variant,
body.mach-product-modern .mach-buy-panel .detail-parameters > div{
  display:grid!important;grid-template-columns:minmax(135px,.72fr) minmax(190px,1fr)!important;
  align-items:center!important;gap:14px!important;margin:0!important;
}
body.mach-product-modern .mach-buy-panel label{
  color:#555!important;font-size:12px!important;font-weight:700!important;line-height:1.3!important;margin:0!important;
}
body.mach-product-modern .mach-buy-panel select{
  width:100%!important;height:46px!important;min-height:46px!important;padding:0 42px 0 14px!important;
  color:#171818!important;background-color:#f7f7f4!important;border:1px solid #d7d7d1!important;
  border-radius:0!important;font-weight:700!important;box-shadow:none!important;outline:none!important;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important;
}
body.mach-product-modern .mach-buy-panel select:hover{border-color:#a9a9a2!important;background:#fff!important}
body.mach-product-modern .mach-buy-panel select:focus{border-color:var(--mach-yellow)!important;background:#fff!important;box-shadow:0 0 0 3px rgba(255,192,0,.16)!important}
body.mach-product-modern .mach-buy-panel .delivery-time,
body.mach-product-modern .mach-buy-panel .availability-label,
body.mach-product-modern .mach-buy-panel a{color:#9c7200!important}
body.mach-product-modern .mach-buy-panel .add-to-cart{
  display:flex!important;align-items:stretch!important;gap:8px!important;margin:16px 0 0!important;padding-top:16px!important;border-top:1px solid #e4e4df!important;
}
body.mach-product-modern .mach-buy-panel .quantity{height:50px!important;margin:0!important}
body.mach-product-modern .mach-buy-panel .quantity input{height:50px!important;background:#fff!important;color:#111!important;border:1px solid #cfcfc9!important}
body.mach-product-modern .mach-buy-panel .btn-conversion,
body.mach-product-modern .mach-buy-panel button[type=submit]{
  min-height:50px!important;padding-inline:25px!important;background:var(--mach-yellow)!important;color:#111!important;
  font-size:13px!important;font-weight:900!important;border-radius:0!important;box-shadow:none!important;
}
body.mach-product-modern .mach-buy-panel .btn-conversion:hover,
body.mach-product-modern .mach-buy-panel button[type=submit]:hover{background:#ffd028!important;transform:translateY(-1px)!important}
body.mach-product-modern .p-short-description{background:#fafaf7!important;border-left:3px solid var(--mach-yellow)!important;padding:14px 16px!important;font-size:12px!important}

/* Make the lower product content calmer and more premium. */
body.mach-product-modern .shp-tabs-holder{margin-top:30px!important;min-height:52px!important;padding:0 18px!important}
body.mach-product-modern .shp-tabs-holder a{padding:16px 18px!important;font-size:12px!important}
body.mach-product-modern .description-inner{padding:32px 36px 38px!important;gap:46px!important}
body.mach-product-modern .description-inner h2{font-size:21px!important;padding-left:14px!important;border-left:4px solid var(--mach-yellow)!important}
body.mach-product-modern .description-inner .detail-parameters{padding:0!important;background:#f5f5f1!important;border-top:0!important}
body.mach-product-modern .description-inner .detail-parameters h2,
body.mach-product-modern .description-inner .detail-parameters h3{margin:0!important;padding:14px 16px!important;background:#171818!important;color:#fff!important;border:0!important;font-size:17px!important}
body.mach-product-modern .description-inner .detail-parameters table{margin:0!important;width:100%!important}
body.mach-product-modern .description-inner .detail-parameters th,
body.mach-product-modern .description-inner .detail-parameters td{padding:10px 14px!important}

@media(max-width:767px){
 body.mach-product-modern .mach-buy-panel .variant-list > div,
 body.mach-product-modern .mach-buy-panel .variant-list .variant,
 body.mach-product-modern .mach-buy-panel .detail-parameters > div{grid-template-columns:1fr!important;gap:5px!important}
 body.mach-product-modern .mach-buy-panel{padding:17px 14px 18px!important}
 body.mach-product-modern .mach-buy-panel .add-to-cart{flex-wrap:wrap!important}
 body.mach-product-modern .mach-buy-panel .btn-conversion,
 body.mach-product-modern .mach-buy-panel button[type=submit]{flex:1!important}
}

/* =========================================================
   v1.31 — product purchase row + clean description
   ========================================================= */

/* The old Shoptet tabs are unnecessary in the redesigned detail. */
body.mach-product-modern .shp-tabs-holder{
  display:none!important;
}
body.mach-product-modern .description-inner{
  margin-top:30px!important;
  border-top:1px solid #e3e3de!important;
}

/* Price belongs to the actual purchase action, not above the configurator. */
body.mach-product-modern .mach-buy-panel > .p-final-price-wrapper,
body.mach-product-modern .mach-buy-panel > .price-final,
body.mach-product-modern .mach-buy-panel > .p-final-price{
  display:none!important;
}
body.mach-product-modern .mach-purchase-row{
  display:grid!important;
  grid-template-columns:minmax(150px,.58fr) minmax(330px,1.42fr)!important;
  gap:20px!important;
  align-items:end!important;
  margin-top:18px!important;
  padding-top:18px!important;
  border-top:1px solid #e4e4df!important;
}
body.mach-product-modern .mach-purchase-price{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:3px!important;
  padding:0 2px 2px!important;
}
body.mach-product-modern .mach-purchase-price:before{
  content:'CENA';
  color:#8a8a82;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.14em;
}
body.mach-product-modern .mach-purchase-price .p-final-price-wrapper,
body.mach-product-modern .mach-purchase-price .p-final-price,
body.mach-product-modern .mach-purchase-price .price-final{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.mach-product-modern .mach-purchase-price .p-final-price,
body.mach-product-modern .mach-purchase-price .price-final,
body.mach-product-modern .mach-purchase-price .price-final strong,
body.mach-product-modern .mach-purchase-price strong{
  font-family:'Exo 2',sans-serif!important;
  font-size:27px!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
  font-weight:800!important;
  color:#151515!important;
  white-space:nowrap!important;
}
body.mach-product-modern .mach-purchase-price .price-standard,
body.mach-product-modern .mach-purchase-price .price-save,
body.mach-product-modern .mach-purchase-price small{
  font-size:10px!important;
  color:#777!important;
}

/* Refined amount + add-to-cart composition. */
body.mach-product-modern .mach-purchase-row .add-to-cart{
  display:flex!important;
  align-items:flex-end!important;
  gap:10px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  min-width:0!important;
}
body.mach-product-modern .mach-purchase-row .quantity{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(74px,90px) 30px!important;
  grid-template-rows:22px 26px!important;
  height:48px!important;
  min-width:104px!important;
  margin:0!important;
  border:1px solid #d7d7d1!important;
  background:#fff!important;
  overflow:hidden!important;
}
body.mach-product-modern .mach-purchase-row .quantity:before{
  content:'MNOŽSTVÍ';
  grid-column:1 / -1!important;
  display:flex!important;
  align-items:flex-end!important;
  padding:0 10px 3px!important;
  color:#777!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
  pointer-events:none!important;
}
body.mach-product-modern .mach-purchase-row .quantity input.amount,
body.mach-product-modern .mach-purchase-row .quantity input[type=number],
body.mach-product-modern .mach-purchase-row .quantity input[type=text]{
  grid-column:1!important;
  grid-row:2!important;
  width:100%!important;
  min-width:0!important;
  height:26px!important;
  padding:0 8px!important;
  border:0!important;
  border-right:1px solid #e4e4df!important;
  background:#fff!important;
  color:#151515!important;
  font-size:14px!important;
  font-weight:800!important;
  text-align:center!important;
  box-shadow:none!important;
}
body.mach-product-modern .mach-purchase-row .quantity .increase,
body.mach-product-modern .mach-purchase-row .quantity .decrease,
body.mach-product-modern .mach-purchase-row .quantity button,
body.mach-product-modern .mach-purchase-row .quantity a{
  width:30px!important;
  min-width:30px!important;
  height:13px!important;
  min-height:13px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-left:0!important;
  background:#f5f5f1!important;
  color:#111!important;
  box-shadow:none!important;
  font-size:10px!important;
  line-height:13px!important;
}
body.mach-product-modern .mach-purchase-row .quantity .increase{grid-column:2!important;grid-row:2!important;align-self:start!important}
body.mach-product-modern .mach-purchase-row .quantity .decrease{grid-column:2!important;grid-row:2!important;align-self:end!important}
body.mach-product-modern .mach-purchase-row .btn-conversion,
body.mach-product-modern .mach-purchase-row button[type=submit]{
  flex:1 1 auto!important;
  min-width:190px!important;
  min-height:48px!important;
  height:48px!important;
  padding:0 24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  background:var(--mach-yellow)!important;
  color:#111!important;
  border:1px solid var(--mach-yellow)!important;
  font-weight:900!important;
  font-size:13px!important;
  box-shadow:none!important;
  transition:transform .16s ease,background .16s ease!important;
}
body.mach-product-modern .mach-purchase-row .btn-conversion:hover,
body.mach-product-modern .mach-purchase-row button[type=submit]:hover{
  transform:translateY(-2px)!important;
  background:#ffd028!important;
}

/* Once moved to the purchase row, hide the original price slot completely. */
body.mach-product-modern .mach-price-placeholder{display:none!important}

@media(max-width:767px){
  body.mach-product-modern .mach-purchase-row{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.mach-product-modern .mach-purchase-row .add-to-cart{
    width:100%!important;
  }
  body.mach-product-modern .mach-purchase-row .btn-conversion,
  body.mach-product-modern .mach-purchase-row button[type=submit]{
    min-width:0!important;
  }
}

/* =========================================================
   v1.33 — quantity control polish
   ========================================================= */
body.mach-product-modern .mach-purchase-row .quantity{
  grid-template-columns:minmax(76px,92px) 34px!important;
  grid-template-rows:22px 28px!important;
  height:50px!important;
  min-width:110px!important;
  overflow:visible!important;
  border-color:#d5d5cf!important;
  border-radius:0!important;
  transition:border-color .18s ease,box-shadow .18s ease!important;
}
body.mach-product-modern .mach-purchase-row .quantity:focus-within{
  border-color:var(--mach-yellow)!important;
  box-shadow:0 0 0 2px rgba(255,193,0,.16)!important;
}
body.mach-product-modern .mach-purchase-row .quantity input.amount,
body.mach-product-modern .mach-purchase-row .quantity input[type=number],
body.mach-product-modern .mach-purchase-row .quantity input[type=text]{
  height:28px!important;
  outline:none!important;
  box-shadow:none!important;
  -webkit-appearance:textfield!important;
  appearance:textfield!important;
}
body.mach-product-modern .mach-purchase-row .quantity input:focus,
body.mach-product-modern .mach-purchase-row .quantity input:focus-visible{
  outline:none!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
body.mach-product-modern .mach-purchase-row .quantity input::-webkit-inner-spin-button,
body.mach-product-modern .mach-purchase-row .quantity input::-webkit-outer-spin-button{
  -webkit-appearance:none!important;
  margin:0!important;
}
body.mach-product-modern .mach-purchase-row .quantity .increase,
body.mach-product-modern .mach-purchase-row .quantity .decrease{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  min-width:34px!important;
  height:14px!important;
  min-height:14px!important;
  overflow:hidden!important;
  color:transparent!important;
  font-size:0!important;
  background:#f3f3ef!important;
  cursor:pointer!important;
  transition:background .16s ease!important;
}
body.mach-product-modern .mach-purchase-row .quantity .increase{border-bottom:1px solid #deded8!important}
body.mach-product-modern .mach-purchase-row .quantity .increase:hover,
body.mach-product-modern .mach-purchase-row .quantity .decrease:hover{background:var(--mach-yellow)!important}
body.mach-product-modern .mach-purchase-row .quantity .increase:before,
body.mach-product-modern .mach-purchase-row .quantity .decrease:before{
  content:''!important;
  width:7px!important;
  height:7px!important;
  border-top:2px solid #111!important;
  border-left:2px solid #111!important;
  transform:rotate(45deg) translate(1px,1px)!important;
}
body.mach-product-modern .mach-purchase-row .quantity .decrease:before{
  transform:rotate(225deg) translate(1px,1px)!important;
}

/* =========================================================
   v1.34 — deterministic quantity control + balanced product top
   ========================================================= */
/* Native Shoptet steppers vary by browser/template; hide them and use
   the dedicated MACH buttons injected by JS. */
body.mach-product-modern .mach-purchase-row .quantity .increase,
body.mach-product-modern .mach-purchase-row .quantity .decrease,
body.mach-product-modern .mach-purchase-row .quantity > button:not(.mach-qty-btn),
body.mach-product-modern .mach-purchase-row .quantity > a:not(.mach-qty-btn){
  display:none!important;
}
body.mach-product-modern .mach-purchase-row .quantity{
  display:grid!important;
  grid-template-columns:minmax(72px,86px) 34px!important;
  grid-template-rows:20px 32px!important;
  width:120px!important;
  min-width:120px!important;
  height:52px!important;
  overflow:hidden!important;
  border:1px solid #d8d8d2!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.mach-product-modern .mach-purchase-row .quantity:before{
  grid-column:1 / -1!important;
  grid-row:1!important;
  padding:6px 10px 0!important;
  align-items:flex-start!important;
  font-size:7px!important;
  letter-spacing:.15em!important;
  color:#777!important;
}
body.mach-product-modern .mach-purchase-row .quantity input.amount,
body.mach-product-modern .mach-purchase-row .quantity input[type=number],
body.mach-product-modern .mach-purchase-row .quantity input[type=text]{
  grid-column:1!important;
  grid-row:2!important;
  height:32px!important;
  width:100%!important;
  padding:0 6px!important;
  border:0!important;
  border-right:1px solid #e3e3dd!important;
  outline:0!important;
  box-shadow:none!important;
  background:#fff!important;
  color:#111!important;
  font-size:15px!important;
  line-height:32px!important;
  font-weight:900!important;
  text-align:center!important;
  -moz-appearance:textfield!important;
  appearance:textfield!important;
}
body.mach-product-modern .mach-purchase-row .quantity input:focus,
body.mach-product-modern .mach-purchase-row .quantity input:focus-visible{
  outline:0!important;
  box-shadow:none!important;
}
body.mach-product-modern .mach-purchase-row .quantity:focus-within{
  border-color:var(--mach-yellow)!important;
  box-shadow:0 0 0 2px rgba(255,193,0,.13)!important;
}
body.mach-product-modern .mach-qty-controls{
  grid-column:2!important;
  grid-row:2!important;
  display:grid!important;
  grid-template-rows:1fr 1fr!important;
  height:32px!important;
  width:34px!important;
}
body.mach-product-modern .mach-qty-btn{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:16px!important;
  min-width:34px!important;
  min-height:16px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:#f3f3ef!important;
  color:#111!important;
  cursor:pointer!important;
  box-shadow:none!important;
  position:relative!important;
  transition:background .14s ease!important;
}
body.mach-product-modern .mach-qty-btn:first-child{border-bottom:1px solid #deded8!important}
body.mach-product-modern .mach-qty-btn:hover{background:var(--mach-yellow)!important}
body.mach-product-modern .mach-qty-btn:focus,
body.mach-product-modern .mach-qty-btn:focus-visible{outline:0!important;box-shadow:inset 0 0 0 1px #111!important}
body.mach-product-modern .mach-qty-btn:before{
  content:''!important;
  width:6px!important;
  height:6px!important;
  border-top:2px solid currentColor!important;
  border-left:2px solid currentColor!important;
}
body.mach-product-modern .mach-qty-btn--plus:before{transform:rotate(45deg) translate(1px,1px)!important}
body.mach-product-modern .mach-qty-btn--minus:before{transform:rotate(225deg) translate(1px,1px)!important}

/* Use the otherwise empty area below the gallery for useful reassurance. */
body.mach-product-modern .mach-product-left-assurance{
  margin-top:14px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  border:1px solid #e3e3de!important;
  background:#fff!important;
}
body.mach-product-modern .mach-product-left-assurance__item{
  min-width:0!important;
  padding:14px 13px 13px!important;
  border-right:1px solid #e7e7e2!important;
}
body.mach-product-modern .mach-product-left-assurance__item:last-child{border-right:0!important}
body.mach-product-modern .mach-product-left-assurance__kicker{
  display:block!important;
  margin-bottom:4px!important;
  color:#a97800!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
body.mach-product-modern .mach-product-left-assurance__item strong{
  display:block!important;
  color:#171818!important;
  font-family:'Exo 2',sans-serif!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:800!important;
}
body.mach-product-modern .mach-product-left-assurance__item span:last-child{
  display:block!important;
  margin-top:3px!important;
  color:#777!important;
  font-size:10px!important;
  line-height:1.35!important;
}
@media(min-width:992px){
  body.mach-product-modern .p-detail-inner{align-items:start!important}
  body.mach-product-modern .p-image-wrapper{min-height:420px!important}
  body.mach-product-modern .p-image-wrapper img{max-height:430px!important}
}
@media(max-width:767px){
  body.mach-product-modern .mach-product-left-assurance{grid-template-columns:1fr!important}
  body.mach-product-modern .mach-product-left-assurance__item{border-right:0!important;border-bottom:1px solid #e7e7e2!important}
  body.mach-product-modern .mach-product-left-assurance__item:last-child{border-bottom:0!important}
}

/* =========================================================
   v1.35 — product media column / empty-space fix
   Robust support card mounted directly below the gallery.
   ========================================================= */
body.mach-product-modern .mach-product-media-column{
  overflow:visible!important;
}
body.mach-product-modern .mach-product-left-assurance{display:none!important;}
body.mach-product-modern .mach-product-media-support{
  display:block!important;
  width:100%!important;
  margin:18px 0 0!important;
  border:1px solid #deded8!important;
  background:#171818!important;
  color:#fff!important;
  position:relative!important;
  overflow:hidden!important;
}
body.mach-product-modern .mach-product-media-support:before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:4px;
  background:var(--mach-yellow,#ffc400);
}
body.mach-product-modern .mach-product-media-support__head{
  padding:20px 22px 17px 25px!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
}
body.mach-product-modern .mach-product-media-support__eyebrow{
  display:block!important;
  margin-bottom:6px!important;
  color:var(--mach-yellow,#ffc400)!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
}
body.mach-product-modern .mach-product-media-support__head strong{
  display:block!important;
  max-width:480px!important;
  color:#fff!important;
  font-family:'Exo 2',sans-serif!important;
  font-size:18px!important;
  line-height:1.3!important;
  font-weight:800!important;
}
body.mach-product-modern .mach-product-media-support__head p{
  margin:7px 0 0!important;
  max-width:520px!important;
  color:#bfc0bc!important;
  font-size:12px!important;
  line-height:1.55!important;
}
body.mach-product-modern .mach-product-media-support__grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  padding:0 10px!important;
}
body.mach-product-modern .mach-product-media-support__grid>div{
  min-width:0!important;
  padding:14px 14px 13px!important;
  border-right:1px solid rgba(255,255,255,.1)!important;
}
body.mach-product-modern .mach-product-media-support__grid>div:last-child{border-right:0!important;}
body.mach-product-modern .mach-product-media-support__grid b{
  display:block!important;
  color:#fff!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:800!important;
}
body.mach-product-modern .mach-product-media-support__grid span{
  display:block!important;
  margin-top:3px!important;
  color:#8f918d!important;
  font-size:9.5px!important;
  line-height:1.3!important;
}
body.mach-product-modern .mach-product-media-support__contact{
  display:grid!important;
  grid-template-columns:auto 1fr auto!important;
  gap:9px!important;
  align-items:center!important;
  padding:13px 18px 13px 25px!important;
  border-top:1px solid rgba(255,255,255,.1)!important;
  color:#fff!important;
  text-decoration:none!important;
  transition:background .2s ease,color .2s ease!important;
}
body.mach-product-modern .mach-product-media-support__contact span{
  color:#9d9f9a!important;
  font-size:10px!important;
}
body.mach-product-modern .mach-product-media-support__contact b{
  color:var(--mach-yellow,#ffc400)!important;
  font-size:12px!important;
  font-weight:900!important;
}
body.mach-product-modern .mach-product-media-support__contact i{
  color:var(--mach-yellow,#ffc400)!important;
  font-size:18px!important;
  font-style:normal!important;
  transition:transform .2s ease!important;
}
body.mach-product-modern .mach-product-media-support__contact:hover{
  background:#202121!important;
}
body.mach-product-modern .mach-product-media-support__contact:hover i{transform:translateX(4px)!important;}

@media(min-width:992px){
  body.mach-product-modern .p-detail-inner{align-items:stretch!important;}
  body.mach-product-modern .mach-product-media-column{
    display:flex!important;
    flex-direction:column!important;
    min-height:100%!important;
  }
}
@media(max-width:767px){
  body.mach-product-modern .mach-product-media-support__grid{grid-template-columns:1fr!important;padding:0!important;}
  body.mach-product-modern .mach-product-media-support__grid>div{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.1)!important;padding-left:25px!important;}
  body.mach-product-modern .mach-product-media-support__grid>div:last-child{border-bottom:0!important;}
  body.mach-product-modern .mach-product-media-support__contact{grid-template-columns:1fr auto!important;}
  body.mach-product-modern .mach-product-media-support__contact span{display:none!important;}
}

/* v1.36 — Jak stavebnice funguje: produktove obrazky 01–03 */
.mach-how-photo--product {
  background: linear-gradient(145deg,#f0f0ec 0%,#fbfbf8 100%) !important;
}
.mach-how-photo--product::after { display:none !important; }
.mach-how-photo--product img {
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  padding:16px 20px !important;
  background:transparent !important;
}

/* =========================================================
   v1.38 — mobile commerce, homepage illustration polish,
   complete how-images, product mobile fixes
   ========================================================= */

/* --- Homepage chooser: drawn technical illustrations --- */
body.mach-home-ready .mach-category-card__image{
  position:relative;
  overflow:hidden;
}
body.mach-home-ready .mach-category-card__image .mach-use-svg{
  width:min(170px,72%)!important;
  height:auto!important;
  max-height:178px!important;
  display:block!important;
  filter:drop-shadow(0 14px 14px rgba(0,0,0,.10));
  transition:transform .32s var(--mach-ease),filter .32s ease;
}
body.mach-home-ready .mach-category-card:hover .mach-use-svg{
  transform:translateY(-4px) scale(1.025);
  filter:drop-shadow(0 19px 18px rgba(0,0,0,.14));
}
body.mach-home-ready .mach-use-svg .mach-use-line{stroke:#333;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
body.mach-home-ready .mach-use-svg .mach-use-fill{fill:#e7e7e3;stroke:#aaa;stroke-width:1.2}
body.mach-home-ready .mach-use-svg .mach-use-dark{fill:#c7c8c4;stroke:#888a87;stroke-width:1.2}
body.mach-home-ready .mach-use-svg .mach-use-yellow{fill:#f6bd00;stroke:#c38f00;stroke-width:1.2}
body.mach-home-ready .mach-use-svg .mach-use-accent{stroke:#f6bd00;stroke-width:2.7;fill:none;stroke-linecap:round;stroke-linejoin:round}

/* --- How it works: always reveal the full supplied product image --- */
body.mach-home-ready .mach-how-photo--product{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:300px!important;
  padding:8px!important;
  background:linear-gradient(145deg,#f0f0ec 0%,#fbfbf8 100%)!important;
}
body.mach-home-ready .mach-how-photo--product img{
  width:auto!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:6px!important;
  margin:auto!important;
  background:transparent!important;
}

/* --- Custom mobile navigation: always visible and commerce-first --- */
.mach-mobile-nav,.mach-mobile-drawer{display:none}
@media(max-width:991px){
  body.mach-redesign #navigation{display:none!important}
  body.mach-redesign #header{
    position:sticky!important;
    top:var(--mach-sticky-admin-offset,0px)!important;
    z-index:9200!important;
    background:#fff!important;
    box-shadow:0 1px 0 #e2e2dd!important;
  }
  .mach-mobile-nav{
    display:grid!important;
    grid-template-columns:1fr 1.12fr 58px;
    position:sticky!important;
    top:calc(var(--mach-sticky-admin-offset,0px) + var(--mach-sticky-header-height,86px))!important;
    z-index:9100!important;
    min-height:54px;
    background:#fff;
    border-bottom:1px solid #deded9;
    box-shadow:0 7px 18px rgba(20,20,20,.06);
  }
  .mach-mobile-nav>a,.mach-mobile-nav>button{
    min-width:0;min-height:54px;border:0;border-right:1px solid #e3e3de;
    display:flex;align-items:center;justify-content:center;gap:8px;
    padding:0 12px;font:800 12px/1 'Exo 2','Source Sans 3',sans-serif;
    text-decoration:none!important;cursor:pointer;
  }
  .mach-mobile-nav__products{background:var(--mach-yellow)!important;color:#111!important}
  .mach-mobile-nav__config{background:#171818!important;color:#fff!important}
  .mach-mobile-nav__menu{background:#fff!important;color:#171818!important;border-right:0!important}
  .mach-mobile-nav__menu i,.mach-mobile-nav__menu i:before,.mach-mobile-nav__menu i:after{
    content:'';display:block;width:20px;height:2px;background:currentColor;position:relative;border-radius:10px;transition:.2s ease
  }
  .mach-mobile-nav__menu i:before{position:absolute;top:-6px;left:0}
  .mach-mobile-nav__menu i:after{position:absolute;top:6px;left:0}
  body.mach-mobile-menu-open .mach-mobile-nav__menu i{background:transparent}
  body.mach-mobile-menu-open .mach-mobile-nav__menu i:before{top:0;transform:rotate(45deg)}
  body.mach-mobile-menu-open .mach-mobile-nav__menu i:after{top:0;transform:rotate(-45deg)}

  .mach-mobile-drawer{
    display:block!important;
    position:fixed;
    left:0;right:0;
    top:calc(var(--mach-sticky-admin-offset,0px) + var(--mach-sticky-header-height,86px) + 54px);
    z-index:9050;
    max-height:calc(100dvh - var(--mach-sticky-header-height,86px) - 54px - var(--mach-sticky-admin-offset,0px));
    overflow:auto;
    background:#fff;
    border-bottom:4px solid var(--mach-yellow);
    box-shadow:0 24px 60px rgba(0,0,0,.18);
    transform:translateY(-12px);opacity:0;visibility:hidden;pointer-events:none;
    transition:transform .22s var(--mach-ease),opacity .18s ease,visibility .18s ease;
  }
  body.mach-mobile-menu-open .mach-mobile-drawer{transform:none;opacity:1;visibility:visible;pointer-events:auto}
  .mach-mobile-drawer__head{padding:18px 20px 10px;color:#a57600;font:900 10px/1.2 'Exo 2';letter-spacing:.14em;text-transform:uppercase}
  .mach-mobile-drawer__grid{display:grid;grid-template-columns:1fr 1fr;padding:0 12px 14px;gap:1px;background:#e8e8e3}
  .mach-mobile-drawer__grid a{background:#fff;color:#181818!important;text-decoration:none!important;padding:15px 14px;font-weight:800;font-size:13px;line-height:1.25;display:flex;justify-content:space-between;gap:8px;align-items:center}
  .mach-mobile-drawer__grid a:after{content:'→';color:#b38500;font-size:17px}
  .mach-mobile-drawer__pages{display:grid;grid-template-columns:1fr 1fr;background:#171818;padding:12px 14px;gap:0}
  .mach-mobile-drawer__pages a{color:#fff!important;text-decoration:none!important;padding:13px 10px;border-bottom:1px solid rgba(255,255,255,.1);font-weight:700;font-size:12px}
  .mach-mobile-drawer__pages a:nth-last-child(-n+2){border-bottom:0}
  body.mach-mobile-menu-open{overflow:hidden}

  /* Homepage mobile composition follows the approved desktop language. */
  body.mach-home-ready .mach-hero--showcase{overflow:hidden!important}
  body.mach-home-ready .mach-hero--showcase .mach-shell{width:calc(100% - 28px)!important}
  body.mach-home-ready .mach-hero--showcase .mach-hero__content{padding:28px 0 24px!important}
  body.mach-home-ready .mach-hero--showcase h1{font-size:clamp(42px,12vw,58px)!important;line-height:.96!important;letter-spacing:-.045em!important}
  body.mach-home-ready .mach-hero--showcase .mach-hero__lead{font-size:15px!important;line-height:1.55!important;margin:20px 0 22px!important}
  body.mach-home-ready .mach-hero--showcase .mach-hero__actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  body.mach-home-ready .mach-hero--showcase .mach-hero__actions .mach-btn{width:100%!important;min-height:54px!important;justify-content:center!important}
  body.mach-home-ready .mach-hero--showcase .mach-hero__visual--scene{width:calc(100% + 28px)!important;margin-left:-14px!important;aspect-ratio:1.05!important;min-height:330px!important;background:#111!important}
  body.mach-home-ready .mach-hero--showcase .mach-hero__scene-image{width:100%!important;height:100%!important;object-fit:cover!important;object-position:58% center!important}
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar__inner{grid-template-columns:1fr 1fr!important}

  body.mach-home-ready .mach-how-photo--product{height:250px!important}
}
@media(max-width:520px){
  .mach-mobile-drawer__grid{grid-template-columns:1fr!important}
  body.mach-home-ready .mach-hero--showcase .mach-hero__visual--scene{min-height:300px!important}
}

/* --- Product: remove native green 'Zvolte variantu' heading --- */
body.mach-product-modern .mach-hide-variant-heading{display:none!important}

/* --- Product mobile media support: prevent the QV-only narrow black strip --- */
@media(max-width:767px){
  body.mach-product-modern .mach-product-media-column,
  body.mach-product-modern .p-image,
  body.mach-product-modern .p-image-wrapper{width:100%!important;max-width:100%!important;float:none!important}
  body.mach-product-modern .mach-product-media-support{
    position:static!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:12px 0 18px!important;box-sizing:border-box!important;overflow:hidden!important;
  }
  body.mach-product-modern .mach-product-media-support__head{padding:20px 20px 17px!important}
  body.mach-product-modern .mach-product-media-support__head strong{font-size:21px!important;line-height:1.08!important}
  body.mach-product-modern .mach-product-media-support__grid{grid-template-columns:1fr 1fr!important}
  body.mach-product-modern .mach-product-media-support__grid>div{padding:12px 16px!important;border-bottom:1px solid rgba(255,255,255,.1)!important}
  body.mach-product-modern .mach-product-media-support__contact{padding:13px 18px!important}
}

/* =========================================================
   v1.39 — MOBILE HEADER PRECISION FIX
   Compact one-row header: logo + login + cart.
   Keeps the v1.38 mobile commerce navigation directly below.
   ========================================================= */
@media (max-width: 991px) {
  body.mach-redesign #header {
    height: 86px !important;
    min-height: 86px !important;
    max-height: 86px !important;
    overflow: visible !important;
  }

  body.mach-redesign #header > .container {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 86px !important;
    min-height: 86px !important;
    padding: 0 16px !important;
    margin: 0 !important;
  }

  /* Desktop search has no useful role in the compact mobile masthead. */
  body.mach-redesign #header .search,
  body.mach-redesign #header .search-wrapper,
  body.mach-redesign #header .search-form {
    display: none !important;
  }

  body.mach-redesign #header .site-name {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: calc(100% - 132px) !important;
    min-width: 0 !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.mach-redesign #header .site-name a {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
  }

  body.mach-redesign #header .site-name img {
    display: block !important;
    width: auto !important;
    max-width: min(205px, 100%) !important;
    max-height: 48px !important;
    margin: 0 !important;
  }

  /* Shoptet puts account/cart controls in a desktop-oriented wrapper.
     Force that wrapper into the same horizontal line as the logo. */
  body.mach-redesign #header .navigation-buttons,
  body.mach-redesign #header .header-top,
  body.mach-redesign #header .header-actions,
  body.mach-redesign #header .navigation-buttons-wrapper {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 2px !important;
    width: auto !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  body.mach-redesign .mach-header-login,
  body.mach-redesign #header .cart-count,
  body.mach-redesign #header [data-target="cart"] {
    position: static !important;
    transform: none !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.mach-redesign .mach-header-login svg {
    width: 23px !important;
    height: 23px !important;
  }

  /* Prevent legacy header rows/empty wrappers from creating a second line. */
  body.mach-redesign #header .header-top > :empty,
  body.mach-redesign #header .navigation-buttons > :empty {
    display: none !important;
  }

  /* The mobile nav must sit immediately under the now deterministic header. */
  body.mach-redesign {
    --mach-sticky-header-height: 86px !important;
  }
  .mach-mobile-nav {
    top: calc(var(--mach-sticky-admin-offset, 0px) + 86px) !important;
  }
  .mach-mobile-drawer {
    top: calc(var(--mach-sticky-admin-offset, 0px) + 86px + 54px) !important;
    max-height: calc(100dvh - 86px - 54px - var(--mach-sticky-admin-offset, 0px)) !important;
  }
}

@media (max-width: 420px) {
  body.mach-redesign #header > .container { padding-inline: 12px !important; }
  body.mach-redesign #header .site-name { left: 12px !important; max-width: calc(100% - 116px) !important; }
  body.mach-redesign #header .site-name img { max-width: 188px !important; max-height: 44px !important; }
  body.mach-redesign #header .navigation-buttons,
  body.mach-redesign #header .header-top,
  body.mach-redesign #header .header-actions,
  body.mach-redesign #header .navigation-buttons-wrapper { right: 10px !important; }
  body.mach-redesign .mach-header-login,
  body.mach-redesign #header .cart-count,
  body.mach-redesign #header [data-target="cart"] { width: 40px !important; min-width: 40px !important; flex-basis: 40px !important; }
}

/* =========================================================
   v1.40 — MOBILE HEADER HARD RESET + FULL-BLEED HERO
   Replaces Shoptet mobile masthead with one deterministic bar.
   ========================================================= */
@media (max-width: 991px) {
  /* Do not fight Classic's desktop-oriented header wrappers on mobile. */
  body.mach-redesign #header { display:none !important; }

  .mach-mobile-header{
    display:flex !important;
    position:sticky !important;
    top:var(--mach-sticky-admin-offset,0px) !important;
    z-index:9300 !important;
    width:100% !important;
    min-height:76px !important;
    box-sizing:border-box !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px !important;
    padding:10px 16px !important;
    margin:0 !important;
    background:#fff !important;
    border-bottom:1px solid #e4e4df !important;
    box-shadow:0 3px 14px rgba(18,18,18,.05) !important;
  }
  .mach-mobile-header__brand{
    display:flex!important;align-items:center!important;min-width:0!important;
    max-width:calc(100% - 112px)!important;text-decoration:none!important;
  }
  .mach-mobile-header__brand img{
    display:block!important;width:auto!important;height:auto!important;
    max-width:205px!important;max-height:50px!important;object-fit:contain!important;
  }
  .mach-mobile-header__actions{
    display:flex!important;align-items:center!important;gap:4px!important;flex:0 0 auto!important;
  }
  .mach-mobile-header__login,
  .mach-mobile-header__cart{
    position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:44px!important;height:44px!important;padding:0!important;margin:0!important;
    border:0!important;border-radius:10px!important;background:transparent!important;color:#171818!important;
    text-decoration:none!important;box-shadow:none!important;cursor:pointer!important;
  }
  .mach-mobile-header__login:active,
  .mach-mobile-header__cart:active{background:#f3f3ef!important}
  .mach-mobile-header__login svg,
  .mach-mobile-header__cart svg{width:24px!important;height:24px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
  .mach-mobile-header__cart{color:#e9ab00!important}
  .mach-mobile-header__count{
    position:absolute!important;right:1px!important;top:1px!important;min-width:17px!important;height:17px!important;
    padding:0 4px!important;border-radius:999px!important;background:#171818!important;color:#fff!important;
    font:800 10px/17px 'Exo 2','Source Sans 3',sans-serif!important;text-align:center!important;
  }
  .mach-mobile-header__count:empty,
  .mach-mobile-header__count[data-count="0"]{display:none!important}

  body.mach-redesign{--mach-sticky-header-height:76px!important}
  .mach-mobile-nav{
    top:calc(var(--mach-sticky-admin-offset,0px) + 76px)!important;
    width:100%!important;left:0!important;right:0!important;margin:0!important;
  }
  .mach-mobile-drawer{
    top:calc(var(--mach-sticky-admin-offset,0px) + 76px + 54px)!important;
    max-height:calc(100dvh - 76px - 54px - var(--mach-sticky-admin-offset,0px))!important;
  }

  /* Full-bleed homepage hero on phones/tablets. */
  body.mach-home-ready .mach-hero--showcase{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    border-radius:0!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-shell{
    width:100%!important;max-width:none!important;margin:0!important;padding:0 22px!important;box-sizing:border-box!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero__content{padding:30px 0 26px!important}
  body.mach-home-ready .mach-hero--showcase .mach-hero__visual--scene{
    width:calc(100% + 44px)!important;
    margin-left:-22px!important;
    margin-right:-22px!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar{
    width:calc(100% + 44px)!important;margin-left:-22px!important;margin-right:-22px!important;
  }
}

@media (max-width: 480px) {
  .mach-mobile-header{min-height:72px!important;padding:8px 12px!important}
  .mach-mobile-header__brand img{max-width:180px!important;max-height:44px!important}
  .mach-mobile-header__login,.mach-mobile-header__cart{width:40px!important;height:40px!important}
  body.mach-redesign{--mach-sticky-header-height:72px!important}
  .mach-mobile-nav{top:calc(var(--mach-sticky-admin-offset,0px) + 72px)!important}
  .mach-mobile-drawer{top:calc(var(--mach-sticky-admin-offset,0px) + 72px + 54px)!important;max-height:calc(100dvh - 72px - 54px - var(--mach-sticky-admin-offset,0px))!important}
  body.mach-home-ready .mach-hero--showcase .mach-shell{padding-inline:18px!important}
  body.mach-home-ready .mach-hero--showcase .mach-hero__visual--scene,
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar{width:calc(100% + 36px)!important;margin-left:-18px!important;margin-right:-18px!important}
}

/* =========================================================
   v1.41 — MOBILE HEADER GAP + TRUE FULL-BLEED HERO
   Customer-facing emergency stabilization.
   ========================================================= */
@media (max-width: 991px) {
  html, body { overflow-x:hidden !important; }

  /* Remove Classic helper rows that were still reserving empty vertical space
     above our deterministic mobile masthead. Keep the login overlay usable. */
  body.mach-redesign .top-navigation-bar,
  body.mach-redesign .admin-bar,
  body.mach-redesign #header { display:none !important; height:0 !important; min-height:0 !important; margin:0 !important; padding:0 !important; }

  body.mach-redesign .user-action:not(.login-window-visible),
  body.mach-redesign:not(.login-window-visible) > .overall-wrapper > .user-action {
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    overflow:visible !important;
  }

  body.mach-redesign { --mach-sticky-admin-offset:0px !important; --mach-sticky-header-height:68px !important; }

  .mach-mobile-header {
    position:sticky !important;
    top:0 !important;
    min-height:68px !important;
    height:68px !important;
    padding:8px 14px !important;
    gap:10px !important;
    z-index:9300 !important;
  }
  .mach-mobile-header__brand { max-width:calc(100% - 100px) !important; }
  .mach-mobile-header__brand img { max-width:195px !important; max-height:42px !important; }
  .mach-mobile-header__actions { gap:0 !important; }
  .mach-mobile-header__login,
  .mach-mobile-header__cart { width:40px !important; height:40px !important; }

  .mach-mobile-nav { top:68px !important; }
  .mach-mobile-drawer {
    top:122px !important;
    max-height:calc(100dvh - 122px) !important;
  }

  /* Give the homepage hero permission to break out of Shoptet's .container. */
  body.mach-home-ready #content-wrapper,
  body.mach-home-ready #content,
  body.mach-home-ready .content-wrapper-in,
  body.mach-home-ready .mach-home {
    overflow:visible !important;
  }

  body.mach-home-ready .mach-hero--showcase {
    position:relative !important;
    left:50% !important;
    transform:translateX(-50%) !important;
    width:100vw !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    border-radius:0 !important;
  }

  /* Text still keeps comfortable gutters while the black surface itself is full bleed. */
  body.mach-home-ready .mach-hero--showcase > .mach-shell.mach-hero__grid {
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding-left:18px !important;
    padding-right:18px !important;
    box-sizing:border-box !important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero__visual--scene,
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar {
    width:calc(100% + 36px) !important;
    margin-left:-18px !important;
    margin-right:-18px !important;
  }
}

@media (max-width: 480px) {
  .mach-mobile-header { min-height:64px !important; height:64px !important; padding:7px 12px !important; }
  .mach-mobile-header__brand img { max-width:182px !important; max-height:40px !important; }
  body.mach-redesign { --mach-sticky-header-height:64px !important; }
  .mach-mobile-nav { top:64px !important; }
  .mach-mobile-drawer { top:118px !important; max-height:calc(100dvh - 118px) !important; }
}

/* =========================================================
   v1.42 — MOBILE CUSTOMER-FACING STABILITY PASS
   Header gap reset, light use-case card, product media stack.
   ========================================================= */
@media (max-width: 991px) {
  /* Classic reserves vertical space for its own mobile masthead even when that
     masthead is hidden. Hard-reset the wrappers so our header starts at the
     top of the actual page viewport. */
  html,
  body.mach-redesign,
  body.mach-redesign .overall-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  body.mach-redesign .overall-wrapper::before,
  body.mach-redesign .overall-wrapper::after {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  body.mach-redesign .mach-mobile-header {
    position: sticky !important;
    top: 0 !important;
    margin: 0 !important;
    min-height: 64px !important;
    height: 64px !important;
    padding: 6px 14px !important;
  }
  body.mach-redesign .mach-mobile-header__brand img {
    max-height: 38px !important;
    max-width: 190px !important;
  }
  body.mach-redesign .mach-mobile-nav { top: 64px !important; }
  body.mach-redesign .mach-mobile-drawer {
    top: 118px !important;
    max-height: calc(100dvh - 118px) !important;
  }
  body.mach-redesign { --mach-sticky-header-height: 64px !important; }

  /* The fifth use-case card should feel like part of the same system, not a
     separate black advertising panel. Keep the yellow accent instead. */
  body.mach-home-ready .mach-category-card--dark {
    background: #fff !important;
    color: #171818 !important;
    border-top: 3px solid #f6bd00 !important;
  }
  body.mach-home-ready .mach-category-card--dark p { color: #6f726f !important; }
  body.mach-home-ready .mach-category-card--dark .mach-category-card__num { color: #9d9f9b !important; }
  body.mach-home-ready .mach-category-card--dark .mach-category-card__image,
  body.mach-home-ready .mach-category-card--dark .mach-category-card__icon {
    background: linear-gradient(145deg,#f7f7f5,#eceeeb) !important;
    color: #171818 !important;
  }
  body.mach-home-ready .mach-category-card--dark .mach-card-arrow { color:#171818 !important; }

  /* Real-photo products can have a different Classic wrapper. Force every
     media/support combination into one vertical stack on phones. */
  body.mach-product-modern .mach-mobile-media-stack,
  body.mach-product-modern .mach-product-media-column {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-wrap: wrap !important;
  }
  body.mach-product-modern .mach-mobile-media-stack > .p-image-wrapper,
  body.mach-product-modern .mach-mobile-media-stack > .p-image,
  body.mach-product-modern .mach-product-media-column > .p-image-wrapper,
  body.mach-product-modern .mach-product-media-column > .p-image,
  body.mach-product-modern .mach-product-media-support {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
  }
  body.mach-product-modern .mach-product-media-support {
    margin: 16px 0 24px !important;
  }
}

@media (max-width: 480px) {
  body.mach-redesign .mach-mobile-header {
    min-height: 60px !important;
    height: 60px !important;
    padding: 5px 12px !important;
  }
  body.mach-redesign .mach-mobile-header__brand img {
    max-height: 36px !important;
    max-width: 182px !important;
  }
  body.mach-redesign .mach-mobile-nav { top: 60px !important; }
  body.mach-redesign .mach-mobile-drawer {
    top: 114px !important;
    max-height: calc(100dvh - 114px) !important;
  }
  body.mach-redesign { --mach-sticky-header-height: 60px !important; }
}

/* =========================================================
   v1.43 — desktop product media safety / D1 real-photo fix
   ========================================================= */
@media (min-width: 992px){
  /* Never allow the whole product row to inherit the media-column flex stack. */
  body.mach-product-modern .mach-product-media-column-invalid{
    display:initial!important;
    flex-direction:initial!important;
    width:auto!important;
    max-width:none!important;
    min-height:0!important;
  }

  /* If Classic exposes no independent left media column, preserving the native
     gallery + purchase two-column geometry is more important than forcing the
     reassurance card into the row. The card remains available on mobile. */
  body.mach-product-media-desktop-safe .p-detail .mach-product-media-support,
  body.mach-product-d1-desktop-fix .p-detail .mach-product-media-support{
    display:none!important;
  }

  body.mach-product-d1-desktop-fix .p-detail-inner{
    align-items:flex-start!important;
  }
  body.mach-product-d1-desktop-fix .p-image-wrapper,
  body.mach-product-d1-desktop-fix .p-image{
    align-self:flex-start!important;
  }
  body.mach-product-d1-desktop-fix .p-info-wrapper,
  body.mach-product-d1-desktop-fix .p-info{
    align-self:flex-start!important;
  }
}

/* =========================================================
   v1.44 — D1 desktop alignment + support card below gallery
   Keep the native two-column geometry, but build a safe media stack
   for the one Classic product template that exposes the gallery directly.
   ========================================================= */
@media (min-width: 992px) {
  body.mach-product-d1-safe-stack .p-detail-inner {
    align-items: flex-start !important;
  }

  body.mach-product-d1-safe-stack .mach-product-d1-media-stack {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-self: flex-start !important;
  }

  body.mach-product-d1-safe-stack .mach-product-d1-media-stack > .p-image,
  body.mach-product-d1-safe-stack .mach-product-d1-media-stack > .p-image-wrapper,
  body.mach-product-d1-safe-stack .mach-product-d1-media-stack .p-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    margin-top: 0 !important;
    align-self: stretch !important;
  }

  body.mach-product-d1-safe-stack .p-info-wrapper,
  body.mach-product-d1-safe-stack .p-info {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    align-self: flex-start !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body.mach-product-d1-safe-stack .mach-buy-panel {
    margin-top: 0 !important;
  }

  body.mach-product-d1-safe-stack .mach-product-media-support {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 0 !important;
    box-sizing: border-box !important;
  }

  /* v1.43 deliberately hid this module on the reported D1 template.
     v1.44 has a safe dedicated media stack, so show it again. */
  body.mach-product-d1-safe-stack.mach-product-d1-desktop-fix .p-detail .mach-product-media-support,
  body.mach-product-d1-safe-stack.mach-product-media-desktop-safe .p-detail .mach-product-media-support {
    display: block !important;
  }
}

/* =========================================================
   v1.45 — universal product detail alignment
   All concrete-building products: gallery and buy panel share the same top,
   manufacturer reassurance stays below the gallery column.
   ========================================================= */
@media (min-width: 992px) {
  body.mach-product-modern .p-detail-inner {
    align-items: flex-start !important;
  }
  body.mach-product-modern .p-info-wrapper,
  body.mach-product-modern .p-info {
    align-self: flex-start !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  body.mach-product-modern .mach-buy-panel,
  body.mach-product-modern .p-info-wrapper > :first-child,
  body.mach-product-modern .p-info > :first-child {
    margin-top: 0 !important;
  }
  body.mach-product-modern .mach-product-universal-media {
    display: flex !important;
    flex-direction: column !important;
    align-self: flex-start !important;
    min-width: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  body.mach-product-modern .mach-product-universal-media > .mach-product-media-support {
    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    margin: 16px 0 0 !important;
    box-sizing: border-box !important;
  }
  /* Cancel the old emergency hide: v1.45 has a safe media-column mount. */
  body.mach-product-media-desktop-safe .p-detail .mach-product-universal-media > .mach-product-media-support,
  body.mach-product-d1-desktop-fix .p-detail .mach-product-universal-media > .mach-product-media-support {
    display: block !important;
  }
}

/* =========================================================
   v1.46 — clearer category directory (no thumbnails)
   Keep original category structure, improve scanability.
   ========================================================= */
@media (min-width: 1200px){
  body.mach-category-modern .subcategories.mach-subcategories-modern{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:14px!important;
  }
}
body.mach-category-modern .subcategories.mach-subcategories-modern > li > a,
body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card{
  min-height:104px!important;
  padding:20px 48px 20px 24px!important;
  gap:0!important;
  border-radius:8px!important;
  align-items:center!important;
  background:#fff!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern img{
  display:none!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern a span,
body.mach-category-modern .subcategories.mach-subcategories-modern a strong{
  display:block!important;
  font-size:16px!important;
  line-height:1.32!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
  color:#151616!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern > li > a::before,
body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card::before{
  width:5px!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern > li > a::after,
body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card::after{
  right:20px!important;
  font-size:20px!important;
}
body.mach-category-modern .mach-category-section-head p{
  font-size:14px!important;
  line-height:1.55!important;
}
@media (max-width:1199px) and (min-width:768px){
  body.mach-category-modern .subcategories.mach-subcategories-modern{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }
}
@media (max-width:767px){
  body.mach-category-modern .subcategories.mach-subcategories-modern{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  body.mach-category-modern .subcategories.mach-subcategories-modern > li > a,
  body.mach-category-modern .subcategories.mach-subcategories-modern .mach-subcategory-card{
    min-height:82px!important;
    padding:16px 46px 16px 20px!important;
  }
  body.mach-category-modern .subcategories.mach-subcategories-modern a span,
  body.mach-category-modern .subcategories.mach-subcategories-modern a strong{
    font-size:16px!important;
    line-height:1.3!important;
  }
}

/* =========================================================
   v1.47 — category directory: larger technical cards + intro hero
   ========================================================= */
body.mach-category-modern .mach-category-intro-hero{
  margin:0 0 46px!important;
  padding:48px 56px 44px!important;
  background:#f3f3f0!important;
  border-left:4px solid var(--mach-yellow)!important;
}
body.mach-category-modern .mach-category-intro-hero .mach-category-kicker{
  margin:0 0 14px!important;
  color:#9f7600!important;
  font:800 11px/1.2 'Exo 2',sans-serif!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
body.mach-category-modern .mach-category-intro-hero h1{
  max-width:1100px!important;
  margin:0 0 22px!important;
  font:700 clamp(36px,3.4vw,54px)/1.04 'Exo 2',sans-serif!important;
  letter-spacing:-.042em!important;
}
body.mach-category-modern .mach-category-intro-hero__copy{
  max-width:1120px!important;
  display:grid!important;
  gap:12px!important;
}
body.mach-category-modern .mach-category-intro-hero__copy .mach-category-intro-copy{
  max-width:none!important;
  margin:0!important;
  color:#5d625d!important;
  font-size:16px!important;
  line-height:1.62!important;
}
body.mach-category-modern .mach-category-section-head{
  margin:0 0 22px!important;
  padding:0!important;
  border-top:0!important;
  align-items:flex-end!important;
}
body.mach-category-modern .mach-category-section-head h2{
  font-size:34px!important;
}
body.mach-category-modern .mach-category-section-head p{
  font-size:15px!important;
  line-height:1.55!important;
}

body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  margin-bottom:58px!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a{
  min-height:166px!important;
  padding:24px 26px 22px 30px!important;
  display:grid!important;
  grid-template-columns:92px 1fr!important;
  grid-template-rows:1fr auto!important;
  column-gap:24px!important;
  row-gap:18px!important;
  align-items:center!important;
  border-radius:6px!important;
  border:1px solid #d9dad6!important;
  background:#fff!important;
  overflow:hidden!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a::before{
  width:6px!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a::after{
  display:none!important;
}
body.mach-category-modern .mach-subcat-code{
  grid-column:1!important;
  grid-row:1!important;
  min-width:0!important;
  color:#161717!important;
  font:800 38px/1 'Exo 2',sans-serif!important;
  letter-spacing:-.04em!important;
}
body.mach-category-modern .mach-subcat-code small{
  display:block!important;
  margin-bottom:7px!important;
  color:#a47a00!important;
  font:800 9px/1 'Exo 2',sans-serif!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}
body.mach-category-modern .mach-subcat-code--generic{
  grid-column:1 / -1!important;
  font-size:22px!important;
  line-height:1.15!important;
  letter-spacing:-.02em!important;
}
body.mach-category-modern .mach-subcat-main{
  grid-column:2!important;
  grid-row:1!important;
  align-self:center!important;
  min-width:0!important;
}
body.mach-category-modern .mach-subcat-main strong{
  display:block!important;
  color:#171818!important;
  font:700 21px/1.15 'Exo 2',sans-serif!important;
  letter-spacing:-.025em!important;
}
body.mach-category-modern .mach-subcat-main small{
  display:block!important;
  margin-top:8px!important;
  color:#6c706c!important;
  font:500 14px/1.3 'Source Sans 3',sans-serif!important;
}
body.mach-category-modern .mach-subcat-cta{
  grid-column:1 / -1!important;
  grid-row:2!important;
  padding-top:15px!important;
  border-top:1px solid #ecece8!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  color:#171818!important;
  font:800 12px/1.2 'Exo 2',sans-serif!important;
  letter-spacing:.01em!important;
}
body.mach-category-modern .mach-subcat-cta i{
  color:#ad8100!important;
  font-style:normal!important;
  font-size:20px!important;
  transition:transform .22s var(--mach-ease)!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a:hover{
  transform:translateY(-5px)!important;
  border-color:#bfc1bb!important;
  background:#fbfbf8!important;
  box-shadow:0 16px 34px rgba(18,18,18,.075)!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a:hover .mach-subcat-cta i{
  transform:translateX(5px)!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a:hover::before{
  width:9px!important;
}

@media(max-width:1100px){
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:767px){
  body.mach-category-modern .mach-category-intro-hero{padding:32px 22px 30px!important;margin-bottom:34px!important}
  body.mach-category-modern .mach-category-intro-hero h1{font-size:34px!important}
  body.mach-category-modern .mach-category-intro-hero__copy .mach-category-intro-copy{font-size:15px!important}
  body.mach-category-modern .mach-category-section-head{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}
  body.mach-category-modern .mach-category-section-head h2{font-size:28px!important}
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147{grid-template-columns:1fr!important;gap:10px!important}
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a{
    min-height:132px!important;
    grid-template-columns:76px 1fr!important;
    padding:20px 20px 17px 24px!important;
    column-gap:18px!important;
    row-gap:14px!important;
  }
  body.mach-category-modern .mach-subcat-code{font-size:32px!important}
  body.mach-category-modern .mach-subcat-main strong{font-size:19px!important}
  body.mach-category-modern .mach-subcat-main small{font-size:13px!important}
}

/* =========================================================
   v1.48 — compact six-column category directory
   ========================================================= */
@media (min-width:1200px){
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:12px!important;
    margin-bottom:42px!important;
  }
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a{
    min-height:122px!important;
    padding:18px 18px 16px 20px!important;
    grid-template-columns:1fr auto!important;
    grid-template-rows:auto 1fr auto!important;
    column-gap:10px!important;
    row-gap:8px!important;
    align-items:start!important;
    border-radius:7px!important;
  }
  body.mach-category-modern .mach-subcat-code{
    grid-column:1!important;
    grid-row:1!important;
    font-size:27px!important;
    line-height:1!important;
    letter-spacing:-.035em!important;
  }
  body.mach-category-modern .mach-subcat-code small{
    margin-bottom:5px!important;
    font-size:8px!important;
    letter-spacing:.14em!important;
  }
  body.mach-category-modern .mach-subcat-main{
    grid-column:1 / -1!important;
    grid-row:2!important;
    align-self:start!important;
  }
  body.mach-category-modern .mach-subcat-main strong{
    font-size:17px!important;
    line-height:1.15!important;
  }
  body.mach-category-modern .mach-subcat-main small{
    margin-top:4px!important;
    font-size:12.5px!important;
    line-height:1.25!important;
  }
  body.mach-category-modern .mach-subcat-cta{
    grid-column:1 / -1!important;
    grid-row:3!important;
    padding-top:8px!important;
    margin-top:2px!important;
    font-size:10.5px!important;
    border-top:1px solid #ecece8!important;
  }
  body.mach-category-modern .mach-subcat-cta i{
    font-size:17px!important;
  }
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a:hover{
    transform:translateY(-3px)!important;
    box-shadow:0 10px 22px rgba(18,18,18,.07)!important;
  }
}

@media (min-width:992px) and (max-width:1199px){
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
  }
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a{
    min-height:138px!important;
    padding:20px!important;
    grid-template-columns:72px 1fr!important;
    column-gap:14px!important;
    row-gap:12px!important;
  }
  body.mach-category-modern .mach-subcat-code{font-size:30px!important}
  body.mach-category-modern .mach-subcat-main strong{font-size:18px!important}
  body.mach-category-modern .mach-subcat-main small{font-size:13px!important}
}

/* =========================================================
   v1.49 — category consistency + light homepage last card
   ========================================================= */
body.mach-redesign .mach-category-grid .mach-category-card--light-last,
body.mach-redesign .mach-category-grid .mach-category-card--dark{
  background:#fff!important;
  color:#151616!important;
  border-color:#deded9!important;
}
body.mach-redesign .mach-category-grid .mach-category-card--light-last h3,
body.mach-redesign .mach-category-grid .mach-category-card--light-last p,
body.mach-redesign .mach-category-grid .mach-category-card--light-last .mach-card-arrow,
body.mach-redesign .mach-category-grid .mach-category-card--dark h3,
body.mach-redesign .mach-category-grid .mach-category-card--dark p,
body.mach-redesign .mach-category-grid .mach-category-card--dark .mach-card-arrow{
  color:#151616!important;
}
body.mach-redesign .mach-category-grid .mach-category-card--light-last .mach-category-card__num,
body.mach-redesign .mach-category-grid .mach-category-card--light-last .mach-category-card__icon,
body.mach-redesign .mach-category-grid .mach-category-card--dark .mach-category-card__num,
body.mach-redesign .mach-category-grid .mach-category-card--dark .mach-category-card__icon{
  color:var(--mach-yellow)!important;
}
body.mach-redesign .mach-category-grid .mach-category-card--light-last:hover,
body.mach-redesign .mach-category-grid .mach-category-card--dark:hover{
  background:#fbfbf8!important;
  border-color:#bfc1bb!important;
}

/* All parsed concrete types must share exactly the same card rhythm. */
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 .mach-subcat-code--generic{
  display:none!important;
}

/* =========================================================
   v1.50 — generic category cards: restore labels everywhere
   ========================================================= */
/* v1.49 hid the generic category label to keep concrete H/D/R… cards clean.
   That made every non-dimensional category look empty. Generic categories now
   keep the same six-column rhythm, but show their real category name clearly. */
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 .mach-subcat-code--generic{
  display:block!important;
  grid-column:1 / -1!important;
  grid-row:1 / 3!important;
  align-self:center!important;
  min-width:0!important;
  color:#171818!important;
  font:700 15px/1.28 'Exo 2',sans-serif!important;
  letter-spacing:-.018em!important;
  overflow-wrap:anywhere!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 .mach-subcat-code--generic small{
  display:block!important;
  margin:0 0 7px!important;
  color:#a47a00!important;
  font:800 8px/1 'Exo 2',sans-serif!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a:has(.mach-subcat-code--generic){
  grid-template-columns:1fr!important;
  grid-template-rows:1fr auto!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a:has(.mach-subcat-code--generic) .mach-subcat-cta{
  grid-column:1!important;
  grid-row:2!important;
  font-size:11px!important;
}

@media (min-width:1200px){
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a:has(.mach-subcat-code--generic){
    min-height:122px!important;
    padding:17px 17px 15px 20px!important;
  }
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 .mach-subcat-code--generic{
    font-size:15px!important;
    line-height:1.25!important;
  }
}
@media (min-width:768px) and (max-width:1199px){
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 .mach-subcat-code--generic{
    font-size:16px!important;
  }
}
@media (max-width:767px){
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a:has(.mach-subcat-code--generic){
    min-height:108px!important;
    padding:18px 18px 15px 22px!important;
  }
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 .mach-subcat-code--generic{
    font-size:17px!important;
    line-height:1.25!important;
  }
}

/* =========================================================
   v1.51 — definitive product layout normalizer
   Prevents Classic product variants from collapsing the purchase column.
   ========================================================= */
body.mach-product-modern .mach-product-main-grid{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
@media (min-width:992px){
  body.mach-product-modern .mach-product-main-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:34px!important;
    align-items:start!important;
  }
  body.mach-product-modern .mach-product-main-grid > .mach-product-main-media,
  body.mach-product-modern .mach-product-main-grid > .mach-product-main-info{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding-top:0!important;
    float:none!important;
    clear:none!important;
    flex:none!important;
    align-self:start!important;
  }
  body.mach-product-modern .mach-product-main-media{
    display:flex!important;
    flex-direction:column!important;
  }
  body.mach-product-modern .mach-product-main-media .p-image-wrapper,
  body.mach-product-modern .mach-product-main-media .p-image{
    width:100%!important;
    max-width:100%!important;
    margin-top:0!important;
  }
  body.mach-product-modern .mach-product-main-media > .mach-product-media-support{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:16px 0 0!important;
    position:static!important;
    float:none!important;
    clear:both!important;
  }
  /* Neutralize old one-product emergency geometry after the final grid exists. */
  body.mach-product-modern .mach-product-main-grid .mach-product-d1-media-stack,
  body.mach-product-modern .mach-product-main-grid .mach-product-universal-media{
    width:100%!important;
    max-width:100%!important;
    flex:none!important;
  }
  body.mach-product-d1-desktop-fix .mach-product-main-grid .mach-product-media-support,
  body.mach-product-media-desktop-safe .mach-product-main-grid .mach-product-media-support{
    display:block!important;
  }
}
@media (max-width:991px){
  body.mach-product-modern .mach-product-main-grid{
    display:flex!important;
    flex-direction:column!important;
    gap:18px!important;
  }
  body.mach-product-modern .mach-product-main-grid > .mach-product-main-media,
  body.mach-product-modern .mach-product-main-grid > .mach-product-main-info{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    float:none!important;
  }
}

/* =========================================================
   v1.52 — generic subcategory cards: keep divider below title
   ========================================================= */
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a:has(.mach-subcat-code--generic){
  grid-template-columns:1fr!important;
  grid-template-rows:minmax(0,1fr) auto!important;
  row-gap:10px!important;
  align-items:stretch!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 .mach-subcat-code--generic{
  grid-column:1!important;
  grid-row:1!important;
  align-self:center!important;
  padding-bottom:2px!important;
}
body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a:has(.mach-subcat-code--generic) .mach-subcat-cta{
  grid-column:1!important;
  grid-row:2!important;
  position:relative!important;
  padding-top:11px!important;
  border-top:1px solid #ecece8!important;
}

/* =========================================================
   v1.53 - Homepage article typography + cleaner info icons
   Scoped only to homepage journal cards and info-page icon badges.
   ========================================================= */

/* Homepage journal: smaller article headline only here, never global H2/H3. */
body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal h3,
body.mach-home-ready .homepage-blog-wrapper.mach-home-blog--editorial .mach-news-card--journal h3{
  margin:0 0 10px!important;
  font-family:'Exo 2','Source Sans 3',sans-serif!important;
  font-size:clamp(17px,1.15vw,20px)!important;
  line-height:1.22!important;
  font-weight:700!important;
  letter-spacing:-.018em!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  max-height:2.44em!important;
}
body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal h3 a{
  font:inherit!important;
  line-height:inherit!important;
  color:#fff!important;
  text-decoration:none!important;
}

/* Restore a short teaser under the title. */
body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal .mach-news-card__excerpt{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  margin:0 0 16px!important;
  color:#b7bbb7!important;
  font-family:'Source Sans 3',Arial,sans-serif!important;
  font-size:13px!important;
  line-height:1.48!important;
  font-weight:400!important;
  max-height:2.96em!important;
}

/* CTA: remove legacy dark overlay/shadow and keep vivid MACH yellow. */
body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal .mach-news-card__more{
  position:relative!important;
  z-index:4!important;
  margin-top:auto!important;
  padding:15px 0 0!important;
  border-top:1px solid rgba(255,255,255,.15)!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
  opacity:1!important;
  color:#ffc400!important;
  text-shadow:none!important;
  font-size:13px!important;
  line-height:1!important;
}
body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal .mach-news-card__more span,
body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal .mach-news-card__more b{
  position:relative!important;
  z-index:5!important;
  color:#ffc400!important;
  opacity:1!important;
  filter:none!important;
  text-shadow:none!important;
}
body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal .mach-news-card__body:before,
body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal .mach-news-card__body:after,
body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal .mach-news-card__more:before,
body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal .mach-news-card__more:after{
  content:none!important;
  display:none!important;
}

/* Partner / contact icons: precise line badges instead of pale yellow blocks. */
.mach-partner-card__icon,
.mach-contact-mini > span{
  position:relative!important;
  width:44px!important;
  height:44px!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 44px!important;
  background:#fff!important;
  color:#171818!important;
  border:1px solid #cfd1cc!important;
  border-radius:50%!important;
  box-shadow:none!important;
}
.mach-partner-card__icon:after,
.mach-contact-mini > span:after{
  content:''!important;
  position:absolute!important;
  right:-2px!important;
  bottom:5px!important;
  width:9px!important;
  height:9px!important;
  border-radius:50%!important;
  background:var(--mach-yellow,#ffc400)!important;
  border:2px solid #fff!important;
}
.mach-partner-card__icon svg,
.mach-contact-mini > span svg{
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.mach-contact-mini{
  grid-template-columns:44px 1fr!important;
  gap:16px!important;
  background:#fff!important;
  border-color:#dedfda!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.mach-contact-mini[href]:hover{
  transform:translateY(-2px)!important;
  border-color:#b7b9b4!important;
  box-shadow:0 10px 24px rgba(18,18,18,.06)!important;
}
.mach-partner-card__top{align-items:center!important}

@media(max-width:650px){
  body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal h3{font-size:18px!important}
  body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal .mach-news-card__excerpt{font-size:13px!important}
}

/* =========================================================
   v1.54 - Homepage article image quality / no crop
   Scoped only to homepage journal cards.
   ========================================================= */
body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal .mach-news-card__image{
  background:#ecece8!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
}
body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal .mach-news-card__image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  filter:none!important;
  image-rendering:auto!important;
}
body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal:hover .mach-news-card__image img{
  transform:none!important;
  filter:none!important;
}
@media(min-width:651px){
  body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal .mach-news-card__image{
    min-height:286px!important;
  }
}
@media(max-width:650px){
  body.mach-home-ready .mach-home-blog--editorial .mach-news-card--journal .mach-news-card__image{
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/10!important;
  }
}


/* =========================================================
   v1.55 — NAVIGATION BEHAVIOR REWORK
   Desktop: mega menus are hover/focus previews only; clicks navigate.
   Mobile: Products / Configurator / Hamburger each own a dedicated panel.
   ========================================================= */
@media (min-width:992px){
  .mach-desktop-nav__products--primary,
  .mach-desktop-nav__config{
    text-decoration:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
  }
  .mach-desktop-nav__products--primary{background:var(--mach-yellow)!important;color:#111!important}
  .mach-desktop-nav__config{background:#171818!important;color:#fff!important}
  .mach-desktop-nav__config span{color:var(--mach-yellow)!important}
}

@media (max-width:991px){
  .mach-mobile-nav--interactive>a{display:none!important}
  .mach-mobile-nav--interactive>button{
    min-width:0!important;min-height:54px!important;border:0!important;border-right:1px solid #e3e3de!important;
    display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
    padding:0 12px!important;font:800 12px/1 'Exo 2','Source Sans 3',sans-serif!important;
    text-decoration:none!important;cursor:pointer!important;
  }
  .mach-mobile-nav--interactive .mach-mobile-nav__products{background:var(--mach-yellow)!important;color:#111!important}
  .mach-mobile-nav--interactive .mach-mobile-nav__config{background:#171818!important;color:#fff!important}
  .mach-mobile-nav--interactive .mach-mobile-nav__menu{background:#fff!important;color:#171818!important;border-right:0!important}
  .mach-mobile-nav--interactive .mach-mobile-nav__products[aria-expanded="true"]{box-shadow:inset 0 -4px 0 #111!important}
  .mach-mobile-nav--interactive .mach-mobile-nav__config[aria-expanded="true"]{box-shadow:inset 0 -4px 0 var(--mach-yellow)!important}

  .mach-mobile-drawer--multi{padding:0!important;background:#fff!important;border-bottom:0!important;overflow:auto!important}
  body:not(.mach-mobile-menu-open) .mach-mobile-drawer--multi{transform:translateY(-10px)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important}
  body.mach-mobile-menu-open .mach-mobile-drawer--multi{transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  .mach-mobile-panel[hidden]{display:none!important}
  .mach-mobile-panel{display:block!important;background:#fff!important}
  .mach-mobile-panel__eyebrow{padding:16px 18px 9px!important;color:#9b6f00!important;font:900 10px/1.2 'Exo 2',sans-serif!important;letter-spacing:.14em!important;text-transform:uppercase!important}

  .mach-mobile-featured{margin:0 14px 10px!important;padding:17px 16px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;background:#fffaf0!important;border:1px solid #eadfae!important;border-left:4px solid var(--mach-yellow)!important;color:#111!important;text-decoration:none!important}
  .mach-mobile-featured span{display:flex!important;flex-direction:column!important;gap:3px!important}
  .mach-mobile-featured b{font-size:15px!important;color:#111!important}
  .mach-mobile-featured small{font-size:12px!important;color:#777!important}
  .mach-mobile-featured strong{font-size:22px!important;color:#a97700!important}

  .mach-mobile-panel__group{padding:8px 14px 10px!important}
  .mach-mobile-panel__group>span{display:block!important;margin:0 2px 7px!important;color:#9b6f00!important;font:900 9px/1.2 'Exo 2',sans-serif!important;letter-spacing:.12em!important;text-transform:uppercase!important}
  .mach-mobile-panel__group>a,
  .mach-mobile-pages>a{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:14px 13px!important;background:#fff!important;border-top:1px solid #ecece7!important;color:#171818!important;text-decoration:none!important;font-size:13px!important;font-weight:800!important}
  .mach-mobile-panel__group>a b,
  .mach-mobile-pages>a b{color:#aa7a00!important;font-size:17px!important}
  .mach-mobile-panel__all{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-top:4px!important;padding:17px 18px!important;background:#f3f3f0!important;color:#111!important;text-decoration:none!important;font-weight:900!important}

  .mach-mobile-panel--config{background:#171818!important}
  .mach-mobile-configpromo{padding:24px 20px 22px!important;background:#171818!important;border-left:4px solid var(--mach-yellow)!important;color:#fff!important}
  .mach-mobile-configpromo p{margin:0 0 8px!important;color:var(--mach-yellow)!important;font:900 10px/1.2 'Exo 2',sans-serif!important;letter-spacing:.14em!important;text-transform:uppercase!important}
  .mach-mobile-configpromo h3{margin:0 0 10px!important;color:#fff!important;font-family:'Exo 2',sans-serif!important;font-size:25px!important;line-height:1.08!important;font-weight:800!important}
  .mach-mobile-configpromo>span{display:block!important;color:#c8c8c4!important;font-size:13px!important;line-height:1.55!important}
  .mach-mobile-configpromo__steps{display:grid!important;grid-template-columns:auto 1fr auto 1fr!important;gap:9px 9px!important;align-items:center!important;margin:18px 0!important;padding:15px 0!important;border-top:1px solid rgba(255,255,255,.12)!important;border-bottom:1px solid rgba(255,255,255,.12)!important}
  .mach-mobile-configpromo__steps i{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:var(--mach-yellow)!important;color:#111!important;font-style:normal!important;font-size:11px!important;font-weight:900!important}
  .mach-mobile-configpromo__steps b{color:#fff!important;font-size:12px!important}
  .mach-mobile-configpromo>a{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:50px!important;padding:0 16px!important;background:var(--mach-yellow)!important;color:#111!important;text-decoration:none!important;font-weight:900!important}

  .mach-mobile-panel--pages{padding-bottom:8px!important}
  .mach-mobile-pages{padding:0 14px 12px!important}
  .mach-mobile-pages>a{font-size:14px!important;padding:16px 12px!important}

  body[data-mach-mobile-panel="pages"] .mach-mobile-nav__menu i{background:transparent!important}
  body[data-mach-mobile-panel="pages"] .mach-mobile-nav__menu i:before{top:0!important;transform:rotate(45deg)!important}
  body[data-mach-mobile-panel="pages"] .mach-mobile-nav__menu i:after{top:0!important;transform:rotate(-45deg)!important}
}

/* =========================================================
   v1.56 - Mobile homepage hero: hide showroom image, keep proofbar
   ========================================================= */
@media (max-width:767px){
  body.mach-home-ready .mach-hero--showcase .mach-hero__grid{
    display:block!important;
    min-height:0!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero__content{
    padding-bottom:28px!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero__visual,
  body.mach-home-ready .mach-hero--showcase .mach-hero__architecture{
    display:none!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar{
    margin-top:0!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar__inner{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    grid-template-columns:1fr 1fr!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar__inner > div{
    box-sizing:border-box!important;
    min-width:0!important;
    min-height:112px!important;
    margin:0!important;
    padding:18px 16px!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:14px!important;
    align-items:center!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar__inner > div:first-child{
    padding-left:16px!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar__inner > div:nth-child(odd){
    border-left:0!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar__inner > div:nth-child(even){
    border-left:1px solid rgba(255,255,255,.085)!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar__inner > div:nth-child(n+3){
    border-top:1px solid rgba(255,255,255,.085)!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar__inner > div > span{
    width:42px!important;
    text-align:center!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar b{
    font-size:14px!important;
    line-height:1.25!important;
  }
  body.mach-home-ready .mach-hero--showcase .mach-hero-proofbar small{
    font-size:12px!important;
    line-height:1.35!important;
  }
}


/* =========================================================
   v1.57 - Final mobile UX pass
   1) full-screen menu panels below the sticky navigation
   2) footer surface continues to the bottom of the viewport
   3) category directory uses two compact cards per row
   ========================================================= */
@media (max-width:991px){

  /* Full-screen drawer: the page below must never visually mix with the menu. */
  body.mach-redesign .mach-mobile-drawer--multi,
  body.mach-redesign .mach-mobile-drawer{
    top:118px!important;
    height:calc(100dvh - 118px)!important;
    max-height:none!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    border-bottom:0!important;
    box-shadow:none!important;
  }

  body.mach-redesign[data-mach-mobile-panel="products"] .mach-mobile-drawer--multi{
    background:#f5f5f2!important;
  }
  body.mach-redesign[data-mach-mobile-panel="config"] .mach-mobile-drawer--multi{
    background:#171818!important;
  }
  body.mach-redesign[data-mach-mobile-panel="pages"] .mach-mobile-drawer--multi{
    background:#171818!important;
  }

  body.mach-redesign .mach-mobile-panel{
    min-height:100%!important;
    box-sizing:border-box!important;
  }
  body.mach-redesign .mach-mobile-panel--products{
    background:#f5f5f2!important;
    padding-bottom:28px!important;
  }
  body.mach-redesign .mach-mobile-panel--config{
    min-height:100%!important;
    background:#171818!important;
  }
  body.mach-redesign .mach-mobile-panel--config .mach-mobile-configpromo{
    min-height:100%!important;
  }

  /* Hamburger = clean dark full-screen information menu. */
  body.mach-redesign .mach-mobile-panel--pages{
    min-height:100%!important;
    padding:24px 18px 36px!important;
    background:#171818!important;
  }
  body.mach-redesign .mach-mobile-panel--pages .mach-mobile-panel__eyebrow{
    padding:0 4px 16px!important;
    color:var(--mach-yellow)!important;
  }
  body.mach-redesign .mach-mobile-panel--pages .mach-mobile-pages{
    padding:0!important;
    background:transparent!important;
    border-top:1px solid rgba(255,255,255,.13)!important;
  }
  body.mach-redesign .mach-mobile-panel--pages .mach-mobile-pages>a{
    min-height:58px!important;
    padding:0 6px!important;
    background:transparent!important;
    border-top:0!important;
    border-bottom:1px solid rgba(255,255,255,.13)!important;
    color:#fff!important;
    font-size:15px!important;
  }
  body.mach-redesign .mach-mobile-panel--pages .mach-mobile-pages>a b{
    color:var(--mach-yellow)!important;
  }

  /* Footer should visually continue below Safari controls / safe area. */
  html{
    background:#101112!important;
  }
  body.mach-redesign{
    background:#101112!important;
  }
  body.mach-redesign .overall-wrapper{
    background:#fff!important;
  }
  body.mach-redesign .mach-footer{
    margin-bottom:0!important;
    padding-bottom:max(42px, env(safe-area-inset-bottom))!important;
    background:#101112!important;
  }
  body.mach-redesign .mach-footer__bottom{
    background:#101112!important;
  }

  /* Two-column category directory on phones/tablets.
     Cards stay readable but the page becomes roughly half as long. */
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    margin-bottom:34px!important;
  }
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li{
    min-width:0!important;
  }
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a{
    min-height:156px!important;
    height:100%!important;
    padding:16px 14px 14px 18px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto 1fr auto!important;
    gap:9px!important;
    align-items:start!important;
    border-radius:7px!important;
  }
  body.mach-category-modern .mach-subcat-code{
    grid-column:1!important;
    grid-row:1!important;
    font-size:27px!important;
    line-height:1!important;
  }
  body.mach-category-modern .mach-subcat-code small{
    margin-bottom:5px!important;
    font-size:8px!important;
  }
  body.mach-category-modern .mach-subcat-main{
    grid-column:1!important;
    grid-row:2!important;
    align-self:start!important;
  }
  body.mach-category-modern .mach-subcat-main strong{
    font-size:16px!important;
    line-height:1.15!important;
  }
  body.mach-category-modern .mach-subcat-main small{
    margin-top:5px!important;
    font-size:11.5px!important;
    line-height:1.25!important;
  }
  body.mach-category-modern .mach-subcat-cta{
    grid-column:1!important;
    grid-row:3!important;
    padding-top:9px!important;
    margin-top:0!important;
    font-size:10.5px!important;
    line-height:1.2!important;
  }
  body.mach-category-modern .mach-subcat-cta i{
    font-size:16px!important;
  }

  /* Generic categories such as Bez podstavce / 1 podstavec. */
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a:has(.mach-subcat-code--generic){
    min-height:132px!important;
    padding:17px 14px 14px 18px!important;
    grid-template-rows:1fr auto!important;
  }
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 .mach-subcat-code--generic{
    display:block!important;
    grid-column:1!important;
    grid-row:1!important;
    font-size:18px!important;
    line-height:1.18!important;
    letter-spacing:-.02em!important;
  }
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 .mach-subcat-code--generic small{
    margin-bottom:8px!important;
    font-size:8px!important;
    letter-spacing:.13em!important;
  }
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a:has(.mach-subcat-code--generic) .mach-subcat-cta{
    grid-row:2!important;
  }
}

@media (max-width:480px){
  body.mach-redesign .mach-mobile-drawer--multi,
  body.mach-redesign .mach-mobile-drawer{
    top:114px!important;
    height:calc(100dvh - 114px)!important;
  }

  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.mach-category-modern .subcategories.mach-subcategories-modern.mach-subcategories-v147 > li > a{
    min-height:150px!important;
    padding:15px 12px 13px 16px!important;
  }
  body.mach-category-modern .mach-subcat-code{font-size:25px!important}
  body.mach-category-modern .mach-subcat-main strong{font-size:15px!important}
  body.mach-category-modern .mach-subcat-main small{font-size:11px!important}
  body.mach-category-modern .mach-subcat-cta{font-size:10px!important}
}


/* =========================================================
   v1.58 - Mobile homepage: hide company facts below hero/banner
   Desktop remains unchanged.
   ========================================================= */
@media (max-width:991px){
  body.mach-redesign.mach-home .mach-hero__facts,
  body.mach-redesign.mach-home .mach-hero__stats,
  body.mach-redesign.mach-home .mach-home-facts,
  body.mach-redesign.mach-home .mach-company-facts{
    display:none!important;
  }
}

/* =========================================================
   v1.59 - mobile cleanup
   - remove homepage company proof bar on mobile
   - hamburger changes to X only for the hamburger/pages panel
   ========================================================= */
@media (max-width:991px){
  /* The company facts below the hero are rendered as .mach-hero-proofbar. */
  body.mach-redesign.mach-home .mach-hero-proofbar,
  body.mach-redesign .mach-home .mach-hero-proofbar{
    display:none!important;
  }

  /* Products / Configurator may be open, but hamburger must stay a hamburger. */
  body.mach-redesign[data-mach-mobile-panel="products"] .mach-mobile-nav__menu i,
  body.mach-redesign[data-mach-mobile-panel="config"] .mach-mobile-nav__menu i{
    background:#111!important;
    transform:none!important;
  }
  body.mach-redesign[data-mach-mobile-panel="products"] .mach-mobile-nav__menu i:before,
  body.mach-redesign[data-mach-mobile-panel="config"] .mach-mobile-nav__menu i:before{
    top:-8px!important;
    transform:none!important;
  }
  body.mach-redesign[data-mach-mobile-panel="products"] .mach-mobile-nav__menu i:after,
  body.mach-redesign[data-mach-mobile-panel="config"] .mach-mobile-nav__menu i:after{
    top:8px!important;
    transform:none!important;
  }

  /* Only the hamburger/pages panel gets the close icon. */
  body.mach-redesign[data-mach-mobile-panel="pages"] .mach-mobile-nav__menu i{
    background:transparent!important;
  }
  body.mach-redesign[data-mach-mobile-panel="pages"] .mach-mobile-nav__menu i:before{
    top:0!important;
    transform:rotate(45deg)!important;
  }
  body.mach-redesign[data-mach-mobile-panel="pages"] .mach-mobile-nav__menu i:after{
    top:0!important;
    transform:rotate(-45deg)!important;
  }
}


/* =========================================================
   v1.61 — PRODUCT DETAIL NATIVE CART HOTFIX
   Keep Shoptet's original product form intact. Style it in place only.
   ========================================================= */
body.mach-product-native-cart .mach-buy-panel,
body.mach-product-native-cart .mach-purchase-row,
body.mach-product-native-cart .mach-purchase-price{
  /* Legacy wrappers should not be created by v1.61. */
}

body.mach-product-native-cart .p-info-wrapper,
body.mach-product-native-cart .p-info{
  align-self:start!important;
}

body.mach-product-native-cart .mach-native-purchase-panel .variant-list,
body.mach-product-native-cart .mach-native-purchase-panel > .detail-parameters,
body.mach-product-native-cart .mach-native-cart-form .variant-list,
body.mach-product-native-cart .mach-native-cart-form .detail-parameters{
  margin:10px 0 0!important;
  padding:20px 20px 16px!important;
  background:#fff!important;
  border:1px solid #deded8!important;
  border-top:4px solid var(--mach-yellow)!important;
  box-shadow:none!important;
}

body.mach-product-native-cart .mach-native-purchase-panel .variant-list label,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters label,
body.mach-product-native-cart .mach-native-cart-form label{
  color:#777!important;
  font-weight:600!important;
}

body.mach-product-native-cart .mach-native-purchase-panel select,
body.mach-product-native-cart .mach-native-cart-form select{
  min-height:46px!important;
  background:#f8f8f5!important;
  border:1px solid #d2d2cc!important;
  color:#111!important;
  box-shadow:none!important;
}
body.mach-product-native-cart .mach-native-purchase-panel select:focus,
body.mach-product-native-cart .mach-native-cart-form select:focus{
  border-color:var(--mach-yellow)!important;
  box-shadow:0 0 0 3px rgba(255,192,0,.14)!important;
  outline:0!important;
}

/* Native add-to-cart layout — visual only, DOM untouched. */
body.mach-product-native-cart .mach-native-add-to-cart{
  margin-top:14px!important;
}
body.mach-product-native-cart form.mach-native-cart-form{
  margin-top:0!important;
}
body.mach-product-native-cart .mach-native-add-to-cart .quantity,
body.mach-product-native-cart form.mach-native-add-to-cart .quantity{
  min-height:50px!important;
}
body.mach-product-native-cart .mach-native-add-to-cart .quantity input,
body.mach-product-native-cart form.mach-native-add-to-cart .quantity input{
  min-height:50px!important;
  border:1px solid #d2d2cc!important;
  background:#fff!important;
  color:#111!important;
  box-shadow:none!important;
}
body.mach-product-native-cart .mach-native-add-to-cart .btn-conversion,
body.mach-product-native-cart .mach-native-add-to-cart button[type=submit],
body.mach-product-native-cart form.mach-native-add-to-cart .btn-conversion,
body.mach-product-native-cart form.mach-native-add-to-cart button[type=submit]{
  min-height:50px!important;
  background:var(--mach-yellow)!important;
  color:#111!important;
  border:0!important;
  font-weight:900!important;
  box-shadow:none!important;
}
body.mach-product-native-cart .mach-native-add-to-cart .btn-conversion:hover,
body.mach-product-native-cart .mach-native-add-to-cart button[type=submit]:hover,
body.mach-product-native-cart form.mach-native-add-to-cart .btn-conversion:hover,
body.mach-product-native-cart form.mach-native-add-to-cart button[type=submit]:hover{
  background:#ffd028!important;
}

/* Restore any price that older rules expected to live in a custom row. */
body.mach-product-native-cart .p-info-wrapper .p-final-price-wrapper,
body.mach-product-native-cart .p-info-wrapper .price-final,
body.mach-product-native-cart .p-info .p-final-price-wrapper,
body.mach-product-native-cart .p-info .price-final{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}

@media(max-width:767px){
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list,
  body.mach-product-native-cart .mach-native-purchase-panel > .detail-parameters,
  body.mach-product-native-cart .mach-native-cart-form .variant-list,
  body.mach-product-native-cart .mach-native-cart-form .detail-parameters{
    padding:16px 14px 14px!important;
  }
}


/* =========================================================
   v1.63 — PRODUCT DETAIL VISUAL POLISH
   CSS ONLY. Native Shoptet variant/cart DOM stays untouched.
   ========================================================= */

body.mach-product-native-cart{
  --mach-product-panel:#f6f6f2;
  --mach-product-line:#d9d9d3;
  --mach-product-muted:#73736f;
}

/* Keep both columns visually balanced without moving any native nodes. */
@media (min-width:768px){
  body.mach-product-native-cart .p-detail-inner{
    align-items:start!important;
  }
  body.mach-product-native-cart .p-info-wrapper,
  body.mach-product-native-cart .p-info{
    padding-top:0!important;
  }
}

/* Price = strong editorial block. */
body.mach-product-native-cart .p-info-wrapper .p-final-price-wrapper,
body.mach-product-native-cart .p-info-wrapper .price-final,
body.mach-product-native-cart .p-info .p-final-price-wrapper,
body.mach-product-native-cart .p-info .price-final{
  margin:0 0 12px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  line-height:1.05!important;
}
body.mach-product-native-cart .p-info-wrapper .p-final-price-wrapper:before,
body.mach-product-native-cart .p-info .p-final-price-wrapper:before{
  content:"CENA";
  display:block;
  margin:0 0 5px;
  color:#9a7300;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.16em;
}
body.mach-product-native-cart .p-info-wrapper .price-final strong,
body.mach-product-native-cart .p-info .price-final strong,
body.mach-product-native-cart .p-info-wrapper .p-final-price,
body.mach-product-native-cart .p-info .p-final-price{
  color:#121212!important;
  font-size:31px!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:-.035em!important;
}

/* Variant block: one clean card, no yellow stripes between every row. */
body.mach-product-native-cart .mach-native-purchase-panel .variant-list,
body.mach-product-native-cart .mach-native-purchase-panel > .detail-parameters,
body.mach-product-native-cart .mach-native-cart-form .variant-list,
body.mach-product-native-cart .mach-native-cart-form .detail-parameters{
  position:relative!important;
  margin:0 0 12px!important;
  padding:36px 18px 8px!important;
  background:#fff!important;
  border:1px solid var(--mach-product-line)!important;
  border-top:4px solid var(--mach-yellow)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.035)!important;
}

/* Small section label. Works for div-based variant lists. */
body.mach-product-native-cart .mach-native-purchase-panel .variant-list:before,
body.mach-product-native-cart .mach-native-purchase-panel > .detail-parameters:before,
body.mach-product-native-cart .mach-native-cart-form .variant-list:before,
body.mach-product-native-cart .mach-native-cart-form .detail-parameters:before{
  content:"NASTAVENÍ PRODUKTU";
  position:absolute;
  top:14px;
  left:18px;
  color:#9a7300;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.16em;
  pointer-events:none;
}

/* DIV based Shoptet variants. */
body.mach-product-native-cart .variant-list > div,
body.mach-product-native-cart .variant-list .variant,
body.mach-product-native-cart .detail-parameters > div{
  display:grid!important;
  grid-template-columns:minmax(118px,.9fr) minmax(0,1.35fr)!important;
  align-items:center!important;
  gap:12px!important;
  min-height:58px!important;
  margin:0!important;
  padding:8px 0!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid #ecece7!important;
}
body.mach-product-native-cart .variant-list > div:last-child,
body.mach-product-native-cart .variant-list .variant:last-child,
body.mach-product-native-cart .detail-parameters > div:last-child{
  border-bottom:0!important;
}

/* TABLE based Shoptet variants. */
body.mach-product-native-cart .variant-list table,
body.mach-product-native-cart .detail-parameters table{
  width:100%!important;
  margin:0!important;
  border-collapse:collapse!important;
}
body.mach-product-native-cart .variant-list tr,
body.mach-product-native-cart .detail-parameters tr{
  border-bottom:1px solid #ecece7!important;
}
body.mach-product-native-cart .variant-list tr:last-child,
body.mach-product-native-cart .detail-parameters tr:last-child{
  border-bottom:0!important;
}
body.mach-product-native-cart .variant-list th,
body.mach-product-native-cart .variant-list td,
body.mach-product-native-cart .detail-parameters th,
body.mach-product-native-cart .detail-parameters td{
  padding:8px 0!important;
  border:0!important;
  vertical-align:middle!important;
}
body.mach-product-native-cart .variant-list th,
body.mach-product-native-cart .detail-parameters th{
  width:38%!important;
  padding-right:12px!important;
  text-align:left!important;
}

/* Labels. */
body.mach-product-native-cart .mach-native-purchase-panel .variant-list label,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters label,
body.mach-product-native-cart .mach-native-cart-form .variant-list label,
body.mach-product-native-cart .mach-native-cart-form .detail-parameters label,
body.mach-product-native-cart .variant-list th,
body.mach-product-native-cart .detail-parameters th{
  color:#696963!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:600!important;
}

/* Selects: larger, cleaner, strong value. Native select remains native. */
body.mach-product-native-cart .mach-native-purchase-panel select,
body.mach-product-native-cart .mach-native-cart-form select,
body.mach-product-native-cart .variant-list select,
body.mach-product-native-cart .detail-parameters select{
  width:100%!important;
  max-width:none!important;
  min-height:46px!important;
  height:46px!important;
  margin:0!important;
  padding:0 40px 0 13px!important;
  background-color:#f7f7f4!important;
  border:1px solid #d4d4ce!important;
  border-radius:0!important;
  color:#111!important;
  font-size:13px!important;
  line-height:46px!important;
  font-weight:800!important;
  box-shadow:none!important;
  transition:border-color .16s ease,background-color .16s ease!important;
}
body.mach-product-native-cart .mach-native-purchase-panel select:hover,
body.mach-product-native-cart .mach-native-cart-form select:hover,
body.mach-product-native-cart .variant-list select:hover,
body.mach-product-native-cart .detail-parameters select:hover{
  background-color:#fff!important;
  border-color:#aaa9a2!important;
}
body.mach-product-native-cart .mach-native-purchase-panel select:focus,
body.mach-product-native-cart .mach-native-cart-form select:focus,
body.mach-product-native-cart .variant-list select:focus,
body.mach-product-native-cart .detail-parameters select:focus{
  background-color:#fff!important;
  border-color:var(--mach-yellow)!important;
  outline:0!important;
  box-shadow:0 0 0 3px rgba(255,192,0,.12)!important;
}

/* Delivery link belongs visually to settings, but should stay subtle. */
body.mach-product-native-cart .delivery-time,
body.mach-product-native-cart .availability-label,
body.mach-product-native-cart .variant-list a,
body.mach-product-native-cart .detail-parameters a{
  color:#ad7d00!important;
  font-size:12px!important;
  font-weight:700!important;
  text-decoration:none!important;
}

/* Native cart row: graphic polish only, no DOM manipulation. */
body.mach-product-native-cart .mach-native-add-to-cart,
body.mach-product-native-cart form.mach-native-add-to-cart{
  display:flex!important;
  align-items:stretch!important;
  gap:10px!important;
  margin:0 0 12px!important;
  padding:12px!important;
  background:var(--mach-product-panel)!important;
  border:1px solid var(--mach-product-line)!important;
  border-top:0!important;
}

/* Quantity keeps Shoptet functionality; only its surface changes. */
body.mach-product-native-cart .mach-native-add-to-cart .quantity,
body.mach-product-native-cart form.mach-native-add-to-cart .quantity{
  flex:0 0 82px!important;
  min-width:82px!important;
  min-height:52px!important;
  margin:0!important;
  background:#fff!important;
  border:1px solid #d0d0ca!important;
  border-radius:0!important;
  overflow:hidden!important;
}
body.mach-product-native-cart .mach-native-add-to-cart .quantity input,
body.mach-product-native-cart form.mach-native-add-to-cart .quantity input{
  min-height:50px!important;
  height:50px!important;
  margin:0!important;
  background:#fff!important;
  border:0!important;
  color:#111!important;
  font-size:15px!important;
  font-weight:900!important;
  text-align:center!important;
  box-shadow:none!important;
  outline:0!important;
}
body.mach-product-native-cart .mach-native-add-to-cart .quantity:focus-within,
body.mach-product-native-cart form.mach-native-add-to-cart .quantity:focus-within{
  border-color:var(--mach-yellow)!important;
  box-shadow:0 0 0 3px rgba(255,192,0,.10)!important;
}

/* Primary CTA. */
body.mach-product-native-cart .mach-native-add-to-cart .btn-conversion,
body.mach-product-native-cart .mach-native-add-to-cart button[type=submit],
body.mach-product-native-cart form.mach-native-add-to-cart .btn-conversion,
body.mach-product-native-cart form.mach-native-add-to-cart button[type=submit]{
  flex:1 1 auto!important;
  min-width:0!important;
  min-height:52px!important;
  height:52px!important;
  margin:0!important;
  padding:0 22px!important;
  background:var(--mach-yellow)!important;
  border:1px solid var(--mach-yellow)!important;
  border-radius:0!important;
  color:#111!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
  box-shadow:none!important;
  transition:background .16s ease,transform .16s ease!important;
}
body.mach-product-native-cart .mach-native-add-to-cart .btn-conversion:hover,
body.mach-product-native-cart .mach-native-add-to-cart button[type=submit]:hover,
body.mach-product-native-cart form.mach-native-add-to-cart .btn-conversion:hover,
body.mach-product-native-cart form.mach-native-add-to-cart button[type=submit]:hover{
  background:#ffd12a!important;
  transform:translateY(-1px)!important;
}

/* Short product intro below purchase area. */
body.mach-product-native-cart .p-info-wrapper .p-short-description,
body.mach-product-native-cart .p-info .p-short-description,
body.mach-product-native-cart .p-info-wrapper .description,
body.mach-product-native-cart .p-info .description{
  margin-top:10px!important;
  padding:15px 16px!important;
  background:#f7f7f4!important;
  border-left:3px solid var(--mach-yellow)!important;
  color:#292929!important;
  font-size:12px!important;
  line-height:1.6!important;
}

/* Links below purchase block. */
body.mach-product-native-cart .p-info-wrapper .social-buttons-wrapper,
body.mach-product-native-cart .p-info .social-buttons-wrapper{
  margin-top:14px!important;
  padding-top:14px!important;
  border-top:1px solid #e3e3de!important;
}

/* Mobile: labels above fields, full-width CTA, still native. */
@media(max-width:767px){
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list,
  body.mach-product-native-cart .mach-native-purchase-panel > .detail-parameters,
  body.mach-product-native-cart .mach-native-cart-form .variant-list,
  body.mach-product-native-cart .mach-native-cart-form .detail-parameters{
    padding:34px 14px 8px!important;
  }
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list:before,
  body.mach-product-native-cart .mach-native-purchase-panel > .detail-parameters:before,
  body.mach-product-native-cart .mach-native-cart-form .variant-list:before,
  body.mach-product-native-cart .mach-native-cart-form .detail-parameters:before{
    top:13px!important;
    left:14px!important;
  }
  body.mach-product-native-cart .variant-list > div,
  body.mach-product-native-cart .variant-list .variant,
  body.mach-product-native-cart .detail-parameters > div{
    grid-template-columns:1fr!important;
    gap:6px!important;
    padding:11px 0!important;
  }
  body.mach-product-native-cart .variant-list th,
  body.mach-product-native-cart .variant-list td,
  body.mach-product-native-cart .detail-parameters th,
  body.mach-product-native-cart .detail-parameters td{
    display:block!important;
    width:100%!important;
    padding:5px 0!important;
  }
  body.mach-product-native-cart .variant-list th,
  body.mach-product-native-cart .detail-parameters th{
    padding-bottom:2px!important;
  }
  body.mach-product-native-cart .mach-native-add-to-cart,
  body.mach-product-native-cart form.mach-native-add-to-cart{
    flex-wrap:wrap!important;
    padding:10px!important;
  }
  body.mach-product-native-cart .mach-native-add-to-cart .quantity,
  body.mach-product-native-cart form.mach-native-add-to-cart .quantity{
    flex:0 0 86px!important;
  }
  body.mach-product-native-cart .mach-native-add-to-cart .btn-conversion,
  body.mach-product-native-cart .mach-native-add-to-cart button[type=submit],
  body.mach-product-native-cart form.mach-native-add-to-cart .btn-conversion,
  body.mach-product-native-cart form.mach-native-add-to-cart button[type=submit]{
    flex:1 1 calc(100% - 96px)!important;
  }
}


/* =========================================================
   v1.64 — PRODUCT DETAIL / VARIANT CARDS
   Goal:
   - give the right column more breathing room
   - style each native variant row like the main-category card
   - keep all native Shoptet DOM + cart functionality untouched
   ========================================================= */

@media (min-width: 992px){

  /* More balanced product layout: gallery no longer visually crushes purchase column */
  /* v1.65: keep Shoptet's native product layout.
     Do NOT turn .p-detail-inner into a grid: title/rating/media/info are
     separate native children and CSS grid auto-placement breaks their order. */
  body.mach-product-native-cart .p-detail-inner{
    align-items:flex-start!important;
  }

  body.mach-product-native-cart .p-image-wrapper,
  body.mach-product-native-cart .p-gallery,
  body.mach-product-native-cart .p-image{
    min-width:0!important;
  }

  body.mach-product-native-cart .p-info-wrapper,
  body.mach-product-native-cart .p-info{
    min-width:0!important;
    width:100%!important;
    max-width:none!important;
    padding-left:0!important;
  }

  body.mach-product-native-cart .p-info-wrapper .p-final-price-wrapper,
  body.mach-product-native-cart .p-info .p-final-price-wrapper,
  body.mach-product-native-cart .p-info-wrapper .price-final,
  body.mach-product-native-cart .p-info .price-final{
    margin-bottom:18px!important;
  }
}

/* Remove the previous "single boxed table" feeling */
body.mach-product-native-cart .mach-native-purchase-panel .variant-list,
body.mach-product-native-cart .mach-native-purchase-panel > .detail-parameters,
body.mach-product-native-cart .mach-native-cart-form .variant-list,
body.mach-product-native-cart .mach-native-cart-form .detail-parameters{
  padding:0!important;
  margin:0 0 14px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

body.mach-product-native-cart .mach-native-purchase-panel .variant-list:before,
body.mach-product-native-cart .mach-native-purchase-panel > .detail-parameters:before,
body.mach-product-native-cart .mach-native-cart-form .variant-list:before,
body.mach-product-native-cart .mach-native-cart-form .detail-parameters:before{
  display:none!important;
}

/* Each option becomes its own "menu category" style card */
body.mach-product-native-cart .variant-list > div,
body.mach-product-native-cart .variant-list .variant,
body.mach-product-native-cart .detail-parameters > div{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(135px,.8fr) minmax(0,1.2fr)!important;
  align-items:center!important;
  gap:14px!important;
  min-height:72px!important;
  margin:0 0 10px!important;
  padding:12px 14px 12px 18px!important;
  background:#fff!important;
  border:1px solid #dfdfda!important;
  border-radius:8px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}

body.mach-product-native-cart .variant-list > div:before,
body.mach-product-native-cart .variant-list .variant:before,
body.mach-product-native-cart .detail-parameters > div:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:5px;
  background:var(--mach-yellow)!important;
}

/* For table-based variant markup, visually cardify rows too */
body.mach-product-native-cart .variant-list table,
body.mach-product-native-cart .detail-parameters table{
  border-collapse:separate!important;
  border-spacing:0 10px!important;
}

body.mach-product-native-cart .variant-list tr,
body.mach-product-native-cart .detail-parameters tr{
  position:relative!important;
  background:#fff!important;
  box-shadow:0 0 0 1px #dfdfda!important;
}

body.mach-product-native-cart .variant-list tr th:first-child,
body.mach-product-native-cart .detail-parameters tr th:first-child{
  border-left:5px solid var(--mach-yellow)!important;
}

body.mach-product-native-cart .variant-list th,
body.mach-product-native-cart .variant-list td,
body.mach-product-native-cart .detail-parameters th,
body.mach-product-native-cart .detail-parameters td{
  padding:12px 14px!important;
  background:#fff!important;
  border-top:0!important;
  border-bottom:0!important;
}

/* Label side = same hierarchy as big-menu category card */
body.mach-product-native-cart .mach-native-purchase-panel .variant-list label,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters label,
body.mach-product-native-cart .mach-native-cart-form .variant-list label,
body.mach-product-native-cart .mach-native-cart-form .detail-parameters label,
body.mach-product-native-cart .variant-list th,
body.mach-product-native-cart .detail-parameters th{
  position:relative!important;
  padding-top:14px!important;
  color:#1b1b1b!important;
  font-size:12.5px!important;
  line-height:1.25!important;
  font-weight:800!important;
}

/* pseudo small kicker similar to "HLAVNÍ KATEGORIE" */
body.mach-product-native-cart .variant-list > div label:before,
body.mach-product-native-cart .variant-list .variant label:before,
body.mach-product-native-cart .detail-parameters > div label:before{
  content:"NASTAVENÍ";
  position:absolute;
  left:0;
  top:0;
  color:#a87800!important;
  font-size:7px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.13em!important;
}

/* Select = clean white card interior, not "form table" */
body.mach-product-native-cart .mach-native-purchase-panel select,
body.mach-product-native-cart .mach-native-cart-form select,
body.mach-product-native-cart .variant-list select,
body.mach-product-native-cart .detail-parameters select{
  min-height:46px!important;
  height:46px!important;
  background:#f8f8f5!important;
  border:1px solid #d7d7d1!important;
  border-radius:5px!important;
  padding-left:13px!important;
  font-size:13px!important;
  font-weight:800!important;
}

/* Purchase row gets separated from variants so it doesn't feel stuck to gallery/fields */
body.mach-product-native-cart .mach-native-add-to-cart,
body.mach-product-native-cart form.mach-native-add-to-cart{
  margin-top:14px!important;
  padding:14px!important;
  border:1px solid #dfdfda!important;
  border-left:5px solid var(--mach-yellow)!important;
  background:#fff!important;
  border-radius:8px!important;
}

/* Quantity resembles a compact category micro-card */
body.mach-product-native-cart .mach-native-add-to-cart .quantity,
body.mach-product-native-cart form.mach-native-add-to-cart .quantity{
  border-radius:5px!important;
  background:#f8f8f5!important;
}

/* CTA slightly less wide/heavy and better balanced */
body.mach-product-native-cart .mach-native-add-to-cart .btn-conversion,
body.mach-product-native-cart .mach-native-add-to-cart button[type=submit],
body.mach-product-native-cart form.mach-native-add-to-cart .btn-conversion,
body.mach-product-native-cart form.mach-native-add-to-cart button[type=submit]{
  border-radius:5px!important;
  font-size:13px!important;
}

/* Delivery row shouldn't look like another variant stripe */
body.mach-product-native-cart .delivery-time,
body.mach-product-native-cart .availability-label{
  display:block!important;
  margin:5px 0 0!important;
  padding:9px 2px 0!important;
  color:#ad7d00!important;
  border-top:1px solid #ecece7!important;
}

/* Mobile: same card language, stacked field */
@media(max-width:767px){

  body.mach-product-native-cart .variant-list > div,
  body.mach-product-native-cart .variant-list .variant,
  body.mach-product-native-cart .detail-parameters > div{
    grid-template-columns:1fr!important;
    gap:8px!important;
    min-height:0!important;
    padding:14px 14px 14px 18px!important;
  }

  body.mach-product-native-cart .variant-list > div label,
  body.mach-product-native-cart .variant-list .variant label,
  body.mach-product-native-cart .detail-parameters > div label{
    padding-top:13px!important;
    font-size:12px!important;
  }

  body.mach-product-native-cart .mach-native-purchase-panel select,
  body.mach-product-native-cart .mach-native-cart-form select,
  body.mach-product-native-cart .variant-list select,
  body.mach-product-native-cart .detail-parameters select{
    min-height:48px!important;
    height:48px!important;
    font-size:14px!important;
  }

  body.mach-product-native-cart .mach-native-add-to-cart,
  body.mach-product-native-cart form.mach-native-add-to-cart{
    margin-top:12px!important;
    padding:10px!important;
  }
}


/* =========================================================
   v1.66 — STABLE PRODUCT TWO-COLUMN LAYOUT
   Functional Shoptet form/variants remain untouched.
   Only classes + CSS layout are added.
   ========================================================= */

@media (min-width: 992px){

  body.mach-product-native-cart .p-detail-inner{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:flex-start!important;
    column-gap:34px!important;
    row-gap:0!important;
  }

  /* Every ordinary direct child (title, rating, etc.) stays full width. */
  body.mach-product-native-cart .p-detail-inner > *{
    min-width:0;
  }

  /* JS only marks the two existing native branches. No DOM movement. */
  body.mach-product-native-cart .p-detail-inner > .mach-product-media-cell{
    flex:0 0 calc(52% - 17px)!important;
    width:calc(52% - 17px)!important;
    max-width:calc(52% - 17px)!important;
    order:20!important;
  }

  body.mach-product-native-cart .p-detail-inner > .mach-product-buy-cell{
    flex:1 1 calc(48% - 17px)!important;
    width:calc(48% - 17px)!important;
    max-width:calc(48% - 17px)!important;
    order:21!important;
    padding-top:0!important;
    margin-top:0!important;
  }

  /* Header/rating elements before the two columns remain on their own row. */
  body.mach-product-native-cart .p-detail-inner > :not(.mach-product-media-cell):not(.mach-product-buy-cell){
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
  }

  body.mach-product-native-cart .mach-product-media-cell .p-image-wrapper,
  body.mach-product-native-cart .mach-product-media-cell.p-image-wrapper{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }

  body.mach-product-native-cart .mach-product-buy-cell .p-info-wrapper,
  body.mach-product-native-cart .mach-product-buy-cell.p-info-wrapper,
  body.mach-product-native-cart .mach-product-buy-cell .p-info,
  body.mach-product-native-cart .mach-product-buy-cell.p-info{
    width:100%!important;
    max-width:100%!important;
    margin-top:0!important;
    padding-top:0!important;
  }

  /* Keep price and the first setting visually aligned with top of gallery. */
  body.mach-product-native-cart .mach-product-buy-cell .p-final-price-wrapper,
  body.mach-product-native-cart .mach-product-buy-cell .price-final{
    margin-top:0!important;
  }
}

/* Variant card styling: separate rows, same visual language as menu cards.
   No native select/form node is moved or replaced. */
body.mach-product-native-cart .mach-native-purchase-panel .variant-list,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters{
  margin-top:10px!important;
}

/* div-based variant markup */
body.mach-product-native-cart .mach-native-purchase-panel .variant-list > div,
body.mach-product-native-cart .mach-native-purchase-panel .variant-list .variant,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters > div{
  position:relative!important;
  margin:0 0 9px!important;
  padding:12px 13px 12px 18px!important;
  border:1px solid #deded8!important;
  border-radius:7px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}

body.mach-product-native-cart .mach-native-purchase-panel .variant-list > div:before,
body.mach-product-native-cart .mach-native-purchase-panel .variant-list .variant:before,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters > div:before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:5px;
  background:var(--mach-yellow)!important;
}

/* table-based variant markup — rows behave as separated cards */
body.mach-product-native-cart .mach-native-purchase-panel .variant-list table,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0 9px!important;
}

body.mach-product-native-cart .mach-native-purchase-panel .variant-list tr,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters tr{
  background:#fff!important;
}

body.mach-product-native-cart .mach-native-purchase-panel .variant-list th,
body.mach-product-native-cart .mach-native-purchase-panel .variant-list td,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters th,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters td{
  padding:11px 13px!important;
  background:#fff!important;
  border-top:1px solid #deded8!important;
  border-bottom:1px solid #deded8!important;
}

body.mach-product-native-cart .mach-native-purchase-panel .variant-list th:first-child,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters th:first-child{
  border-left:5px solid var(--mach-yellow)!important;
  border-radius:7px 0 0 7px!important;
}

body.mach-product-native-cart .mach-native-purchase-panel .variant-list td:last-child,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters td:last-child{
  border-right:1px solid #deded8!important;
  border-radius:0 7px 7px 0!important;
}

/* Selects are intentionally native, only visually polished. */
body.mach-product-native-cart .mach-native-purchase-panel select{
  min-height:48px!important;
  height:48px!important;
  background:#f7f7f4!important;
  border:1px solid #d7d7d1!important;
  border-radius:5px!important;
  color:#111!important;
  font-weight:800!important;
  box-shadow:none!important;
}

body.mach-product-native-cart .mach-native-purchase-panel select:focus{
  border-color:var(--mach-yellow)!important;
  outline:0!important;
  box-shadow:0 0 0 3px rgba(255,192,0,.12)!important;
}

@media (max-width: 991px){
  body.mach-product-native-cart .mach-product-media-cell,
  body.mach-product-native-cart .mach-product-buy-cell{
    width:100%!important;
    max-width:100%!important;
  }
}


/* =========================================================
   v1.67 — FINAL PRODUCT TWO-COLUMN LAYOUT
   The wrapper is deterministic, so we no longer rely on Shoptet's historical
   Bootstrap/flex structure. This section intentionally overrides v1.64-v1.66.
   ========================================================= */

body.mach-product-stable-layout .p-detail-inner{
  display:block!important;
  width:100%!important;
}

body.mach-product-stable-layout .mach-product-main-layout-v167{
  clear:both!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(410px,.92fr)!important;
  gap:34px!important;
  width:100%!important;
  max-width:none!important;
  margin:22px 0 0!important;
  padding:0!important;
  align-items:start!important;
}

body.mach-product-stable-layout .mach-product-main-layout-v167 > .mach-product-main-media-v167,
body.mach-product-stable-layout .mach-product-main-layout-v167 > .mach-product-main-buy-v167{
  float:none!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  flex:none!important;
  transform:none!important;
}

/* Gallery */
body.mach-product-stable-layout .mach-product-main-media-v167 .p-image-wrapper,
body.mach-product-stable-layout .mach-product-main-media-v167.p-image-wrapper{
  width:100%!important;
  max-width:none!important;
  min-height:500px!important;
  margin:0!important;
  padding:18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fafaf8!important;
  border:1px solid #e5e5df!important;
}

body.mach-product-stable-layout .mach-product-main-media-v167 .p-image-wrapper img,
body.mach-product-stable-layout .mach-product-main-media-v167.p-image-wrapper img{
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  max-height:470px!important;
  object-fit:contain!important;
}

/* Purchase column */
body.mach-product-stable-layout .mach-product-main-buy-v167 .p-info-wrapper,
body.mach-product-stable-layout .mach-product-main-buy-v167.p-info-wrapper,
body.mach-product-stable-layout .mach-product-main-buy-v167 .p-info,
body.mach-product-stable-layout .mach-product-main-buy-v167.p-info{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

body.mach-product-stable-layout .mach-product-main-buy-v167 .p-final-price-wrapper,
body.mach-product-stable-layout .mach-product-main-buy-v167 .price-final{
  margin-top:0!important;
  padding-top:0!important;
}

/* The option area should stay compact inside the right column. */
body.mach-product-stable-layout .mach-product-main-buy-v167 .mach-native-purchase-panel{
  width:100%!important;
  max-width:none!important;
}

body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list,
body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters{
  width:100%!important;
  max-width:none!important;
}

/* Variant rows as actual cards inspired by the mega-menu main-category tile. */
body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list > div,
body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list .variant,
body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters > div{
  min-height:70px!important;
  grid-template-columns:minmax(150px,.8fr) minmax(0,1.2fr)!important;
}

/* Native table variant markup */
body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list th,
body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters th{
  width:40%!important;
}

body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list td,
body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters td{
  width:60%!important;
}

/* Buy row remains native and contained in the right column. */
body.mach-product-stable-layout .mach-product-main-buy-v167 .mach-native-add-to-cart,
body.mach-product-stable-layout .mach-product-main-buy-v167 form.mach-native-add-to-cart{
  width:100%!important;
  max-width:none!important;
}

/* Anything following the two-column block clears it naturally. */
body.mach-product-stable-layout .mach-product-main-layout-v167 + *{
  clear:both!important;
}

@media (max-width: 1100px) and (min-width: 768px){
  body.mach-product-stable-layout .mach-product-main-layout-v167{
    grid-template-columns:minmax(0,1fr) minmax(360px,.92fr)!important;
    gap:24px!important;
  }
}

@media (max-width: 767px){
  body.mach-product-stable-layout .mach-product-main-layout-v167{
    display:block!important;
    margin-top:14px!important;
  }

  body.mach-product-stable-layout .mach-product-main-media-v167{
    margin-bottom:18px!important;
  }

  body.mach-product-stable-layout .mach-product-main-media-v167 .p-image-wrapper,
  body.mach-product-stable-layout .mach-product-main-media-v167.p-image-wrapper{
    min-height:0!important;
    padding:10px!important;
  }

  body.mach-product-stable-layout .mach-product-main-media-v167 .p-image-wrapper img,
  body.mach-product-stable-layout .mach-product-main-media-v167.p-image-wrapper img{
    max-height:none!important;
  }
}


/* =========================================================
   v1.68 — MOBILE PRODUCT VARIANTS FIX
   Native Shoptet form/select/cart logic remains untouched.
   ========================================================= */
@media (max-width:767px){

  body.mach-product-stable-layout .mach-product-main-layout-v167{
    display:block!important;
    width:100%!important;
    margin-top:12px!important;
  }

  body.mach-product-stable-layout .mach-product-main-media-v167,
  body.mach-product-stable-layout .mach-product-main-buy-v167{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }

  body.mach-product-stable-layout .mach-product-main-media-v167{
    margin-bottom:18px!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 14px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list table,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters table,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list tbody,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters tbody{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-spacing:0!important;
    background:transparent!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list tr,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters tr{
    display:block!important;
    width:100%!important;
    margin:0 0 10px!important;
    padding:14px 14px 14px 18px!important;
    border:1px solid #deded8!important;
    border-left:5px solid var(--mach-yellow)!important;
    border-radius:8px!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list th,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list td,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters th,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list th,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters th{
    position:relative!important;
    margin-bottom:8px!important;
    padding-top:13px!important;
    color:#171717!important;
    font-size:14px!important;
    line-height:1.2!important;
    font-weight:900!important;
    text-align:left!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list th:before,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters th:before{
    content:"NASTAVENÍ";
    position:absolute;
    left:0;
    top:0;
    color:#9a7300!important;
    font-size:7px!important;
    line-height:1!important;
    font-weight:900!important;
    letter-spacing:.13em!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list > div,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list .variant,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters > div{
    display:block!important;
    width:100%!important;
    margin:0 0 10px!important;
    padding:14px 14px 14px 18px!important;
    border:1px solid #deded8!important;
    border-left:5px solid var(--mach-yellow)!important;
    border-radius:8px!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list > div:before,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list .variant:before,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters > div:before{
    display:none!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list label,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters label{
    position:relative!important;
    display:block!important;
    width:100%!important;
    margin:0 0 8px!important;
    padding:13px 0 0!important;
    color:#171717!important;
    font-size:14px!important;
    line-height:1.2!important;
    font-weight:900!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list label:before,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters label:before{
    content:"NASTAVENÍ";
    position:absolute;
    left:0;
    top:0;
    color:#9a7300!important;
    font-size:7px!important;
    line-height:1!important;
    font-weight:900!important;
    letter-spacing:.13em!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list select,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters select,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .mach-native-purchase-panel select{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:50px!important;
    min-height:50px!important;
    margin:0!important;
    padding:0 42px 0 14px!important;
    border:1px solid #d7d7d1!important;
    border-radius:6px!important;
    background-color:#f8f8f5!important;
    color:#111!important;
    font-size:14px!important;
    line-height:50px!important;
    font-weight:800!important;
    box-shadow:none!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list select:focus,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters select:focus,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .mach-native-purchase-panel select:focus{
    border-color:var(--mach-yellow)!important;
    outline:0!important;
    box-shadow:0 0 0 3px rgba(255,192,0,.12)!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .delivery-time,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .availability-label{
    display:block!important;
    width:100%!important;
    margin:2px 0 12px!important;
    padding:10px 2px 0!important;
    border-top:1px solid #e8e8e2!important;
    color:#9a7300!important;
    font-size:12px!important;
    font-weight:800!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .mach-native-add-to-cart,
  body.mach-product-stable-layout .mach-product-main-buy-v167 form.mach-native-add-to-cart{
    display:grid!important;
    grid-template-columns:82px minmax(0,1fr)!important;
    gap:10px!important;
    width:100%!important;
    margin:0 0 14px!important;
    padding:10px!important;
    border:1px solid #deded8!important;
    border-left:5px solid var(--mach-yellow)!important;
    border-radius:8px!important;
    background:#fff!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .mach-native-add-to-cart .quantity,
  body.mach-product-stable-layout .mach-product-main-buy-v167 form.mach-native-add-to-cart .quantity{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
    margin:0!important;
  }

  body.mach-product-stable-layout .mach-product-main-buy-v167 .mach-native-add-to-cart .btn-conversion,
  body.mach-product-stable-layout .mach-product-main-buy-v167 .mach-native-add-to-cart button[type=submit],
  body.mach-product-stable-layout .mach-product-main-buy-v167 form.mach-native-add-to-cart .btn-conversion,
  body.mach-product-stable-layout .mach-product-main-buy-v167 form.mach-native-add-to-cart button[type=submit]{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
}


/* =========================================================
   v1.69 — Installers generated dynamically from page editor
   ========================================================= */
.mach-installer-grid{
  display:grid;
  gap:16px;
}
.mach-installer-grid .mach-installer-card{
  margin:0;
}
@media (max-width:767px){
  .mach-installer-grid{gap:12px}
}

/* =========================================================
   v1.70 — PRODUCT DETAIL FINAL VISUAL PASS
   CSS-only. Native Shoptet selects/form/cart stay untouched.
   ========================================================= */

/* Price hierarchy */
body.mach-product-native-cart .mach-product-main-buy-v167 .p-final-price-wrapper,
body.mach-product-native-cart .mach-product-main-buy-v167 .price-final{
  margin:0 0 16px!important;
  padding:0 0 14px!important;
  border-bottom:1px solid #e5e5df!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .p-final-price-wrapper:before{
  margin-bottom:6px!important;
  color:#9a7300!important;
  font-size:8px!important;
  letter-spacing:.18em!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .price-final strong,
body.mach-product-native-cart .mach-product-main-buy-v167 .p-final-price{
  font-size:34px!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
}

/* Section label above variants */
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters:before{
  display:none!important;
}

/* -----------------------------------------------------------------
   TABLE variant markup — each native row becomes one clean category card
   ----------------------------------------------------------------- */
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list table,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters table,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list tbody,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters tbody{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-spacing:0!important;
  background:transparent!important;
}

body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list tr,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters tr{
  display:grid!important;
  grid-template-columns:minmax(145px,.82fr) minmax(0,1.18fr)!important;
  gap:14px!important;
  align-items:center!important;
  width:100%!important;
  min-height:64px!important;
  margin:0 0 9px!important;
  padding:8px 10px 8px 16px!important;
  background:#fff!important;
  border:1px solid #deded8!important;
  border-left:5px solid var(--mach-yellow)!important;
  border-radius:8px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}

body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list th,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list td,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters th,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters td{
  display:block!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list th,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters th{
  position:relative!important;
  padding-top:13px!important;
  color:#181818!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:900!important;
  text-align:left!important;
}

body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list th:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters th:before{
  content:"NASTAVENÍ"!important;
  position:absolute!important;
  top:0!important;
  left:0!important;
  color:#a17400!important;
  font-size:7px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.15em!important;
}

/* Empty/non-select rows (delivery etc.) stay compact instead of creating a blank card. */
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list tr:not(:has(select)),
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters tr:not(:has(select)){
  grid-template-columns:1fr!important;
  min-height:42px!important;
  padding:9px 12px 9px 16px!important;
  background:#faf9f4!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list tr:not(:has(select)) th,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters tr:not(:has(select)) th{
  padding-top:0!important;
  color:#9a7300!important;
  font-size:12px!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list tr:not(:has(select)) th:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters tr:not(:has(select)) th:before{
  display:none!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list tr:not(:has(select)) td:empty,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters tr:not(:has(select)) td:empty{
  display:none!important;
}

/* -----------------------------------------------------------------
   DIV variant markup fallback
   ----------------------------------------------------------------- */
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list > div,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list .variant,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters > div{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(145px,.82fr) minmax(0,1.18fr)!important;
  gap:14px!important;
  align-items:center!important;
  min-height:64px!important;
  margin:0 0 9px!important;
  padding:8px 10px 8px 16px!important;
  background:#fff!important;
  border:1px solid #deded8!important;
  border-left:5px solid var(--mach-yellow)!important;
  border-radius:8px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list > div:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list .variant:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters > div:before{
  display:none!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list label,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters label{
  position:relative!important;
  display:block!important;
  margin:0!important;
  padding:13px 0 0!important;
  color:#181818!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list label:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters label:before{
  content:"NASTAVENÍ"!important;
  position:absolute!important;
  top:0!important;
  left:0!important;
  color:#a17400!important;
  font-size:7px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.15em!important;
}

/* Select values */
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list select,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters select,
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-purchase-panel select{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 40px 0 13px!important;
  background:#f7f7f4!important;
  border:1px solid #d7d7d1!important;
  border-radius:5px!important;
  color:#101010!important;
  font-size:13px!important;
  line-height:46px!important;
  font-weight:800!important;
  box-shadow:none!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list select:hover,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters select:hover,
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-purchase-panel select:hover{
  background:#fff!important;
  border-color:#aaa9a2!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list select:focus,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters select:focus,
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-purchase-panel select:focus{
  background:#fff!important;
  border-color:var(--mach-yellow)!important;
  outline:0!important;
  box-shadow:0 0 0 3px rgba(255,192,0,.12)!important;
}

/* Delivery link outside the table */
body.mach-product-native-cart .mach-product-main-buy-v167 .delivery-time,
body.mach-product-native-cart .mach-product-main-buy-v167 .availability-label{
  display:block!important;
  margin:2px 0 12px!important;
  padding:9px 2px!important;
  color:#9a7300!important;
  font-size:12px!important;
  font-weight:800!important;
  border-top:1px solid #e5e5df!important;
  border-bottom:1px solid #e5e5df!important;
  background:transparent!important;
}

/* Cart row — one strong, tidy action card */
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-add-to-cart,
body.mach-product-native-cart .mach-product-main-buy-v167 form.mach-native-add-to-cart{
  display:grid!important;
  grid-template-columns:82px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:stretch!important;
  width:100%!important;
  margin:12px 0 12px!important;
  padding:10px!important;
  background:#fff!important;
  border:1px solid #deded8!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-add-to-cart:before,
body.mach-product-native-cart .mach-product-main-buy-v167 form.mach-native-add-to-cart:before{
  display:none!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-add-to-cart .quantity,
body.mach-product-native-cart .mach-product-main-buy-v167 form.mach-native-add-to-cart .quantity{
  width:82px!important;
  min-width:82px!important;
  max-width:82px!important;
  min-height:52px!important;
  height:52px!important;
  margin:0!important;
  border:1px solid #cfcfc8!important;
  border-radius:5px!important;
  background:#f8f8f5!important;
  overflow:hidden!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-add-to-cart .btn-conversion,
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-add-to-cart button[type=submit],
body.mach-product-native-cart .mach-product-main-buy-v167 form.mach-native-add-to-cart .btn-conversion,
body.mach-product-native-cart .mach-product-main-buy-v167 form.mach-native-add-to-cart button[type=submit]{
  width:100%!important;
  min-width:0!important;
  min-height:52px!important;
  height:52px!important;
  margin:0!important;
  padding:0 18px!important;
  border:1px solid var(--mach-yellow)!important;
  border-radius:5px!important;
  background:var(--mach-yellow)!important;
  color:#111!important;
  font-size:13px!important;
  font-weight:900!important;
  box-shadow:none!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-add-to-cart .btn-conversion:hover,
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-add-to-cart button[type=submit]:hover{
  background:#ffd126!important;
}

/* Description block under CTA */
body.mach-product-native-cart .mach-product-main-buy-v167 .p-short-description,
body.mach-product-native-cart .mach-product-main-buy-v167 .description{
  margin:0 0 10px!important;
  padding:14px 15px!important;
  background:#f6f6f2!important;
  border:0!important;
  border-left:4px solid var(--mach-yellow)!important;
  border-radius:0!important;
  color:#292929!important;
  font-size:12px!important;
  line-height:1.55!important;
}

/* MOBILE: compact cards, one visual unit per variant; no nested yellow bars */
@media (max-width:767px){
  body.mach-product-native-cart .mach-product-main-buy-v167 .price-final strong,
  body.mach-product-native-cart .mach-product-main-buy-v167 .p-final-price{
    font-size:40px!important;
  }

  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list tr,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters tr{
    grid-template-columns:1fr!important;
    gap:8px!important;
    min-height:0!important;
    margin-bottom:10px!important;
    padding:13px 13px 13px 16px!important;
    border-left-width:5px!important;
  }

  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list th,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters th{
    padding-top:12px!important;
    font-size:14px!important;
  }

  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list > div,
  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list .variant,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters > div{
    grid-template-columns:1fr!important;
    gap:8px!important;
    min-height:0!important;
    padding:13px 13px 13px 16px!important;
  }

  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list label,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters label{
    padding-top:12px!important;
    font-size:14px!important;
  }

  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list select,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters select,
  body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-purchase-panel select{
    height:50px!important;
    min-height:50px!important;
    font-size:14px!important;
  }

  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list tr:not(:has(select)),
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters tr:not(:has(select)){
    min-height:40px!important;
    padding:10px 12px 10px 16px!important;
  }

  body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-add-to-cart,
  body.mach-product-native-cart .mach-product-main-buy-v167 form.mach-native-add-to-cart{
    grid-template-columns:84px minmax(0,1fr)!important;
    gap:9px!important;
    margin-top:12px!important;
    padding:9px!important;
  }

  body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-add-to-cart .quantity,
  body.mach-product-native-cart .mach-product-main-buy-v167 form.mach-native-add-to-cart .quantity{
    width:84px!important;
    min-width:84px!important;
    max-width:84px!important;
    height:56px!important;
    min-height:56px!important;
  }

  body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-add-to-cart .btn-conversion,
  body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-add-to-cart button[type=submit],
  body.mach-product-native-cart .mach-product-main-buy-v167 form.mach-native-add-to-cart .btn-conversion,
  body.mach-product-native-cart .mach-product-main-buy-v167 form.mach-native-add-to-cart button[type=submit]{
    height:56px!important;
    min-height:56px!important;
    padding:0 12px!important;
    font-size:14px!important;
  }
}

/* =========================================================
   v1.72 — CLEAN VARIANT CARDS
   No repeated yellow brackets. One subtle accent per card.
   ========================================================= */
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list tr,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters tr,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list > div,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list .variant,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters > div{
  position:relative!important;
  border:1px solid #deded8!important;
  border-left:1px solid #deded8!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(0,0,0,.035)!important;
  overflow:hidden!important;
}

/* short top accent instead of the repeated yellow vertical rail */
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list tr:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters tr:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list > div:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list .variant:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters > div:before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:14px!important;
  top:0!important;
  width:34px!important;
  height:3px!important;
  background:var(--mach-yellow)!important;
  border-radius:0 0 3px 3px!important;
  z-index:2!important;
}

/* no nested yellow mini-brackets on labels */
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list th,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters th,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list label,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters label{
  padding-top:13px!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list th:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters th:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list label:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters label:before{
  content:"VOLBA"!important;
  position:absolute!important;
  top:1px!important;
  left:0!important;
  color:#9a7300!important;
  background:transparent!important;
  border:0!important;
  width:auto!important;
  height:auto!important;
  font-size:7px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.16em!important;
}

body.mach-product-native-cart .mach-product-main-buy-v167 .mach-variant-empty-row{
  display:none!important;
}

body.mach-product-native-cart .mach-product-main-buy-v167 .mach-variant-delivery-row{
  min-height:0!important;
  margin:3px 0 12px!important;
  padding:10px 14px!important;
  display:block!important;
  background:#f7f7f4!important;
  border:1px solid #e3e3de!important;
  border-radius:7px!important;
  box-shadow:none!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-variant-delivery-row:before{
  display:none!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-variant-delivery-row th,
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-variant-delivery-row td,
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-variant-delivery-row label{
  display:block!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  color:#9a7300!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:800!important;
}
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-variant-delivery-row th:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .mach-variant-delivery-row label:before{
  display:none!important;
}

/* Desktop: slightly roomier and calmer cards */
@media (min-width:768px){
  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list tr,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters tr,
  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list > div,
  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list .variant,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters > div{
    min-height:68px!important;
    padding:10px 12px 10px 16px!important;
    margin-bottom:10px!important;
  }
}

/* Mobile: clean stacked card, no doubled borders or rails */
@media (max-width:767px){
  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list tr,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters tr,
  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list > div,
  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list .variant,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters > div{
    padding:16px 14px 14px!important;
    margin-bottom:11px!important;
    border-left:1px solid #deded8!important;
    box-shadow:0 4px 14px rgba(0,0,0,.03)!important;
  }

  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list tr:before,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters tr:before,
  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list > div:before,
  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list .variant:before,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters > div:before{
    left:14px!important;
    width:38px!important;
  }

  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list th,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters th,
  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list label,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters label{
    margin-bottom:10px!important;
    padding-top:14px!important;
    font-size:15px!important;
  }

  body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list select,
  body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters select,
  body.mach-product-native-cart .mach-product-main-buy-v167 .mach-native-purchase-panel select{
    height:52px!important;
    min-height:52px!important;
    background:#fafaf7!important;
    border-color:#d8d8d2!important;
    border-radius:6px!important;
    font-size:15px!important;
  }

  body.mach-product-native-cart .mach-product-main-buy-v167 .mach-variant-delivery-row{
    padding:11px 14px!important;
    margin-top:1px!important;
  }
}


/* =========================================================
   v1.73 — PRODUCT CONFIG PANEL REWORK
   Cleaner, calmer, one coherent product-settings panel.
   Native Shoptet form/select/cart logic remains untouched.
   ========================================================= */

body.mach-product-native-cart{
  --mach-panel-bg:#f7f7f4;
  --mach-panel-border:#deded8;
  --mach-panel-muted:#73736f;
}

/* Kill the repeated yellow brackets / individual card language from older passes. */
body.mach-product-native-cart .mach-native-purchase-panel .variant-list > div,
body.mach-product-native-cart .mach-native-purchase-panel .variant-list .variant,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters > div,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list > div,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list .variant,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters > div{
  border:0!important;
  border-left:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  overflow:visible!important;
}
body.mach-product-native-cart .mach-native-purchase-panel .variant-list > div:before,
body.mach-product-native-cart .mach-native-purchase-panel .variant-list .variant:before,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters > div:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list > div:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .variant-list .variant:before,
body.mach-product-native-cart .mach-product-main-buy-v167 .detail-parameters > div:before{
  display:none!important;
}

/* One coherent settings surface */
body.mach-product-native-cart .mach-native-purchase-panel{
  position:relative!important;
  width:100%!important;
  margin:16px 0 14px!important;
  padding:18px!important;
  background:var(--mach-panel-bg)!important;
  border:1px solid var(--mach-panel-border)!important;
  border-top:4px solid var(--mach-yellow)!important;
  border-radius:8px!important;
  box-shadow:none!important;
}

body.mach-product-native-cart .mach-native-purchase-panel:before{
  content:"NASTAVENÍ PRODUKTU";
  display:block;
  margin:0 0 14px!important;
  color:#9a7300!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.16em!important;
}

/* Remove wrapper/table boxing and spacing artifacts */
body.mach-product-native-cart .mach-native-purchase-panel .variant-list,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.mach-product-native-cart .mach-native-purchase-panel .variant-list table,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters table{
  width:100%!important;
  margin:0!important;
  border-collapse:collapse!important;
  border-spacing:0!important;
  background:transparent!important;
}
body.mach-product-native-cart .mach-native-purchase-panel .variant-list tbody,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters tbody{
  background:transparent!important;
}

/* Desktop rows */
@media (min-width:768px){
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list > div,
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list .variant,
  body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters > div{
    display:grid!important;
    grid-template-columns:minmax(150px,.8fr) minmax(0,1.2fr)!important;
    align-items:center!important;
    gap:18px!important;
    min-height:60px!important;
    margin:0!important;
    padding:10px 0!important;
    border-bottom:1px solid #e4e4de!important;
  }
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list > div:last-child,
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list .variant:last-child,
  body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters > div:last-child{
    border-bottom:0!important;
  }

  body.mach-product-native-cart .mach-native-purchase-panel .variant-list tr,
  body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters tr{
    background:transparent!important;
    border-bottom:1px solid #e4e4de!important;
  }
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list tr:last-child,
  body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters tr:last-child{
    border-bottom:0!important;
  }
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list th,
  body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters th{
    width:40%!important;
    padding:10px 18px 10px 0!important;
  }
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list td,
  body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters td{
    width:60%!important;
    padding:10px 0!important;
  }
}

/* Labels: no fake "VOLBA/NASTAVENÍ" per row */
body.mach-product-native-cart .mach-native-purchase-panel label,
body.mach-product-native-cart .mach-native-purchase-panel th{
  position:static!important;
  margin:0!important;
  padding-top:0!important;
  color:#1a1a1a!important;
  font-size:12.5px!important;
  line-height:1.25!important;
  font-weight:800!important;
}
body.mach-product-native-cart .mach-native-purchase-panel label:before,
body.mach-product-native-cart .mach-native-purchase-panel th:before{
  display:none!important;
  content:none!important;
}

/* Selects */
body.mach-product-native-cart .mach-native-purchase-panel select{
  width:100%!important;
  max-width:none!important;
  min-height:46px!important;
  height:46px!important;
  margin:0!important;
  padding:0 40px 0 13px!important;
  background:#fff!important;
  border:1px solid #d2d2cc!important;
  border-radius:6px!important;
  color:#111!important;
  font-size:13px!important;
  line-height:46px!important;
  font-weight:800!important;
  box-shadow:none!important;
}
body.mach-product-native-cart .mach-native-purchase-panel select:hover{
  border-color:#aaa9a2!important;
}
body.mach-product-native-cart .mach-native-purchase-panel select:focus{
  outline:0!important;
  border-color:var(--mach-yellow)!important;
  box-shadow:0 0 0 3px rgba(255,192,0,.11)!important;
}

/* Variant prompt: keep, but make it subtle and useful */
body.mach-product-native-cart .variant-not-chosen,
body.mach-product-native-cart .p-info-wrapper .variant-not-chosen,
body.mach-product-native-cart .p-info .variant-not-chosen{
  margin:8px 0 10px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#8f6a00!important;
  font-size:11px!important;
  font-weight:800!important;
}

/* Hide truly empty rows produced by Shoptet / previous wrappers */
body.mach-product-native-cart .mach-native-purchase-panel tr:empty,
body.mach-product-native-cart .mach-native-purchase-panel td:empty,
body.mach-product-native-cart .mach-native-purchase-panel th:empty,
body.mach-product-native-cart .mach-native-purchase-panel .variant:empty,
body.mach-product-native-cart .mach-native-purchase-panel > div:empty{
  display:none!important;
}

/* Delivery becomes a quiet footer row within the settings area */
body.mach-product-native-cart .delivery-time,
body.mach-product-native-cart .availability-label{
  display:block!important;
  width:100%!important;
  margin:10px 0 0!important;
  padding:10px 0 0!important;
  border-top:1px solid #e4e4de!important;
  color:#9a7300!important;
  font-size:11.5px!important;
  line-height:1.3!important;
  font-weight:800!important;
}

/* Buy row: single clean card, one yellow accent only */
body.mach-product-native-cart .mach-native-add-to-cart,
body.mach-product-native-cart form.mach-native-add-to-cart{
  display:grid!important;
  grid-template-columns:86px minmax(0,1fr)!important;
  gap:10px!important;
  width:100%!important;
  margin:0 0 14px!important;
  padding:10px!important;
  background:#fff!important;
  border:1px solid var(--mach-panel-border)!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
body.mach-product-native-cart .mach-native-add-to-cart:before,
body.mach-product-native-cart form.mach-native-add-to-cart:before{
  display:none!important;
}

/* Quantity */
body.mach-product-native-cart .mach-native-add-to-cart .quantity,
body.mach-product-native-cart form.mach-native-add-to-cart .quantity{
  width:86px!important;
  min-width:86px!important;
  max-width:86px!important;
  height:52px!important;
  margin:0!important;
  background:#fff!important;
  border:1px solid #d2d2cc!important;
  border-radius:6px!important;
  overflow:hidden!important;
}

/* CTA */
body.mach-product-native-cart .mach-native-add-to-cart .btn-conversion,
body.mach-product-native-cart .mach-native-add-to-cart button[type=submit],
body.mach-product-native-cart form.mach-native-add-to-cart .btn-conversion,
body.mach-product-native-cart form.mach-native-add-to-cart button[type=submit]{
  width:100%!important;
  min-width:0!important;
  height:52px!important;
  min-height:52px!important;
  margin:0!important;
  border-radius:6px!important;
  background:var(--mach-yellow)!important;
  border:1px solid var(--mach-yellow)!important;
  color:#111!important;
  font-size:13px!important;
  font-weight:900!important;
  box-shadow:none!important;
}

/* Intro below buy row */
body.mach-product-native-cart .p-short-description,
body.mach-product-native-cart .p-info .description,
body.mach-product-native-cart .p-info-wrapper .description{
  margin-top:0!important;
  padding:14px 16px!important;
  background:#f7f7f4!important;
  border-left:3px solid var(--mach-yellow)!important;
  font-size:11.5px!important;
  line-height:1.55!important;
}

/* MOBILE */
@media (max-width:767px){
  body.mach-product-native-cart .mach-native-purchase-panel{
    margin:14px 0 12px!important;
    padding:14px!important;
    border-radius:8px!important;
  }

  body.mach-product-native-cart .mach-native-purchase-panel:before{
    margin-bottom:10px!important;
  }

  body.mach-product-native-cart .mach-native-purchase-panel .variant-list > div,
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list .variant,
  body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters > div{
    display:block!important;
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:12px 0!important;
    border-bottom:1px solid #e4e4de!important;
  }
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list > div:last-child,
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list .variant:last-child,
  body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters > div:last-child{
    border-bottom:0!important;
  }

  body.mach-product-native-cart .mach-native-purchase-panel table,
  body.mach-product-native-cart .mach-native-purchase-panel tbody{
    display:block!important;
    width:100%!important;
  }
  body.mach-product-native-cart .mach-native-purchase-panel tr{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:12px 0!important;
    border:0!important;
    border-bottom:1px solid #e4e4de!important;
    background:transparent!important;
  }
  body.mach-product-native-cart .mach-native-purchase-panel tr:last-child{
    border-bottom:0!important;
  }
  body.mach-product-native-cart .mach-native-purchase-panel th,
  body.mach-product-native-cart .mach-native-purchase-panel td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  body.mach-product-native-cart .mach-native-purchase-panel th{
    margin-bottom:7px!important;
    font-size:12px!important;
  }
  body.mach-product-native-cart .mach-native-purchase-panel select{
    height:48px!important;
    min-height:48px!important;
    font-size:14px!important;
  }

  body.mach-product-native-cart .mach-native-add-to-cart,
  body.mach-product-native-cart form.mach-native-add-to-cart{
    grid-template-columns:82px minmax(0,1fr)!important;
    padding:9px!important;
  }
}


/* =========================================================
   v1.74 — PRODUCT PANEL / REMOVE INNER YELLOW ACCENTS
   Keep only ONE yellow accent on the outer settings panel.
   ========================================================= */

/* Remove every inner yellow decorative accent from variant rows. */
body.mach-product-native-cart .mach-native-purchase-panel .variant-list > div,
body.mach-product-native-cart .mach-native-purchase-panel .variant-list .variant,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters > div,
body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list > div,
body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list .variant,
body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters > div{
  border-left:0!important;
}

body.mach-product-native-cart .mach-native-purchase-panel .variant-list > div:before,
body.mach-product-native-cart .mach-native-purchase-panel .variant-list .variant:before,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters > div:before,
body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list > div:before,
body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list .variant:before,
body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters > div:before{
  display:none!important;
  content:none!important;
}

/* Remove yellow left bars from table-based variant rows too. */
body.mach-product-native-cart .mach-native-purchase-panel .variant-list th:first-child,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters th:first-child,
body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list th:first-child,
body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters th:first-child{
  border-left:0!important;
}

/* No yellow mini markers before labels. */
body.mach-product-native-cart .mach-native-purchase-panel label:before,
body.mach-product-native-cart .mach-native-purchase-panel th:before,
body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list label:before,
body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters label:before,
body.mach-product-stable-layout .mach-product-main-buy-v167 .variant-list th:before,
body.mach-product-stable-layout .mach-product-main-buy-v167 .detail-parameters th:before{
  display:none!important;
  content:none!important;
}

/* Delivery row should be neutral — yellow only for text/link itself. */
body.mach-product-native-cart .delivery-time,
body.mach-product-native-cart .availability-label,
body.mach-product-stable-layout .mach-product-main-buy-v167 .delivery-time,
body.mach-product-stable-layout .mach-product-main-buy-v167 .availability-label{
  border-left:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Empty intermediary rows: completely neutral and visually collapsed. */
body.mach-product-native-cart .mach-native-purchase-panel tr:has(td:empty),
body.mach-product-native-cart .mach-native-purchase-panel tr:has(th:empty),
body.mach-product-native-cart .mach-native-purchase-panel .variant:empty,
body.mach-product-native-cart .mach-native-purchase-panel > div:empty{
  border-left:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Buy row: remove internal yellow side accent as well. */
body.mach-product-native-cart .mach-native-add-to-cart,
body.mach-product-native-cart form.mach-native-add-to-cart,
body.mach-product-stable-layout .mach-product-main-buy-v167 .mach-native-add-to-cart,
body.mach-product-stable-layout .mach-product-main-buy-v167 form.mach-native-add-to-cart{
  border-left:1px solid var(--mach-panel-border)!important;
}

/* The ONE intentional accent: top edge of settings panel. */
body.mach-product-native-cart .mach-native-purchase-panel{
  border-top:4px solid var(--mach-yellow)!important;
}

/* Softer rows so the panel reads as one module, not many cards. */
body.mach-product-native-cart .mach-native-purchase-panel .variant-list > div,
body.mach-product-native-cart .mach-native-purchase-panel .variant-list .variant,
body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters > div{
  border-radius:0!important;
  border-top:0!important;
  border-right:0!important;
  border-bottom:1px solid #e5e5df!important;
  border-left:0!important;
  background:transparent!important;
}

@media (max-width:767px){
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list tr,
  body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters tr,
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list > div,
  body.mach-product-native-cart .mach-native-purchase-panel .variant-list .variant,
  body.mach-product-native-cart .mach-native-purchase-panel .detail-parameters > div{
    border-left:0!important;
    border-radius:0!important;
    background:transparent!important;
  }
}
