/**
 * MageMaclean header enhancements — standalone CSS (no Tailwind build required).
 * Loaded after styles.css via default_head_blocks.xml.
 */

/* Announcement topbar */
.magemaclean-topbar {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(105deg, #1e3a8a 0%, #1d4ed8 38%, #2563eb 62%, #0891b2 100%);
}

.magemaclean-topbar::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgb(255 255 255 / 0.08) 50%, transparent 100%);
    animation: magemaclean-topbar-shimmer 4s ease-in-out infinite;
}

@keyframes magemaclean-topbar-shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.magemaclean-topbar-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 2.5rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

.magemaclean-topbar-badge {
    display: none;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background-color: rgb(255 255 255 / 0.12);
    border: 1px solid rgb(255 255 255 / 0.2);
}

@media (min-width: 640px) {
    .magemaclean-topbar-badge {
        display: inline-flex;
    }
}

.magemaclean-topbar-message {
    flex: 1;
    margin: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.375;
}

@media (min-width: 640px) {
    .magemaclean-topbar-message {
        font-size: 0.875rem;
    }
}

.magemaclean-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.magemaclean-topbar-link {
    display: none;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background-color: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.22);
    transition: background-color 0.15s ease;
}

@media (min-width: 768px) {
    .magemaclean-topbar-link {
        display: inline-flex;
    }
}

.magemaclean-topbar-link:hover {
    background-color: rgb(255 255 255 / 0.18);
    color: #fff;
    text-decoration: none;
}

.magemaclean-topbar-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 9999px;
    color: rgb(255 255 255 / 0.85);
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.magemaclean-topbar-dismiss:hover {
    background-color: rgb(255 255 255 / 0.15);
    color: #fff;
}

/* Main header */
.magemaclean-header {
    transition: all 0.3s ease;
    backdrop-filter: blur(16px) saturate(1.2);
    background-color: rgb(255 255 255 / 0.82);
    border-bottom: 1px solid rgb(226 232 240 / 0.9);
}

.magemaclean-header--scrolled {
    background-color: rgb(255 255 255 / 0.95);
    border-bottom-color: #e2e8f0;
    box-shadow: 0 10px 30px -18px rgb(15 23 42 / 0.18);
}

.magemaclean-header--search-open {
    border-bottom-color: transparent;
}

.magemaclean-header-inner {
    transition: all 0.3s ease;
}

.magemaclean-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

@media (min-width: 1024px) {
    .magemaclean-header-row {
        flex-wrap: nowrap;
        gap: 1.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.magemaclean-header--scrolled .magemaclean-header-row {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

@media (min-width: 1024px) {
    .magemaclean-header--scrolled .magemaclean-header-row {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

@media (max-width: 1023px) {
    .magemaclean-header-row {
        flex-wrap: nowrap;
    }

    .magemaclean-header-logo {
        flex: 1;
        min-width: 0;
    }
}

.magemaclean-header-logo {
    order: 1;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .magemaclean-header-logo {
        order: unset;
    }
}

.magemaclean-header-nav {
    order: 2;
    width: auto;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .magemaclean-header-nav {
        order: unset;
        width: auto;
        flex: 1;
        display: flex;
        justify-content: center;
    }
}

.magemaclean-header-actions {
    order: 3;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-left: auto;
}

@media (min-width: 640px) {
    .magemaclean-header-actions {
        gap: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .magemaclean-header-actions {
        order: unset;
        margin-left: 0;
    }
}

.magemaclean-header-account .btn {
    border-radius: 0.75rem;
}

/* Header action buttons */
.magemaclean-header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.625rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    color: #475569;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.magemaclean-header-action:hover {
    color: #2563eb;
    background-color: rgb(37 99 235 / 0.06);
    border-color: rgb(37 99 235 / 0.12);
}

.magemaclean-header-action--sm {
    padding: 0.5rem;
}

.magemaclean-header-kbd {
    display: none;
    align-items: center;
    padding: 0.125rem 0.375rem;
    border-radius: 0.375rem;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.025em;
    color: #475569;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
}

@media (min-width: 1024px) {
    .magemaclean-header-kbd {
        display: inline-flex;
    }
}

.magemaclean-header-cta {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    box-shadow: 0 6px 16px -8px rgb(5 150 105 / 0.65);
    transition: all 0.2s ease;
}

@media (min-width: 640px) {
    .magemaclean-header-cta {
        display: inline-flex;
    }
}

.magemaclean-header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -8px rgb(5 150 105 / 0.75);
    color: #fff;
    text-decoration: none;
}

/* Responsive nav visibility — do not rely on Tailwind alone (legacy CSS can override .hidden) */
@media (max-width: 1023px) {
    .magemaclean-nav.navigation {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .magemaclean-mobile-nav {
        display: none !important;
    }

    .magemaclean-nav.navigation {
        display: flex !important;
    }
}

/* Safety net if Porto megamenu layout remove is missed on a page */
nav.navigation.sw-megamenu {
    display: none !important;
}

/* Safety net: hide legacy Luma header panel when Hyva_BaseLayoutReset is off */
.page-header .panel.wrapper,
.page-header .header.content,
.page-header > .header-wrapper,
.page-header .block-search,
.page-header .minicart-wrapper {
    display: none !important;
}

/* Desktop navigation */
.magemaclean-nav {
    justify-content: center;
    width: 100%;
}

.magemaclean-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.magemaclean-nav-item {
    position: relative;
}

.magemaclean-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.magemaclean-nav-link:hover {
    color: #2563eb;
    background-color: rgb(37 99 235 / 0.06);
    text-decoration: none;
}

.magemaclean-nav-link[aria-current="page"] {
    color: #1d4ed8;
    background-color: rgb(37 99 235 / 0.08);
}

.magemaclean-nav-chevron {
    padding: 0.25rem;
    border: none;
    border-radius: 0.5rem;
    color: #475569;
    background: transparent;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.magemaclean-nav-chevron:hover {
    color: #2563eb;
    background-color: rgb(37 99 235 / 0.06);
}

.magemaclean-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 20;
    min-width: 12rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.375rem;
    list-style: none;
    transform: translateX(-50%);
    border-radius: 1rem;
    background-color: rgb(255 255 255 / 0.98);
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px -16px rgb(15 23 42 / 0.2);
    backdrop-filter: blur(12px);
}

.magemaclean-nav-dropdown-link {
    display: block;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.magemaclean-nav-dropdown-link:hover {
    color: #2563eb;
    background-color: rgb(37 99 235 / 0.06);
    text-decoration: none;
}

.magemaclean-nav-dropdown-link[aria-current="page"] {
    font-weight: 600;
    color: #1d4ed8;
    background-color: rgb(37 99 235 / 0.08);
}

/* Mobile navigation */
.magemaclean-mobile-nav-trigger {
    display: inline-flex;
}

@media (min-width: 1024px) {
    .magemaclean-mobile-nav-trigger {
        display: none;
    }
}

.magemaclean-mobile-drawer {
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin-inline-start: 0;
    padding: 0;
    border-start-start-radius: 0;
    border-end-start-radius: 0;
    background-color: #fff;
}

.magemaclean-mobile-drawer:not([open]) {
    display: none !important;
}

.magemaclean-mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.magemaclean-mobile-drawer-body {
    position: relative;
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: clip;
}

.magemaclean-mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
    border-bottom: 1px solid #e2e8f0;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.magemaclean-mobile-nav-item:hover {
    color: #2563eb;
    background-color: rgb(37 99 235 / 0.04);
    text-decoration: none;
}

.magemaclean-mobile-nav-item[aria-current="page"] {
    font-weight: 600;
    color: #1d4ed8;
    background-color: rgb(37 99 235 / 0.06);
}

.magemaclean-mobile-nav-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.magemaclean-mobile-submenu {
    position: absolute;
    inset: 0;
    z-index: 10;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    background-color: #fff;
}

.magemaclean-mobile-submenu-back {
    background-color: #f8fafc;
}

.magemaclean-mobile-drawer-footer {
    position: sticky;
    bottom: 0;
    margin-top: auto;
    padding: 1.25rem;
    background: linear-gradient(180deg, transparent 0%, #fff 24%);
    border-top: 1px solid #e2e8f0;
}

/* Search overlay */
.magemaclean-search-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10;
    background-color: rgb(15 23 42 / 0.35);
    backdrop-filter: blur(4px);
}

.magemaclean-search-panel {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 20;
    width: 100%;
    background-color: rgb(255 255 255 / 0.98);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 24px 48px -24px rgb(15 23 42 / 0.25);
    backdrop-filter: blur(16px);
}

.magemaclean-search-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.magemaclean-search-panel-label {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #475569;
}

.magemaclean-search-panel .form-input,
.magemaclean-search-panel input[type="search"],
.magemaclean-search-panel input[type="text"] {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: 1rem;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px -8px rgb(15 23 42 / 0.12);
}

.magemaclean-search-panel .form-input:focus,
.magemaclean-search-panel input[type="search"]:focus,
.magemaclean-search-panel input[type="text"]:focus {
    border-color: rgb(37 99 235 / 0.45);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.12);
    outline: none;
}

/* Logo refinements */
.magemaclean-logo-text {
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

@media (min-width: 640px) {
    .magemaclean-logo-text {
        font-size: 1.5rem;
    }
}

.magemaclean-logo-text:hover .magemaclean-logo-mark {
    transform: scale(1.04);
}

.magemaclean-logo-mark {
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

@media (min-width: 640px) {
    .magemaclean-logo-mark {
        width: 2.25rem;
        height: 2.25rem;
        margin-right: 0.625rem;
        font-size: 1.125rem;
    }
}

/* ================================================================== */
/* Full-width bleed heroes — flush under header (no page-main gap)   */
/* ================================================================== */

.page-main:has(.magemaclean-hero),
.page-main:has(.magemaclean-support-hero),
.page-main:has(.magemaclean-contact-hero),
.page-main:has(.magemaclean-services-hero) {
    margin-top: 0;
}

/* ================================================================== */
/* Homepage hero — full-width bleed (cms_index_index)                */
/* ================================================================== */

.cms-index-index .magemaclean-hero {
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 4rem;
    padding: 4rem 0 5rem;
    border-radius: 0;
}

.magemaclean-hero-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .magemaclean-hero-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .magemaclean-hero-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.magemaclean-hero-inner {
    max-width: 56rem;
}

@media (min-width: 768px) {
    .cms-index-index .magemaclean-hero {
        padding: 6rem 0;
    }
}

/* CMS page hero + content container */
.magemaclean-cms-hero {
    margin-bottom: 2.5rem;
    padding: 3rem 1.5rem;
    border-radius: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

.magemaclean-cms-hero-kicker {
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #67e8f9;
}

.magemaclean-cms-hero-title {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.magemaclean-cms-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

@media (max-width: 1023px) {
    .magemaclean-cms-content [style*="grid-template-columns"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* PDP support CTA */
.magemaclean-support-cta-inner {
    display: grid;
    gap: 2rem;
    padding: 2rem;
    border-radius: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

@media (min-width: 1024px) {
    .magemaclean-support-cta-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        padding: 2.5rem;
    }
}

.magemaclean-support-cta-kicker {
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #67e8f9;
}

.magemaclean-support-cta-title {
    margin-bottom: 0.75rem;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    line-height: 1.15;
}

.magemaclean-support-cta-copy {
    max-width: 42rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgb(203 213 225);
}

.magemaclean-support-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .magemaclean-support-cta-actions {
        flex-direction: row;
    }
}

/* ------------------------------------------------------------------ */
/* CMS content (mmcms) — class-based legacy CMS HTML                   */
/* ------------------------------------------------------------------ */
.magemaclean-cms-content .mmcms {
    color: #334155;
    line-height: 1.7;
}

.magemaclean-cms-content .mmcms h1,
.magemaclean-cms-content .mmcms h2,
.magemaclean-cms-content .mmcms h3,
.magemaclean-cms-content .mmcms h4 {
    color: #0f172a;
    letter-spacing: -0.02em;
}

.magemaclean-cms-content .mmcms h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.magemaclean-cms-content .mmcms h2,
.magemaclean-cms-content .mmcms .mmcms-h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 300;
    margin: 1.25rem 0 0.75rem;
}

.magemaclean-cms-content .mmcms h3,
.magemaclean-cms-content .mmcms .mmcms-h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.magemaclean-cms-content .mmcms p,
.magemaclean-cms-content .mmcms .mmcms-text,
.magemaclean-cms-content .mmcms .mmcms-lead {
    color: #64748b;
    margin-bottom: 1rem;
}

.magemaclean-cms-content .mmcms .mmcms-lead {
    font-size: 1.125rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.magemaclean-cms-content .mmcms ul {
    margin: 0.75rem 0 1rem 1.25rem;
}

.magemaclean-cms-content .mmcms li {
    margin-bottom: 0.35rem;
}

.magemaclean-cms-content .mmcms-container {
    max-width: 72rem;
    margin: 0 auto;
}

.magemaclean-cms-content .mmcms-section {
    padding: 0 1.25rem 3rem;
}

.magemaclean-cms-content .mmcms-section--muted {
    background: #f8fafc;
    padding: 3rem 1.25rem;
    margin-bottom: 3rem;
    border-radius: 0.75rem;
}

.magemaclean-cms-content .mmcms-section-head {
    text-align: center;
    margin-bottom: 3rem;
}

.magemaclean-cms-content .mmcms-hero {
    padding: 3.5rem 1.25rem;
    margin-bottom: 3rem;
    border-radius: 0.75rem;
    text-align: center;
}

.magemaclean-cms-content .mmcms-hero--brand {
    color: #fff;
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
}

.magemaclean-cms-content .mmcms-hero--purple {
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.magemaclean-cms-content .mmcms-hero--light {
    background: #f8fafc;
    border-bottom: 3px solid #0066cc;
}

.magemaclean-cms-content .mmcms-hero--light h1 {
    color: #1e293b;
}

.magemaclean-cms-content .mmcms-hero--brand h1,
.magemaclean-cms-content .mmcms-hero--purple h1,
.magemaclean-cms-content .mmcms-hero--brand p,
.magemaclean-cms-content .mmcms-hero--purple p {
    color: inherit;
}

.magemaclean-cms-content .mmcms-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.magemaclean-cms-content .mmcms-badge--sky {
    background: #e0f2fe;
    color: #0066cc;
}

.magemaclean-cms-content .mmcms-badge--brand {
    background: #0066cc;
    color: #fff;
}

.magemaclean-cms-content .mmcms-grid {
    display: grid;
    gap: 1.5rem;
}

.magemaclean-cms-content .mmcms-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.magemaclean-cms-content .mmcms-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.magemaclean-cms-content .mmcms-grid--auto {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (max-width: 767px) {
    .magemaclean-cms-content .mmcms-grid--2,
    .magemaclean-cms-content .mmcms-grid--3 {
        grid-template-columns: 1fr;
    }
}

.magemaclean-cms-content .mmcms-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgb(15 23 42 / 0.07);
    border: 1px solid #e2e8f0;
}

.magemaclean-cms-content .mmcms-card--center {
    text-align: center;
}

.magemaclean-cms-content .mmcms-card--muted {
    background: #f8fafc;
}

.magemaclean-cms-content .mmcms a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* PDP compatibility */
.magemaclean-compat-grid {
    display: grid;
    gap: 0.75rem;
}

.magemaclean-compat-row {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.magemaclean-compat-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.magemaclean-compat-row dt {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.magemaclean-compat-row dd {
    margin: 0;
    font-size: 0.95rem;
    color: #0f172a;
}

.magemaclean-demo-card {
    display: flex;
    flex-direction: column;
}

.magemaclean-buybox-demos {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.magemaclean-buybox-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    background: #fff;
}

.magemaclean-buybox-demo:hover {
    border-color: #2563eb;
    color: #1d4ed8;
    text-decoration: none;
}

.magemaclean-buybox-demo--admin {
    background: #f8fafc;
}

/* ================================================================== */
/* Support page — premium layout (cms_page_view_id_support)            */
/* ================================================================== */

.magemaclean-support-page {
    color: #0f172a;
}

.magemaclean-support-page .magemaclean-support-hero {
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 4rem 0 4.5rem;
    color: #fff;
    background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 48%, #1d4ed8 100%);
}

.magemaclean-support-hero-glow {
    position: absolute;
    top: -40%;
    right: -15%;
    width: 55%;
    height: 140%;
    pointer-events: none;
    background: radial-gradient(ellipse, rgb(56 189 248 / 0.22) 0%, transparent 68%);
}

.magemaclean-support-hero-glow--left {
    top: -30%;
    right: auto;
    left: -12%;
    width: 45%;
    height: 120%;
    background: radial-gradient(ellipse, rgb(16 185 129 / 0.14) 0%, transparent 70%);
}

.magemaclean-support-hero-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 80rem;
}

.magemaclean-support-hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: end;
}

@media (min-width: 1024px) {
    .magemaclean-support-hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
        gap: 3rem;
        align-items: center;
    }
}

.magemaclean-support-hero-copy {
    min-width: 0;
}

.magemaclean-support-hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.35rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a5f3fc;
    background: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.18);
}

.magemaclean-support-hero-title {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.magemaclean-support-hero-lead {
    margin: 0 0 1.75rem;
    max-width: 52rem;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.65;
    color: rgb(226 232 240);
}

.magemaclean-support-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.magemaclean-support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.magemaclean-support-btn--primary {
    color: #0f172a;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 8px 24px -8px rgb(16 185 129 / 0.65);
}

.magemaclean-support-btn--primary:hover {
    transform: translateY(-1px);
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 12px 28px -8px rgb(16 185 129 / 0.75);
}

.magemaclean-support-btn--ghost {
    color: #fff;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.22);
}

.magemaclean-support-btn--ghost:hover {
    background: rgb(255 255 255 / 0.14);
    color: #fff;
    text-decoration: none;
}

.magemaclean-support-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .magemaclean-support-hero-stats {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
}

.magemaclean-support-hero-stats > div {
    padding: 1.15rem 1.25rem;
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.14);
    backdrop-filter: blur(8px);
}

.magemaclean-support-hero-stats dt {
    margin: 0 0 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(203 213 225);
}

.magemaclean-support-hero-stats dd {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.magemaclean-support-body {
    padding: 2.5rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 12rem);
}

.magemaclean-support-content {
    max-width: none;
}

/* Support CMS blocks */
.mmcms-support .mmcms-support-section {
    margin-bottom: 3.5rem;
}

.mmcms-support .mmcms-support-section--muted {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    background: #f1f5f9;
}

@media (min-width: 768px) {
    .mmcms-support .mmcms-support-section--muted {
        margin-left: 0;
        margin-right: 0;
        padding: 3rem 2.5rem;
    }
}

.mmcms-support-section-head {
    max-width: 40rem;
    margin-bottom: 2rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.mmcms-support-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563eb;
}

.mmcms-support-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #0f172a;
}

.mmcms-support-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #64748b;
}

.mmcms-support-policy-grid {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .mmcms-support-policy-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.mmcms-support-policy-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -12px rgb(15 23 42 / 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mmcms-support-policy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -16px rgb(37 99 235 / 0.18);
}

.mmcms-support-policy-card--included {
    border-top: 3px solid #10b981;
}

.mmcms-support-policy-card--renew {
    border-top: 3px solid #2563eb;
}

.mmcms-support-policy-card--excluded {
    border-top: 3px solid #94a3b8;
}

.mmcms-support-policy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 0.875rem;
    color: #2563eb;
    background: rgb(37 99 235 / 0.08);
}

.mmcms-support-policy-card--included .mmcms-support-policy-icon {
    color: #059669;
    background: rgb(16 185 129 / 0.1);
}

.mmcms-support-policy-card h3 {
    margin: 0 0 0.875rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.mmcms-support-policy-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mmcms-support-policy-card li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #475569;
}

.mmcms-support-policy-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #94a3b8;
}

.mmcms-support-policy-card--included li::before {
    background: #10b981;
}

.mmcms-support-notice {
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
    background: linear-gradient(135deg, rgb(37 99 235 / 0.06) 0%, rgb(16 185 129 / 0.06) 100%);
    border: 1px solid rgb(37 99 235 / 0.12);
}

.mmcms-support-notice p {
    margin: 0;
}

.mmcms-support-benefits {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .mmcms-support-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.mmcms-support-benefit {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.mmcms-support-benefit-num {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #2563eb;
}

.mmcms-support-benefit h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.mmcms-support-benefit p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
}

.mmcms-support-channels {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .mmcms-support-channels {
        grid-template-columns: 1.15fr 1fr 1fr;
    }
}

.mmcms-support-channel {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px -10px rgb(15 23 42 / 0.1);
}

.mmcms-support-channel--primary {
    border-color: rgb(37 99 235 / 0.25);
    background: linear-gradient(160deg, #fff 0%, rgb(239 246 255 / 0.9) 100%);
    box-shadow: 0 20px 40px -20px rgb(37 99 235 / 0.25);
}

.mmcms-support-channel-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1d4ed8;
    background: rgb(37 99 235 / 0.12);
}

.mmcms-support-channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    color: #2563eb;
    background: rgb(37 99 235 / 0.1);
}

.mmcms-support-channel h3 {
    margin: 0 0 0.625rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.mmcms-support-channel p {
    flex: 1;
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
}

.mmcms-support-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.mmcms-support-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.mmcms-support-link--light {
    color: #e0f2fe;
}

.mmcms-support-section--split {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .mmcms-support-section--split {
        grid-template-columns: 1fr 1fr;
    }
}

.mmcms-support-split-card {
    padding: 1.75rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.mmcms-support-split-card--accent {
    color: #fff;
    background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 100%);
    border-color: transparent;
}

.mmcms-support-split-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.mmcms-support-split-card p {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: inherit;
    opacity: 0.92;
}

.mmcms-support-split-card--accent p {
    color: rgb(226 232 240);
}

.mmcms-support-split-note {
    font-size: 0.85rem !important;
    opacity: 0.8 !important;
}

.mmcms-support-faq-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .mmcms-support-faq-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

.mmcms-support-faq-group-title {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.mmcms-support-faq-group-title:not(:first-child) {
    margin-top: 1.5rem;
}

.mmcms-support-faq-item {
    margin-bottom: 0.5rem;
    border-radius: 0.875rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mmcms-support-faq-item[open] {
    border-color: rgb(37 99 235 / 0.3);
    box-shadow: 0 8px 24px -16px rgb(37 99 235 / 0.2);
}

.mmcms-support-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
}

.mmcms-support-faq-item summary::-webkit-details-marker {
    display: none;
}

.mmcms-support-faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 400;
    color: #2563eb;
    background: rgb(37 99 235 / 0.08);
    transition: transform 0.2s ease;
}

.mmcms-support-faq-item[open] summary::after {
    content: "−";
}

.mmcms-support-faq-item summary:hover {
    background: #f8fafc;
}

.mmcms-support-faq-answer {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #475569;
}

.mmcms-support-faq-answer code {
    padding: 0.15rem 0.4rem;
    border-radius: 0.375rem;
    font-size: 0.82em;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.mmcms-support-faq-answer a {
    color: #2563eb;
    font-weight: 500;
}

.mmcms-support-cta {
    margin-top: 1rem;
}

.mmcms-support-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1.75rem;
    border-radius: 1.5rem;
    color: #fff;
    background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
    box-shadow: 0 24px 48px -24px rgb(30 58 138 / 0.45);
    overflow: hidden;
}

@media (min-width: 768px) {
    .mmcms-support-cta-inner {
        padding: 3rem 2.5rem;
    }
}

.mmcms-support-cta-content {
    width: 100%;
    min-width: 0;
    max-width: 40rem;
}

.mmcms-support-cta-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #67e8f9;
}

.mmcms-support-cta-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: manual;
}

.mmcms-support-cta-copy {
    margin: 0;
    max-width: 38rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgb(203 213 225);
    word-break: normal;
    overflow-wrap: break-word;
}

.mmcms-support-cta-actions {
    display: grid;
    gap: 0.75rem;
    width: 100%;
    grid-template-columns: 1fr;
}

.mmcms-support-cta-actions .magemaclean-support-btn {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
}

@media (min-width: 540px) {
    .mmcms-support-cta-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mmcms-support-cta-actions .magemaclean-support-btn:first-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 900px) {
    .mmcms-support-cta-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mmcms-support-cta-actions .magemaclean-support-btn:first-child {
        grid-column: auto;
    }
}

@media (max-width: 639px) {
    .magemaclean-support-hero-stats {
        grid-template-columns: 1fr;
    }

    .magemaclean-support-hero {
        padding: 2.75rem 0 3.25rem;
    }
}

/* Support page — bottom CTA uses ghost buttons on dark band */
.mmcms-support-cta-actions .magemaclean-support-btn--ghost {
    color: #fff;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.22);
}

.mmcms-support-cta-actions .magemaclean-support-btn--ghost:hover {
    background: rgb(255 255 255 / 0.14);
    color: #fff;
}

/* ================================================================== */
/* Contact page — premium layout (cms_page_view_id_contact-us)         */
/* ================================================================== */

.magemaclean-contact-page {
    color: #0f172a;
}

.magemaclean-contact-page .magemaclean-contact-hero {
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 4rem 0 4.5rem;
    color: #fff;
    background: linear-gradient(145deg, #0f172a 0%, #134e4a 42%, #0d9488 100%);
}

.magemaclean-contact-hero-glow {
    position: absolute;
    top: -35%;
    left: -10%;
    width: 50%;
    height: 130%;
    pointer-events: none;
    background: radial-gradient(ellipse, rgb(45 212 191 / 0.2) 0%, transparent 68%);
}

.magemaclean-contact-hero-glow--right {
    top: -20%;
    right: -8%;
    left: auto;
    width: 45%;
    height: 120%;
    background: radial-gradient(ellipse, rgb(56 189 248 / 0.14) 0%, transparent 70%);
}

.magemaclean-contact-hero-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 80rem;
}

.magemaclean-contact-hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: end;
}

@media (min-width: 1024px) {
    .magemaclean-contact-hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
        gap: 3rem;
        align-items: center;
    }
}

.magemaclean-contact-hero-copy {
    min-width: 0;
    max-width: none;
}

.magemaclean-contact-hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.35rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #99f6e4;
    background: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.18);
}

.magemaclean-contact-hero-title {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.magemaclean-contact-hero-lead {
    margin: 0 0 1.75rem;
    max-width: 52rem;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.65;
    color: rgb(226 232 240);
}

.magemaclean-contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.magemaclean-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.magemaclean-contact-btn--primary {
    color: #0f172a;
    background: linear-gradient(135deg, #5eead4 0%, #14b8a6 100%);
    box-shadow: 0 8px 24px -8px rgb(20 184 166 / 0.65);
}

.magemaclean-contact-btn--primary:hover {
    transform: translateY(-1px);
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 12px 28px -8px rgb(20 184 166 / 0.75);
}

.magemaclean-contact-btn--ghost {
    color: #fff;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.22);
}

.magemaclean-contact-btn--ghost:hover {
    background: rgb(255 255 255 / 0.14);
    color: #fff;
    text-decoration: none;
}

.magemaclean-contact-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .magemaclean-contact-hero-stats {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
}

.magemaclean-contact-hero-stats > div {
    padding: 1.15rem 1.25rem;
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.14);
    backdrop-filter: blur(8px);
}

.magemaclean-contact-hero-stats dt {
    margin: 0 0 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(203 213 225);
}

.magemaclean-contact-hero-stats dd {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.magemaclean-contact-body {
    padding: 2.5rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 12rem);
}

.magemaclean-contact-content {
    max-width: none;
}

/* Contact CMS sections */
.mmcms-contact .mmcms-contact-section {
    margin-bottom: 3.5rem;
}

.mmcms-contact-section-head {
    max-width: 40rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.mmcms-contact-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0d9488;
}

.mmcms-contact-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #0f172a;
}

.mmcms-contact-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #64748b;
}

/* Form + sidebar layout */
.mmcms-contact-layout {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .mmcms-contact-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 2.5rem;
    }
}

.mmcms-contact-form-card {
    padding: 2rem;
    border-radius: 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px -24px rgb(15 23 42 / 0.12);
}

@media (min-width: 768px) {
    .mmcms-contact-form-card {
        padding: 2.5rem;
    }
}

.mmcms-contact-form-card-head {
    margin-bottom: 1.75rem;
}

.mmcms-contact-form-card-head .mmcms-contact-title {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    text-align: left;
}

.mmcms-contact-form-card-head .mmcms-contact-lead {
    text-align: left;
}

.mmcms-contact-sidebar-head {
    margin-bottom: 1.5rem;
}

.mmcms-contact-sidebar-head .mmcms-contact-title {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    text-align: left;
}

.mmcms-contact-sidebar-head .mmcms-contact-lead {
    text-align: left;
}

/* Contact form */
.mmcms-contact-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .mmcms-contact-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.mmcms-contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.mmcms-contact-field--full {
    grid-column: 1 / -1;
}

.mmcms-contact-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.mmcms-contact-field--required label::after {
    content: " *";
    color: #0d9488;
}

.mmcms-contact-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.mmcms-contact-input:focus {
    outline: none;
    background: #fff;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgb(20 184 166 / 0.15);
}

.mmcms-contact-textarea {
    min-height: 8rem;
    resize: vertical;
}

.mmcms-contact-form-footer {
    margin-top: 1.5rem;
}

.mmcms-contact-submit {
    width: 100%;
}

@media (min-width: 480px) {
    .mmcms-contact-submit {
        width: auto;
        min-width: 12rem;
    }
}

/* Sidebar reasons */
.mmcms-contact-reasons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mmcms-contact-reason {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mmcms-contact-reason:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -16px rgb(13 148 136 / 0.15);
}

.mmcms-contact-reason--muted {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.mmcms-contact-reason-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    color: #0d9488;
    background: rgb(13 148 136 / 0.1);
}

.mmcms-contact-reason-icon--accent {
    color: #2563eb;
    background: rgb(37 99 235 / 0.1);
}

.mmcms-contact-reason-icon--warn {
    color: #d97706;
    background: rgb(217 119 6 / 0.1);
}

.mmcms-contact-reason h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.mmcms-contact-reason p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
}

.mmcms-contact-reason a {
    color: #0d9488;
    font-weight: 500;
    text-decoration: none;
}

.mmcms-contact-reason a:hover {
    color: #0f766e;
    text-decoration: underline;
}

.mmcms-contact-response {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgb(13 148 136 / 0.08) 0%, rgb(37 99 235 / 0.06) 100%);
    border: 1px solid rgb(13 148 136 / 0.15);
}

.mmcms-contact-response-icon {
    flex-shrink: 0;
    color: #0d9488;
}

.mmcms-contact-response h3 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.mmcms-contact-response p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #475569;
}

/* Muted section + channels */
.mmcms-contact-section--muted {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    background: #f1f5f9;
}

@media (min-width: 768px) {
    .mmcms-contact-section--muted {
        margin-left: 0;
        margin-right: 0;
        padding: 3rem 2.5rem;
    }
}

.mmcms-contact-channels {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .mmcms-contact-channels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.mmcms-contact-channel {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px -10px rgb(15 23 42 / 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mmcms-contact-channel:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -16px rgb(13 148 136 / 0.18);
}

.mmcms-contact-channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    color: #0d9488;
    background: rgb(13 148 136 / 0.1);
}

.mmcms-contact-channel h3 {
    margin: 0 0 0.625rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.mmcms-contact-channel p {
    flex: 1;
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
}

.mmcms-contact-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0d9488;
    text-decoration: none;
}

.mmcms-contact-link:hover {
    color: #0f766e;
    text-decoration: underline;
}

/* Bottom CTA */
.mmcms-contact-cta {
    margin-top: 1rem;
}

.mmcms-contact-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1.75rem;
    border-radius: 1.5rem;
    color: #fff;
    background: linear-gradient(145deg, #0f172a 0%, #134e4a 55%, #0d9488 100%);
    box-shadow: 0 24px 48px -24px rgb(13 148 136 / 0.4);
    overflow: hidden;
}

@media (min-width: 768px) {
    .mmcms-contact-cta-inner {
        padding: 3rem 2.5rem;
    }
}

.mmcms-contact-cta-content {
    width: 100%;
    min-width: 0;
    max-width: 40rem;
}

.mmcms-contact-cta-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #99f6e4;
}

.mmcms-contact-cta-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    word-break: normal;
    overflow-wrap: normal;
}

.mmcms-contact-cta-copy {
    margin: 0;
    max-width: 38rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgb(203 213 225);
}

.mmcms-contact-cta-actions {
    display: grid;
    gap: 0.75rem;
    width: 100%;
    grid-template-columns: 1fr;
}

.mmcms-contact-cta-actions .magemaclean-contact-btn {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
}

@media (min-width: 540px) {
    .mmcms-contact-cta-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mmcms-contact-cta-actions .magemaclean-contact-btn:first-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 900px) {
    .mmcms-contact-cta-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mmcms-contact-cta-actions .magemaclean-contact-btn:first-child {
        grid-column: auto;
    }
}

@media (max-width: 639px) {
    .magemaclean-contact-hero-stats {
        grid-template-columns: 1fr;
    }

    .magemaclean-contact-hero {
        padding: 2.75rem 0 3.25rem;
    }
}

/* ================================================================== */
/* Our Services page — premium layout (cms_page_view_id_our-services)    */
/* ================================================================== */

.magemaclean-services-page {
    color: #0f172a;
}

.magemaclean-services-page .magemaclean-services-hero {
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 4rem 0 4.5rem;
    color: #fff;
    background: linear-gradient(145deg, #0f172a 0%, #4c1d95 45%, #6d28d9 100%);
}

.magemaclean-services-hero-glow {
    position: absolute;
    top: -35%;
    left: -10%;
    width: 50%;
    height: 130%;
    pointer-events: none;
    background: radial-gradient(ellipse, rgb(167 139 250 / 0.22) 0%, transparent 68%);
}

.magemaclean-services-hero-glow--right {
    top: -20%;
    right: -8%;
    left: auto;
    width: 45%;
    height: 120%;
    background: radial-gradient(ellipse, rgb(56 189 248 / 0.12) 0%, transparent 70%);
}

.magemaclean-services-hero-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 80rem;
}

.magemaclean-services-hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: end;
}

@media (min-width: 1024px) {
    .magemaclean-services-hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
        gap: 3rem;
        align-items: center;
    }
}

.magemaclean-services-hero-copy {
    min-width: 0;
}

.magemaclean-services-hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.35rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ddd6fe;
    background: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.18);
}

.magemaclean-services-hero-title {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.magemaclean-services-hero-lead {
    margin: 0 0 1.75rem;
    max-width: 52rem;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.65;
    color: rgb(226 232 240);
}

.magemaclean-services-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.magemaclean-services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.magemaclean-services-btn--primary {
    color: #0f172a;
    background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 100%);
    box-shadow: 0 8px 24px -8px rgb(167 139 250 / 0.65);
}

.magemaclean-services-btn--primary:hover {
    transform: translateY(-1px);
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 12px 28px -8px rgb(167 139 250 / 0.75);
}

.magemaclean-services-btn--ghost {
    color: #fff;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.22);
}

.magemaclean-services-btn--ghost:hover {
    background: rgb(255 255 255 / 0.14);
    color: #fff;
    text-decoration: none;
}

.magemaclean-services-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .magemaclean-services-hero-stats {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
}

.magemaclean-services-hero-stats > div {
    padding: 1.15rem 1.25rem;
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.14);
    backdrop-filter: blur(8px);
}

.magemaclean-services-hero-stats dt {
    margin: 0 0 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(203 213 225);
}

.magemaclean-services-hero-stats dd {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.magemaclean-services-body {
    padding: 2.5rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 12rem);
}

.magemaclean-services-content {
    max-width: none;
}

/* Services CMS sections */
.mmcms-services .mmcms-services-section {
    margin-bottom: 3.5rem;
}

.mmcms-services-section-head {
    max-width: 40rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.mmcms-services-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7c3aed;
}

.mmcms-services-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #0f172a;
}

.mmcms-services-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #64748b;
}

.mmcms-services-section--muted {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    background: #f1f5f9;
}

@media (min-width: 768px) {
    .mmcms-services-section--muted {
        margin-left: 0;
        margin-right: 0;
        padding: 3rem 2.5rem;
    }
}

/* Advantages */
.mmcms-services-advantages {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .mmcms-services-advantages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .mmcms-services-advantages {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.mmcms-services-advantage {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mmcms-services-advantage:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -16px rgb(124 58 237 / 0.15);
}

.mmcms-services-advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 0.875rem;
    color: #7c3aed;
    background: rgb(124 58 237 / 0.1);
}

.mmcms-services-advantage h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.mmcms-services-advantage p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
}

/* Offerings grid */
.mmcms-services-offerings {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .mmcms-services-offerings {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.mmcms-services-offering {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px -10px rgb(15 23 42 / 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mmcms-services-offering:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -20px rgb(124 58 237 / 0.2);
}

.mmcms-services-offering--featured {
    border-color: rgb(124 58 237 / 0.25);
    background: linear-gradient(160deg, #fff 0%, rgb(245 243 255 / 0.95) 100%);
}

.mmcms-services-offering-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6d28d9;
    background: rgb(124 58 237 / 0.12);
}

.mmcms-services-offering-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    color: #7c3aed;
    background: rgb(124 58 237 / 0.1);
}

.mmcms-services-offering h3 {
    margin: 0 0 0.625rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.mmcms-services-offering p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
}

.mmcms-services-offering ul {
    flex: 1;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.mmcms-services-offering li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.45rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #475569;
}

.mmcms-services-offering li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #a78bfa;
}

.mmcms-services-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #7c3aed;
    text-decoration: none;
}

.mmcms-services-link:hover {
    color: #6d28d9;
    text-decoration: underline;
}

/* Categories */
.mmcms-services-categories {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .mmcms-services-categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.mmcms-services-category {
    padding: 1.35rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #7c3aed;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mmcms-services-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -16px rgb(15 23 42 / 0.12);
}

.mmcms-services-category--blue { border-top-color: #2563eb; }
.mmcms-services-category--teal { border-top-color: #14b8a6; }
.mmcms-services-category--violet { border-top-color: #7c3aed; }
.mmcms-services-category--amber { border-top-color: #f59e0b; }
.mmcms-services-category--rose { border-top-color: #f43f5e; }
.mmcms-services-category--emerald { border-top-color: #10b981; }

.mmcms-services-category--blue .mmcms-services-category-icon { color: #2563eb; background: rgb(37 99 235 / 0.1); }
.mmcms-services-category--teal .mmcms-services-category-icon { color: #14b8a6; background: rgb(20 184 166 / 0.1); }
.mmcms-services-category--violet .mmcms-services-category-icon { color: #7c3aed; background: rgb(124 58 237 / 0.1); }
.mmcms-services-category--amber .mmcms-services-category-icon { color: #f59e0b; background: rgb(245 158 11 / 0.1); }
.mmcms-services-category--rose .mmcms-services-category-icon { color: #f43f5e; background: rgb(244 63 94 / 0.1); }
.mmcms-services-category--emerald .mmcms-services-category-icon { color: #10b981; background: rgb(16 185 129 / 0.1); }

.mmcms-services-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.75rem;
    border-radius: 0.75rem;
}

.mmcms-services-category h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.mmcms-services-category p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #64748b;
}

/* Process */
.mmcms-services-process {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: services-step;
}

@media (min-width: 768px) {
    .mmcms-services-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .mmcms-services-process {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.mmcms-services-step {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.mmcms-services-step-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: #7c3aed;
    background: rgb(124 58 237 / 0.1);
}

.mmcms-services-step h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.mmcms-services-step p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
}

/* Bottom CTA */
.mmcms-services-cta {
    margin-top: 1rem;
}

.mmcms-services-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1.75rem;
    border-radius: 1.5rem;
    color: #fff;
    background: linear-gradient(145deg, #0f172a 0%, #4c1d95 55%, #6d28d9 100%);
    box-shadow: 0 24px 48px -24px rgb(76 29 149 / 0.45);
    overflow: hidden;
}

@media (min-width: 768px) {
    .mmcms-services-cta-inner {
        padding: 3rem 2.5rem;
    }
}

.mmcms-services-cta-content {
    width: 100%;
    min-width: 0;
    max-width: 40rem;
}

.mmcms-services-cta-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ddd6fe;
}

.mmcms-services-cta-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    word-break: normal;
    overflow-wrap: normal;
}

.mmcms-services-cta-copy {
    margin: 0;
    max-width: 38rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgb(203 213 225);
}

.mmcms-services-cta-actions {
    display: grid;
    gap: 0.75rem;
    width: 100%;
    grid-template-columns: 1fr;
}

.mmcms-services-cta-actions .magemaclean-services-btn {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
}

@media (min-width: 540px) {
    .mmcms-services-cta-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mmcms-services-cta-actions .magemaclean-services-btn:first-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 900px) {
    .mmcms-services-cta-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mmcms-services-cta-actions .magemaclean-services-btn:first-child {
        grid-column: auto;
    }
}

@media (max-width: 639px) {
    .magemaclean-services-hero-stats {
        grid-template-columns: 1fr;
    }

    .magemaclean-services-hero {
        padding: 2.75rem 0 3.25rem;
    }

    .mmcms-services-categories {
        grid-template-columns: 1fr;
    }
}

/* ================================================================== */
/* Legal / policy pages (license, terms, privacy)                      */
/* ================================================================== */

.magemaclean-legal-page {
    color: #0f172a;
}

.magemaclean-legal-hero {
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 3.5rem 0 4rem;
    color: #fff;
    background: linear-gradient(145deg, #0f172a 0%, #312e81 50%, #4338ca 100%);
}

.magemaclean-legal-page--privacy .magemaclean-legal-hero {
    background: linear-gradient(145deg, #0f172a 0%, #134e4a 48%, #0d9488 100%);
}

.magemaclean-legal-page--terms .magemaclean-legal-hero {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 48%, #2563eb 100%);
}

.magemaclean-legal-hero-glow {
    position: absolute;
    top: -35%;
    right: -10%;
    width: 50%;
    height: 130%;
    pointer-events: none;
    background: radial-gradient(ellipse, rgb(129 140 248 / 0.2) 0%, transparent 68%);
}

.magemaclean-legal-hero-glow--accent {
    top: auto;
    right: auto;
    bottom: -40%;
    left: -8%;
    width: 42%;
    height: 100%;
    background: radial-gradient(ellipse, rgb(45 212 191 / 0.12) 0%, transparent 70%);
}

.magemaclean-legal-hero-shell {
    position: relative;
    z-index: 1;
    max-width: 80rem;
}

.magemaclean-legal-hero-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .magemaclean-legal-hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(14rem, 0.8fr);
        gap: 2.5rem;
        align-items: center;
    }
}

.magemaclean-legal-hero-kicker {
    display: inline-flex;
    margin-bottom: 0.875rem;
    padding: 0.35rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c7d2fe;
    background: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.16);
}

.magemaclean-legal-hero-title {
    margin: 0 0 0.875rem;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.magemaclean-legal-hero-lead {
    margin: 0 0 1.5rem;
    max-width: 42rem;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: rgb(226 232 240);
}

.magemaclean-legal-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.magemaclean-legal-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.15rem;
    border-radius: 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.magemaclean-legal-btn--ghost {
    color: #fff;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.2);
}

.magemaclean-legal-btn--ghost:hover {
    background: rgb(255 255 255 / 0.14);
    color: #fff;
    text-decoration: none;
}

.magemaclean-legal-hero-links {
    padding: 1.25rem 1.35rem;
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.14);
    backdrop-filter: blur(8px);
}

.magemaclean-legal-hero-links-title {
    margin: 0 0 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(203 213 225);
}

.magemaclean-legal-hero-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.magemaclean-legal-hero-links li + li {
    margin-top: 0.35rem;
}

.magemaclean-legal-hero-links a {
    display: block;
    padding: 0.45rem 0.65rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgb(226 232 240);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.magemaclean-legal-hero-links a:hover,
.magemaclean-legal-hero-links a.is-active {
    color: #fff;
    background: rgb(255 255 255 / 0.12);
    text-decoration: none;
}

.magemaclean-legal-body {
    padding: 2.5rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 10rem);
}

.mmcms-legal .mmcms-legal-updated {
    margin: 0 0 2rem;
    font-size: 0.875rem;
    color: #64748b;
}

.mmcms-legal .mmcms-legal-section {
    margin-bottom: 3rem;
}

.mmcms-legal .mmcms-legal-section--muted {
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 2rem 1rem;
    border-radius: 1.25rem;
    background: #f1f5f9;
}

@media (min-width: 768px) {
    .mmcms-legal .mmcms-legal-section--muted {
        margin-left: 0;
        margin-right: 0;
        padding: 2.5rem;
    }
}

.mmcms-legal .mmcms-legal-section-head {
    margin-bottom: 1.25rem;
}

.mmcms-legal .mmcms-legal-eyebrow {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6366f1;
}

.mmcms-legal .mmcms-legal-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.mmcms-legal .mmcms-legal-lead {
    margin: 0;
    max-width: 48rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #475569;
}

.mmcms-legal .mmcms-legal-card {
    padding: 1.35rem 1.5rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.04);
}

.mmcms-legal .mmcms-legal-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.mmcms-legal .mmcms-legal-card p {
    margin: 0;
    line-height: 1.65;
    color: #475569;
}

.mmcms-legal .mmcms-legal-card--highlight {
    border-color: #c7d2fe;
    background: linear-gradient(180deg, #fff 0%, #f5f3ff 100%);
}

.mmcms-legal .mmcms-legal-card--warn {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
}

.mmcms-legal .mmcms-legal-grid {
    display: grid;
    gap: 1rem;
}

.mmcms-legal .mmcms-legal-grid--2 {
    grid-template-columns: 1fr;
}

.mmcms-legal .mmcms-legal-grid--3 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .mmcms-legal .mmcms-legal-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .mmcms-legal .mmcms-legal-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.mmcms-legal .mmcms-legal-checklist,
.mmcms-legal .mmcms-legal-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #475569;
    line-height: 1.7;
}

.mmcms-legal .mmcms-legal-checklist li + li,
.mmcms-legal .mmcms-legal-list li + li {
    margin-top: 0.35rem;
}

.mmcms-legal .mmcms-legal-callout {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border-left: 4px solid #6366f1;
    background: #fff;
}

.mmcms-legal .mmcms-legal-callout p {
    margin: 0;
    color: #334155;
    line-height: 1.65;
}

.mmcms-legal .mmcms-legal-footnote {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    color: #64748b;
}

.mmcms-legal a {
    color: #4f46e5;
    font-weight: 500;
}

.mmcms-legal a:hover {
    color: #4338ca;
}

.mmcms-legal code {
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    font-size: 0.85em;
    background: #e2e8f0;
}

/* ================================================================== */
/* About Us page                                                       */
/* ================================================================== */

.magemaclean-about-page {
    color: #0f172a;
}

.magemaclean-about-hero {
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 3.5rem 0 4rem;
    color: #fff;
    background: linear-gradient(145deg, #0f172a 0%, #1e40af 45%, #0284c7 100%);
}

.magemaclean-about-hero-glow {
    position: absolute;
    top: -30%;
    right: -12%;
    width: 52%;
    height: 130%;
    pointer-events: none;
    background: radial-gradient(ellipse, rgb(56 189 248 / 0.2) 0%, transparent 68%);
}

.magemaclean-about-hero-glow--right {
    top: auto;
    right: auto;
    bottom: -35%;
    left: -10%;
    background: radial-gradient(ellipse, rgb(52 211 153 / 0.14) 0%, transparent 70%);
}

.magemaclean-about-hero-shell {
    position: relative;
    z-index: 1;
    max-width: 80rem;
}

.magemaclean-about-hero-grid {
    display: grid;
    gap: 2rem;
    align-items: end;
}

@media (min-width: 1024px) {
    .magemaclean-about-hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
        gap: 2.5rem;
        align-items: center;
    }
}

.magemaclean-about-hero-kicker {
    display: inline-flex;
    margin-bottom: 0.875rem;
    padding: 0.35rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #bae6fd;
    background: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.18);
}

.magemaclean-about-hero-title {
    margin: 0 0 0.875rem;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.magemaclean-about-hero-lead {
    margin: 0 0 1.5rem;
    max-width: 44rem;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: rgb(226 232 240);
}

.magemaclean-about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.magemaclean-about-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.magemaclean-about-btn--primary {
    color: #0f172a;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    box-shadow: 0 8px 24px -8px rgb(14 165 233 / 0.6);
}

.magemaclean-about-btn--primary:hover {
    transform: translateY(-1px);
    color: #0f172a;
    text-decoration: none;
}

.magemaclean-about-btn--ghost {
    color: #fff;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.22);
}

.magemaclean-about-btn--ghost:hover {
    background: rgb(255 255 255 / 0.14);
    color: #fff;
    text-decoration: none;
}

.magemaclean-about-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

@media (min-width: 1024px) {
    .magemaclean-about-hero-stats {
        grid-template-columns: 1fr;
    }
}

.magemaclean-about-hero-stats > div {
    padding: 1rem 1.15rem;
    border-radius: 0.875rem;
    background: rgb(255 255 255 / 0.1);
    border: 1px solid rgb(255 255 255 / 0.14);
}

.magemaclean-about-hero-stats dt {
    margin: 0 0 0.2rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(203 213 225);
}

.magemaclean-about-hero-stats dd {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.magemaclean-about-body {
    padding: 2.5rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 12rem);
}

.mmcms-about .mmcms-about-section {
    margin-bottom: 3.5rem;
}

.mmcms-about .mmcms-about-section--muted {
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 2.5rem 1rem;
    border-radius: 1.5rem;
    background: #f1f5f9;
}

@media (min-width: 768px) {
    .mmcms-about .mmcms-about-section--muted {
        margin-left: 0;
        margin-right: 0;
        padding: 3rem 2.5rem;
    }
}

.mmcms-about .mmcms-about-section-head {
    margin-bottom: 2rem;
    max-width: 44rem;
}

.mmcms-about .mmcms-about-eyebrow {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0284c7;
}

.mmcms-about .mmcms-about-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mmcms-about .mmcms-about-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #475569;
}

.mmcms-about .mmcms-about-split {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 900px) {
    .mmcms-about .mmcms-about-split {
        grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
        gap: 2.5rem;
    }
}

.mmcms-about .mmcms-about-prose h3 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.mmcms-about .mmcms-about-prose p {
    margin: 0 0 1rem;
    line-height: 1.7;
    color: #475569;
}

.mmcms-about .mmcms-about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.mmcms-about .mmcms-about-stat {
    padding: 1.25rem 1rem;
    border-radius: 1rem;
    text-align: center;
    background: linear-gradient(145deg, #0f172a 0%, #1e40af 100%);
    color: #fff;
}

.mmcms-about .mmcms-about-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mmcms-about .mmcms-about-stat-label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: rgb(203 213 225);
}

.mmcms-about .mmcms-about-cards {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .mmcms-about .mmcms-about-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.mmcms-about .mmcms-about-card {
    padding: 1.5rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px -8px rgb(15 23 42 / 0.08);
}

.mmcms-about .mmcms-about-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
}

.mmcms-about .mmcms-about-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.mmcms-about .mmcms-about-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #64748b;
}

.mmcms-about .mmcms-about-features {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .mmcms-about .mmcms-about-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.mmcms-about .mmcms-about-feature {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.mmcms-about .mmcms-about-feature-num {
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #93c5fd;
    line-height: 1;
}

.mmcms-about .mmcms-about-feature h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
}

.mmcms-about .mmcms-about-feature p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
}

.mmcms-about .mmcms-about-cta {
    margin-top: 1rem;
}

.mmcms-about .mmcms-about-cta-inner {
    padding: 2.5rem 1.5rem;
    border-radius: 1.25rem;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
}

.mmcms-about .mmcms-about-cta-inner h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
}

.mmcms-about .mmcms-about-cta-inner p {
    margin: 0 auto 1.5rem;
    max-width: 36rem;
    line-height: 1.65;
    color: rgb(226 232 240);
}

.mmcms-about .mmcms-about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.mmcms-about .mmcms-about-cta-btn {
    display: inline-flex;
    padding: 0.75rem 1.35rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.mmcms-about .mmcms-about-cta-btn--primary {
    color: #0f172a;
    background: #fff;
}

.mmcms-about .mmcms-about-cta-btn--primary:hover {
    transform: translateY(-1px);
    color: #0f172a;
    text-decoration: none;
}

.mmcms-about .mmcms-about-cta-btn--ghost {
    color: #fff;
    border: 1px solid rgb(255 255 255 / 0.35);
}

.mmcms-about .mmcms-about-cta-btn--ghost:hover {
    background: rgb(255 255 255 / 0.1);
    color: #fff;
    text-decoration: none;
}

.mmcms-about a {
    color: #2563eb;
    font-weight: 500;
}

/* ================================================================== */
/* Category PLP — modern hero, aligned grid, interactive controls      */
/* ================================================================== */

.page-main:has(.magemaclean-plp-hero) {
    margin-top: 0;
}

.catalog-category-view .columns {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
}

.catalog-category-view .column.main {
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.catalog-category-view #layer-product-list,
.catalog-category-view .magemaclean-plp {
    width: 100%;
    max-width: none;
}

.catalog-category-view .page-title-wrapper,
.catalog-category-view .category-view.container {
    display: none;
}

/* Shared shell — uses Hyvä .container for the same width track as the header */
.magemaclean-plp-hero-shell,
.magemaclean-plp-shell {
    width: 100%;
}

/* Hero */
.magemaclean-plp-header {
    width: 100%;
    margin-bottom: 0;
}

.magemaclean-plp-hero {
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 2.5rem;
    padding: 3.5rem 0 4rem;
    color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 48%, #1d4ed8 100%);
}

.magemaclean-plp-hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 12% 18%, rgb(56 189 248 / 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 88% 72%, rgb(16 185 129 / 0.16) 0%, transparent 50%);
}

.magemaclean-plp-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .magemaclean-plp-hero {
        padding: 4.5rem 0 5rem;
        margin-bottom: 3rem;
    }

    .magemaclean-plp-hero-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.85fr);
        gap: 2.5rem;
    }
}

.magemaclean-plp-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a5f3fc;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.16);
}

.magemaclean-plp-hero-kicker-icon {
    width: 0.875rem;
    height: 0.875rem;
}

.magemaclean-plp-hero-title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.magemaclean-plp-hero-lead {
    margin: 0 0 1.75rem;
    max-width: 42rem;
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.65;
    color: rgb(226 232 240 / 0.92);
}

.magemaclean-plp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.magemaclean-plp-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.65rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.magemaclean-plp-hero-btn svg {
    width: 1.125rem;
    height: 1.125rem;
}

.magemaclean-plp-hero-btn--primary {
    color: #0f172a;
    background: #fff;
    border: 1px solid #fff;
}

.magemaclean-plp-hero-btn--primary:hover {
    color: #0f172a;
    text-decoration: none;
    transform: translateY(-1px);
    background: #f8fafc;
}

.magemaclean-plp-hero-btn--ghost {
    color: #fff;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.22);
}

.magemaclean-plp-hero-btn--ghost:hover {
    color: #fff;
    text-decoration: none;
    background: rgb(255 255 255 / 0.14);
}

.magemaclean-plp-hero-panel {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: rgb(15 23 42 / 0.42);
    border: 1px solid rgb(255 255 255 / 0.12);
    backdrop-filter: blur(8px);
}

.magemaclean-plp-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1.25rem;
}

.magemaclean-plp-hero-stat {
    text-align: center;
}

.magemaclean-plp-hero-stat dt {
    margin-bottom: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(226 232 240 / 0.72);
}

.magemaclean-plp-hero-stat dd {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.magemaclean-plp-hero-benefits {
    margin: 0;
    padding: 0;
    list-style: none;
}

.magemaclean-plp-hero-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgb(241 245 249 / 0.92);
    border-top: 1px solid rgb(255 255 255 / 0.08);
}

.magemaclean-plp-hero-benefits li:first-child {
    border-top: none;
    padding-top: 0;
}

.magemaclean-plp-hero-benefits svg {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
    color: #34d399;
}

/* PLP shell + controls */
.magemaclean-plp {
    width: 100%;
    padding-bottom: 3rem;
}

.magemaclean-plp-controls {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -20px rgb(15 23 42 / 0.18);
}

.magemaclean-plp-controls-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 0.875rem;
}

.magemaclean-plp-search-wrap {
    position: relative;
    flex: 1 1 16rem;
    min-width: 0;
}

.magemaclean-plp-search-icon {
    position: absolute;
    top: 50%;
    left: 0.9rem;
    width: 1.125rem;
    height: 1.125rem;
    color: #94a3b8;
    transform: translateY(-50%);
    pointer-events: none;
}

.magemaclean-plp-search {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 2.5rem 0.65rem 2.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.875rem;
    font-size: 0.9375rem;
    color: #0f172a;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.magemaclean-plp-search:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.15);
}

.magemaclean-plp-search-clear {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 9999px;
    color: #64748b;
    background: #f1f5f9;
    transform: translateY(-50%);
    cursor: pointer;
}

.magemaclean-plp-search-clear:hover {
    color: #0f172a;
    background: #e2e8f0;
}

.magemaclean-plp-search-clear svg {
    width: 0.875rem;
    height: 0.875rem;
}

.magemaclean-plp-count {
    margin: 0;
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

.magemaclean-plp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.magemaclean-plp-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 2.25rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.magemaclean-plp-filter:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.magemaclean-plp-filter.is-active {
    color: #1d4ed8;
    background: rgb(37 99 235 / 0.08);
    border-color: rgb(37 99 235 / 0.35);
}

.magemaclean-plp-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    color: #1d4ed8;
    background: rgb(37 99 235 / 0.12);
}

/* Toolbar */
.magemaclean-plp-toolbar {
    margin-bottom: 1rem;
}

.magemaclean-plp-toolbar--bottom {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.catalog-category-view .toolbar.toolbar-products {
    width: 100%;
    margin: 0;
    padding: 0.75rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background: transparent;
}

.catalog-category-view .toolbar.toolbar-products .modes,
.catalog-category-view .toolbar.toolbar-products .toolbar-sorter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.catalog-category-view .toolbar.toolbar-products .modes-mode,
.catalog-category-view .toolbar.toolbar-products .sorter-action {
    border-radius: 0.5rem;
}

/* Grid */
.magemaclean-plp-grid {
    display: grid;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.magemaclean-plp-grid.mode-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .magemaclean-plp-grid.mode-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .magemaclean-plp-grid.mode-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.magemaclean-plp-item {
    display: flex;
    min-width: 0;
}

.magemaclean-plp-item > .product-item,
.magemaclean-plp-item > form.product-item {
    width: 100%;
}

/* Product cards */
.magemaclean-plp-card {
    height: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 8px 24px -18px rgb(15 23 42 / 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.magemaclean-plp-card:hover {
    transform: translateY(-4px);
    border-color: rgb(37 99 235 / 0.28);
    box-shadow: 0 24px 48px -22px rgb(15 23 42 / 0.22);
}

.magemaclean-plp-card-media-wrap {
    position: relative;
}

.magemaclean-plp-card-media {
    position: relative;
    overflow: hidden;
    border-radius: 0.875rem;
}

.magemaclean-plp-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: linear-gradient(180deg, rgb(15 23 42 / 0.08) 0%, rgb(15 23 42 / 0.55) 100%);
    transition: opacity 0.2s ease;
}

.magemaclean-plp-card:hover .magemaclean-plp-card-overlay {
    opacity: 1;
}

.magemaclean-plp-card-overlay-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    background: #fff;
}

.magemaclean-plp-card-overlay-label svg {
    width: 0.875rem;
    height: 0.875rem;
}

.magemaclean-plp-card-ribbon {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #065f46;
    background: #d1fae5;
    border: 1px solid #6ee7b7;
}

.magemaclean-plp-card-ribbon--soon {
    color: #b45309;
    background: #fef3c7;
    border-color: #fcd34d;
}

.magemaclean-plp-card-ribbon--new {
    color: #1d4ed8;
    background: #dbeafe;
    border-color: #93c5fd;
}

.magemaclean-plp-card-ribbon--discontinued {
    color: #334155;
    background: #e2e8f0;
    border-color: #94a3b8;
}

.magemaclean-plp-card-title {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.magemaclean-plp-card-title:hover {
    color: #2563eb;
    text-decoration: none;
}

.magemaclean-plp-card-cta .btn-marketplace-list {
    width: 100%;
    justify-content: center;
}

/* Empty / no-results states */
.magemaclean-plp-empty,
.magemaclean-plp-no-results {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

.magemaclean-plp-no-results {
    margin-bottom: 1.5rem;
}

.magemaclean-plp-no-results-title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.magemaclean-plp-no-results-copy {
    margin: 0 0 1.25rem;
    color: #64748b;
}

.magemaclean-plp-no-results .magemaclean-plp-hero-btn {
    margin: 0 auto;
}

/* Ask AI trigger — quiet gallery control, not a Luma primary CTA */
.magemaclean-gallery-askai {
    margin-top: 0.75rem;
}

.magemaclean-gallery-askai .magemaclean-askai {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.magemaclean-gallery-askai .magemaclean-askai__trigger,
.magemaclean-gallery-askai .magemaclean-askai[style*="--askai-accent"] .magemaclean-askai__trigger:not(.magemaclean-askai__trigger--text):not(.action.toaskai) {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.5rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgb(37 99 235 / 0.2) !important;
    border-radius: 0.75rem;
    background: rgb(37 99 235 / 0.06) !important;
    box-shadow: none !important;
    color: #1d4ed8 !important;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.magemaclean-gallery-askai .magemaclean-askai__trigger:hover,
.magemaclean-gallery-askai .magemaclean-askai__trigger:focus,
.magemaclean-gallery-askai .magemaclean-askai[style*="--askai-accent"] .magemaclean-askai__trigger:not(.magemaclean-askai__trigger--text):not(.action.toaskai):hover,
.magemaclean-gallery-askai .magemaclean-askai[style*="--askai-accent"] .magemaclean-askai__trigger:not(.magemaclean-askai__trigger--text):not(.action.toaskai):focus {
    background: rgb(37 99 235 / 0.1) !important;
    border-color: rgb(37 99 235 / 0.35) !important;
    box-shadow: none !important;
    color: #1e40af !important;
    text-decoration: none;
}

.magemaclean-gallery-askai .magemaclean-askai__trigger:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.magemaclean-gallery-askai .magemaclean-askai__trigger-icon {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: currentColor;
}

.magemaclean-gallery-askai .magemaclean-askai__trigger-icon svg {
    width: 100%;
    height: 100%;
}

/* Ask AI Hyvä modal — theme the Luma overlay so it matches MageMaclean/hyva */
.magemaclean-askai.magemaclean-askai--portal,
.magemaclean-askai--portal {
    --askai-ink: #0f172a;
    --askai-muted: #64748b;
    --askai-line: #e2e8f0;
    --askai-line-soft: #e2e8f0;
    --askai-surface: #f8fafc;
    --askai-panel: #ffffff;
    --askai-accent: #2563eb;
    --askai-accent-deep: #1d4ed8;
    --askai-accent-soft: rgb(37 99 235 / 0.12);
    --askai-radius: 0.75rem;
    --askai-shadow: 0 24px 60px -20px rgb(15 23 42 / 0.35);
    font-size: 16px;
    line-height: 1.5;
    font-family: inherit;
}

.magemaclean-askai--portal.magemaclean-askai[data-mode="modal"] .magemaclean-askai__panel {
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    max-width: 32rem;
    max-height: min(80vh, 40rem);
    min-height: 0;
    width: calc(100% - 2rem);
    overflow: hidden;
}

.magemaclean-askai--portal .magemaclean-askai__header {
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 1.25rem 1rem;
}

.magemaclean-askai--portal .magemaclean-askai__heading {
    align-items: center;
    gap: 0.75rem;
}

.magemaclean-askai--portal .magemaclean-askai__brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 6px 14px -6px rgb(37 99 235 / 0.55);
}

.magemaclean-askai--portal .magemaclean-askai__brand-mark svg {
    width: 1.15rem;
    height: 1.15rem;
}

.magemaclean-askai--portal .magemaclean-askai__title-wrap {
    gap: 0.15rem;
}

.magemaclean-askai--portal .magemaclean-askai__title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.magemaclean-askai--portal .magemaclean-askai__status {
    font-size: 0.75rem;
    color: #64748b;
}

.magemaclean-askai--portal .magemaclean-askai__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0;
    border-radius: 0.65rem;
    color: #64748b;
    font-size: inherit;
}

.magemaclean-askai--portal .magemaclean-askai__close:before {
    content: none;
}

.magemaclean-askai--portal .magemaclean-askai__close > span {
    position: static;
    clip: auto;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
}

.magemaclean-askai--portal .magemaclean-askai__close svg {
    display: block;
    width: 1.05rem;
    height: 1.05rem;
}

.magemaclean-askai--portal .magemaclean-askai__close:hover,
.magemaclean-askai--portal .magemaclean-askai__close:focus {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.magemaclean-askai--portal .magemaclean-askai__body {
    gap: 0.85rem;
    padding: 0.25rem 1.25rem 1rem;
}

.magemaclean-askai--portal .magemaclean-askai__empty {
    flex: 0 0 auto;
    min-height: 0;
    padding: 0.35rem 0 0.15rem;
    gap: 0.35rem;
}

.magemaclean-askai--portal .magemaclean-askai__empty-title {
    font-size: 0.95rem;
    font-weight: 650;
    color: #0f172a;
}

.magemaclean-askai--portal .magemaclean-askai__empty-copy {
    font-size: 0.8125rem;
    line-height: 1.45;
    max-width: none;
    color: #64748b;
}

.magemaclean-askai--portal .magemaclean-askai__messages {
    min-height: 0;
    max-height: 16rem;
    gap: 0.75rem;
}

.magemaclean-askai--portal .magemaclean-askai__bubble {
    font-size: 0.875rem;
    line-height: 1.5;
}

.magemaclean-askai--portal .magemaclean-askai__message--user .magemaclean-askai__bubble,
.magemaclean-askai--portal.magemaclean-askai[style*="--askai-accent"] .magemaclean-askai__message--user .magemaclean-askai__bubble {
    background: #2563eb;
    border-radius: 1rem 1rem 0.25rem 1rem;
    padding: 0.65rem 0.85rem;
}

.magemaclean-askai--portal .magemaclean-askai__message--assistant .magemaclean-askai__bubble {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem 1rem 1rem 0.25rem;
    padding: 0.65rem 0.85rem;
}

.magemaclean-askai--portal .magemaclean-askai__suggestions {
    gap: 0.5rem;
}

.magemaclean-askai--portal .magemaclean-askai__chip {
    border: 1px solid rgb(37 99 235 / 0.2);
    border-radius: 999px;
    background: rgb(37 99 235 / 0.06);
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    padding: 0.4rem 0.75rem;
}

.magemaclean-askai--portal .magemaclean-askai__chip:hover,
.magemaclean-askai--portal .magemaclean-askai__chip:focus {
    background: rgb(37 99 235 / 0.12) !important;
    border-color: rgb(37 99 235 / 0.35) !important;
    color: #1e40af !important;
}

.magemaclean-askai--portal .magemaclean-askai__footer {
    padding: 0.9rem 1.25rem 1.15rem;
    background: #f8fafc;
}

.magemaclean-askai--portal .magemaclean-askai__compose {
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.4rem 0.4rem 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.9rem;
    background: #fff;
}

.magemaclean-askai--portal .magemaclean-askai__compose:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.12);
}

.magemaclean-askai--portal .magemaclean-askai__input {
    font-size: 0.875rem;
    min-height: 2.25rem;
    padding: 0.45rem 0;
}

.magemaclean-askai--portal .magemaclean-askai__input::placeholder {
    color: #94a3b8;
}

.magemaclean-askai--portal .magemaclean-askai__actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
}

.magemaclean-askai--portal .magemaclean-askai__send,
.magemaclean-askai--portal .magemaclean-askai__send.action.primary,
.magemaclean-askai--portal.magemaclean-askai[style*="--askai-accent"] .magemaclean-askai__send {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 4.75rem;
    min-height: 2.4rem !important;
    padding: 0.5rem 1rem !important;
    border: 0 !important;
    border-radius: 0.7rem !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 6px 16px -6px rgb(37 99 235 / 0.55);
    color: #fff !important;
    font-size: 0.8125rem !important;
    font-weight: 650;
}

.magemaclean-askai--portal .magemaclean-askai__send:hover,
.magemaclean-askai--portal .magemaclean-askai__send:focus,
.magemaclean-askai--portal.magemaclean-askai[style*="--askai-accent"] .magemaclean-askai__send:hover,
.magemaclean-askai--portal.magemaclean-askai[style*="--askai-accent"] .magemaclean-askai__send:focus {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.magemaclean-askai--portal .magemaclean-askai__stop,
.magemaclean-askai--portal .magemaclean-askai__stop.action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 4.25rem;
    min-height: 2.4rem !important;
    padding: 0.5rem 0.85rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 0.7rem !important;
    background: #fff !important;
    color: #334155 !important;
    font-size: 0.8125rem !important;
    font-weight: 650;
}

.magemaclean-askai--portal .magemaclean-askai__stop[hidden] {
    display: none !important;
}

.magemaclean-askai--portal .magemaclean-askai__stop:hover,
.magemaclean-askai--portal .magemaclean-askai__stop:focus {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

.magemaclean-askai--portal .magemaclean-askai__send-label,
.magemaclean-askai--portal .magemaclean-askai__stop-label {
    font-size: 0.8125rem !important;
}

.magemaclean-askai--portal .magemaclean-askai__typing {
    font-size: 0.75rem;
    color: #64748b;
}

@media (max-width: 767px) {
    .magemaclean-askai--portal.magemaclean-askai[data-mode="modal"] .magemaclean-askai__panel,
    .magemaclean-askai--portal.is-open[data-mode="modal"] .magemaclean-askai__panel {
        border-radius: 1.25rem 1.25rem 0 0;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        max-width: none;
        max-height: min(88vh, 36rem);
        transform: translateY(0);
    }
}

/*
 * Hyvä defaults to vertical thumbs beside the main image, which shrinks the
 * hero (object-scale-down will not grow a small source). Stack thumbs below
 * so the main frame uses the full gallery column.
 */
.magemaclean-pdp-gallery #gallery {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.magemaclean-pdp-gallery #gallery > .relative {
    flex: none;
    width: 100%;
    min-width: 0;
}

.magemaclean-pdp-gallery #gallery .snap-pager {
    flex-direction: row !important;
    order: 1 !important;
    padding-top: 0.75rem;
    padding-inline-end: 0 !important;
}

.magemaclean-pdp-gallery #gallery-main {
    width: 100%;
    max-width: 100%;
}

.magemaclean-pdp-gallery #gallery-main img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.magemaclean-home-extensions {
    padding-inline: 1rem;
}

@media (min-width: 640px) {
    .magemaclean-home-extensions {
        padding-inline: 1.5rem;
    }
}

.magemaclean-home-extensions-grid {
    max-width: 80rem;
    margin-inline: auto;
}

.magemaclean-plp-count--footer {
    margin: 1.5rem 0 0;
    text-align: center;
}

.magemaclean-noroute-hero,
.magemaclean-empty-cart {
    padding: 3rem 0 4rem;
}

.magemaclean-noroute-kicker {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.35rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1d4ed8;
    background: rgb(29 78 216 / 0.08);
}

.magemaclean-noroute-title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.magemaclean-noroute-lead {
    max-width: 40rem;
    margin: 0 0 1.75rem;
    color: var(--color-fg-secondary, #4b5563);
    font-size: 1.05rem;
    line-height: 1.6;
}

.magemaclean-noroute-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.magemaclean-noroute-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
}

.magemaclean-noroute-btn--primary {
    color: #fff;
    background: #2563eb;
}

.magemaclean-noroute-btn--primary:hover {
    background: #1d4ed8;
    text-decoration: none;
}

.magemaclean-noroute-btn--ghost {
    color: #0f172a;
    background: #fff;
    border: 1px solid #d1d5db;
}

.magemaclean-noroute-btn--ghost:hover {
    border-color: #2563eb;
    text-decoration: none;
}

.magemaclean-description h1 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Supplier Catalog Onboarding — visual walkthrough inside the PDP description */
.magemaclean-story-lead {
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    color: #fff;
    background:
        radial-gradient(520px 240px at 100% 0%, rgb(37 99 235 / 0.5), transparent 62%),
        radial-gradient(420px 220px at 0% 100%, rgb(8 145 178 / 0.28), transparent 60%),
        #0f172a;
}

.magemaclean-story-lead .magemaclean-eyebrow {
    color: #7dd3fc;
}

.magemaclean-story-lead h2 {
    max-width: 18ch;
    margin: 0.35rem 0 0.75rem;
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.magemaclean-story-lead > p {
    max-width: 40rem;
    margin: 0;
    color: #cbd5e1;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.magemaclean-story-pipeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.magemaclean-story-pipeline li {
    margin: 0;
    padding: 1rem 1rem 1.1rem;
    list-style: none;
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.06);
}

.magemaclean-story-pipeline span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 800;
}

.magemaclean-story-pipeline strong {
    display: block;
    margin-top: 0.75rem;
    color: #fff;
    font-size: 1rem;
}

.magemaclean-story-pipeline em {
    display: block;
    margin-top: 0.3rem;
    color: #94a3b8;
    font-size: 0.875rem;
    font-style: normal;
    line-height: 1.45;
}

.magemaclean-story-scenes {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.magemaclean-story-scene {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
    gap: 1.25rem 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 12px 32px rgb(15 23 42 / 0.06);
}

.magemaclean-story-scene figure {
    margin: 0;
}

.magemaclean-story-scene img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #f8fafc;
}

.magemaclean-story-kicker {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.magemaclean-story-scene h3 {
    margin: 0 0 0.65rem;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.magemaclean-story-scene p {
    margin: 0;
    color: #475569;
    font-size: 0.975rem;
    line-height: 1.6;
}

.magemaclean-story-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.magemaclean-story-pills li {
    margin: 0;
    padding: 0.28rem 0.7rem;
    list-style: none;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.8125rem;
    font-weight: 700;
}

.magemaclean-story-pills li.is-update {
    background: #ecfdf5;
    color: #047857;
}

.magemaclean-story-pills li.is-wait {
    background: #fff7ed;
    color: #c2410c;
}

.magemaclean-story-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr 1fr;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
    padding: 0.85rem;
    border-radius: 1rem;
    background: #f8fafc;
}

.magemaclean-story-compare span {
    display: block;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.magemaclean-story-compare strong {
    display: block;
    margin-top: 0.15rem;
    color: #0f172a;
    font-size: 1.05rem;
}

.magemaclean-story-compare-arrow {
    color: #2563eb;
    font-size: 1.25rem;
    font-weight: 700;
}

@media (max-width: 960px) {
    .magemaclean-story-pipeline {
        grid-template-columns: 1fr 1fr;
    }

    .magemaclean-story-scene {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .magemaclean-story-pipeline,
    .magemaclean-story-compare {
        grid-template-columns: 1fr;
    }

    .magemaclean-story-compare-arrow {
        display: none;
    }
}

/* Related extensions on every product page */
.magemaclean-related .magemaclean-section-lead {
    max-width: 46rem;
}

.magemaclean-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 56rem;
    margin: 0 auto;
}

.magemaclean-related-grid.is-three {
    max-width: 72rem;
}

@media (min-width: 768px) {
    .magemaclean-related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1100px) {
    .magemaclean-related-grid.is-three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.magemaclean-related-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 12px 32px rgb(15 23 42 / 0.05);
    color: inherit;
    text-decoration: none;
}

.magemaclean-related-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 16px 36px rgb(37 99 235 / 0.12);
    text-decoration: none;
    transform: translateY(-2px);
}

.magemaclean-related-card-top {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.magemaclean-related-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #f8fafc;
}

.magemaclean-related-kicker {
    display: block;
    margin-top: 0.35rem;
    color: #2563eb;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.magemaclean-related-name {
    display: block;
    margin-top: 0.15rem;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.magemaclean-related-line {
    margin: 0;
    color: #334155;
    font-size: 0.975rem;
    line-height: 1.5;
}

.magemaclean-related-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid #e2e8f0;
}

.magemaclean-related-price {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.magemaclean-related-suffix,
.magemaclean-related-renew {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
}

.magemaclean-related-cta {
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.magemaclean-related-card:hover .magemaclean-related-cta {
    text-decoration: underline;
}

