/* WooCommerce Page Specific Styles - Prefixed with mz-woo */

.mz-woo-page {
    padding-bottom: var(--mz-section-gap);
}

/* Hero Section */
.mz-woo-hero {
    padding-top: 80px !important;
    padding-bottom: 40px !important;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.mz-woo-hero-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 60px;
}

.mz-woo-hero-image {
    flex: 1;
    max-width: 550px;
}

/* Hero Visual Illustration */
.mz-woo-hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 500px;
    margin: 0 auto;
}

/* Floating Spec Tags */
.mz-woo-hero-floating-tags {
    position: absolute;
    left: -40px;
    top: 25%;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mz-woo-hero-float-tag {
    background: var(--mz-white);
    border: 1px solid var(--mz-border-color);
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: mz-pulse 2s infinite;
    box-shadow: var(--mz-shadow-sm);
}

.mz-woo-hero-float-tag svg {
    width: 20px;
    height: 20px;
    color: var(--mz-primary);
    flex-shrink: 0;
}

.mz-woo-hero-float-tag span:last-child {
    font-size: 12px;
    font-family: var(--mz-font-bold);
    color: var(--mz-text-dark);
    white-space: nowrap;
}

/* Background Accent */
.mz-woo-hero-visual-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 137, 138, 0.05);
    border-radius: 50%;
    scale: 1.1;
    filter: blur(48px);
}

.mz-woo-hero-visual-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(12deg);
    width: 80%;
    height: 80%;
    border: 2px solid rgba(189, 201, 200, 0.3);
    border-radius: 12px;
    transition: transform 0.7s ease;
}

.mz-woo-hero-visual:hover .mz-woo-hero-visual-ring {
    transform: translate(-50%, -50%) rotate(6deg);
}

/* Main Image Container */
.mz-woo-hero-visual-main {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: var(--mz-white);
    border: 1px solid var(--mz-border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mz-woo-hero-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Floating Speed Indicators */
.mz-woo-hero-float-speed {
    position: absolute;
    padding: 12px 16px;
    background: var(--mz-white);
    border: 1px solid var(--mz-border-color);
    border-radius: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: mz-bounce 3s infinite;
    box-shadow: var(--mz-shadow-sm);
}

.mz-woo-hero-float-speed-top {
    top: -24px;
    right: -24px;
    animation-duration: 3s;
}

.mz-woo-hero-float-speed-bottom {
    bottom: -24px;
    left: -24px;
    animation-duration: 4s;
}

.mz-woo-hero-float-speed svg {
    width: 24px;
    height: 24px;
}

.mz-woo-hero-float-speed-top svg {
    color: var(--mz-primary);
}

.mz-woo-hero-float-speed-bottom svg {
    color: var(--mz-primary);
}

.mz-woo-hero-float-label {
    font-size: 12px;
    font-family: var(--mz-font-bold);
    color: var(--mz-text-light);
    display: block;
}

.mz-woo-hero-float-value {
    font-size: 16px;
    font-family: var(--mz-font-bold);
    display: block;
}

.mz-woo-hero-float-speed-top .mz-woo-hero-float-value {
    color: var(--mz-primary);
}

.mz-woo-hero-float-speed-bottom .mz-woo-hero-float-value {
    color: var(--mz-primary);
}

@keyframes mz-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.mz-woo-hero-content {
    flex: 1;
}

/* Hero Badge */
.mz-woo-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--mz-white);
    border-radius: 9999px;
    border: 1px solid var(--mz-border-color);
    margin-bottom: 20px;
    font-size: 13px;
    font-family: var(--mz-font-bold);
    color: var(--mz-text-light);
}

.mz-woo-hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--mz-primary);
    border-radius: 50%;
    animation: mz-pulse 2s infinite;
}

@keyframes mz-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.mz-woo-hero-content h1 {
    font-size: 26px;
    color: var(--mz-text-dark);
    font-family: var(--mz-font-bold);
    margin-bottom: 15px;
    line-height: 1.4;
}

.mz-woo-hero-sub {
    font-size: var(--mz-fs-h4);
    color: var(--mz-primary);
    margin-bottom: 25px;
    font-family: var(--mz-font-bold);
}

.mz-woo-hero-content p {
    font-size: var(--mz-fs-h5);
    color: var(--mz-text-main);
    line-height: 2;
    margin-bottom: 35px;
    text-align: justify;
}

.mz-woo-hero-btns {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

/* Hero Technical Features Row */
.mz-woo-hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--mz-border-color);
}

.mz-woo-hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mz-woo-hero-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--mz-white);
    border: 1px solid var(--mz-border-color);
    color: var(--mz-primary);
    flex-shrink: 0;
    transition: var(--mz-transition);
}

.mz-woo-hero-feature-item span {
    font-size: 13px;
    font-family: var(--mz-font-bold);
    color: var(--mz-text-dark);
    white-space: nowrap;
}
.mz-woo-pricing {
    padding: var(--mz-section-gap) 0;
}

.mz-woo-plans-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mz-woo-pricing .mz-section-title { margin-bottom: 12px; }
.mz-woo-pricing-intro { max-width: 680px; margin: 0 auto 38px; color: var(--mz-text-light); font-size: 15px; line-height: 1.8; text-align: center; }

.mz-woo-plan-card {
    background: var(--mz-white);
    border-radius: 8px;
    border: 1px solid var(--mz-border-color);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mz-woo-plan-card:hover { border-color: #b8d4d4; }

.mz-woo-plan-top {
    display: flex;
    align-items: center;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--mz-bg-light);
}

.mz-woo-plan-title {
    width: 200px;
    text-align: left;
}

.mz-woo-plan-title h3 {
    font-size: 24px;
    line-height: 1.2;
    color: var(--mz-text-dark);
    font-family: var(--mz-font-bold);
    margin: 0;
}

.mz-woo-plan-specs {
    flex: 1;
    display: flex;
    gap: 16px;
    padding-left: 24px;
}

.mz-woo-spec-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    text-align: left;
    direction: ltr;
    min-width: 0;
}

.mz-woo-spec-icon {
    color: var(--mz-text-main);
    background: transparent;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--mz-border-color);
}

.mz-woo-spec-icon svg {
    width: 20px;
    height: 20px;
}

.mz-woo-spec-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.mz-woo-spec-label {
    font-size: 13px;
    color: var(--mz-text-dark);
    font-family: var(--mz-font-bold);
}

.mz-woo-spec-value {
    font-size: 12px;
    color: var(--mz-text-main);
    font-family: var(--mz-font-main);
    white-space: nowrap;
}

.mz-woo-spec-unit {
    font-size: var(--mz-fs-xs);
    color: var(--mz-text-muted);
}

.mz-woo-plan-bottom {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.mz-woo-plan-prices {
    flex: 1;
    background: var(--mz-bg-light);
    border-radius: 6px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 15px 24px;
    align-items: center;
}

.mz-woo-price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mz-woo-price-label {
    font-size: var(--mz-fs-sm);
    color: var(--mz-text-light);
    font-family: var(--mz-font-bold);
}

.mz-woo-price-item:not(:first-child) .mz-woo-price-label {
    color: var(--mz-primary);
}

.mz-woo-price-val {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--mz-fs-h3);
    color: var(--mz-primary);
    font-family: var(--mz-font-bold);
}

.mz-woo-price-old {
    font-size: var(--mz-fs-sm);
    color: var(--mz-text-light);
    text-decoration: line-through;
    font-family: 'en', var(--mz-font-main);
}

.mz-woo-price-now {
    font-size: var(--mz-fs-h4);
    color: var(--mz-text-dark);
    font-family: 'en', var(--mz-font-bold);
}

.mz-woo-plan-action {
    width: 260px;
}

/* Features Section */
.mz-woo-features {
    padding: var(--mz-section-gap) 0;
}

.mz-woo-features-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.mz-woo-features-badge {
    background: var(--mz-white);
    color: var(--mz-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: var(--mz-fs-sm);
    font-family: var(--mz-font-bold);
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: var(--mz-shadow-sm);
}

.mz-woo-features-sub {
    font-size: var(--mz-fs-h3);
    color: var(--mz-text-main);
    margin-bottom: 20px;
    font-family: var(--mz-font-bold);
}

.mz-woo-features-desc {
    font-size: var(--mz-fs-md);
    color: var(--mz-text-light);
    line-height: 1.9;
}

.mz-woo-features-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.mz-woo-feature-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

.mz-woo-feature-item.mz-reverse {
    flex-direction: row-reverse;
}

.mz-woo-feature-item.mz-reverse .mz-btn-group {
    margin-left: 0;
    margin-right: 0;
}

.mz-woo-feature-content {
    flex: 1;
    text-align: left;
}

.mz-woo-feature-content h3 {
    font-size: var(--mz-fs-h2);
    color: var(--mz-text-dark);
    font-family: var(--mz-font-bold);
    margin-bottom: 20px;
}

/* WooCommerce-specific labels for the shared animated feature illustrations. */
.mz-woo-page .mz-wp-features-list > .mz-wp-feature-item:nth-child(1) .mz-wp-feature-visual::before {
    content: 'YOUR STORE\A\A CPU  •  RAM  •  I/O';
}

.mz-woo-page .mz-wp-features-list > .mz-wp-feature-item:nth-child(2) .mz-wp-feature-visual::before {
    content: 'NVMe GEN4\A FAST CHECKOUT';
}

.mz-woo-page .mz-wp-features-list > .mz-wp-feature-item:nth-child(3) .mz-wp-feature-visual::before {
    content: '360°\A STORE DEFENSE';
}

.mz-woo-page .mz-wp-features-list > .mz-wp-feature-item:nth-child(4) .mz-wp-feature-visual::before {
    content: 'AMD EPYC\A 9474F\A\A STORE POWER';
}

/* Make the WooCommerce motion language distinct: sales flow, checkout, order protection, and inventory compute. */
.mz-woo-page .mz-wp-features-list > .mz-wp-feature-item:nth-child(1) .mz-wp-feature-visual::before {
    width: 190px;
    height: 112px;
    border-radius: 8px;
    content: 'SALE TRAFFIC\A READY';
    animation: wooSalePulse 2.7s ease-in-out infinite;
}

.mz-woo-page .mz-wp-features-list > .mz-wp-feature-item:nth-child(1) .mz-wp-feature-visual::after {
    border-radius: 8px;
    animation: wooCartOrbit 8s linear infinite;
}

.mz-woo-page .mz-wp-features-list > .mz-wp-feature-item:nth-child(2) .mz-wp-feature-visual::before {
    width: 208px;
    height: 92px;
    border-radius: 8px;
    content: 'CHECKOUT\A IN MOTION';
    animation: wooCheckoutSlide 2.2s ease-in-out infinite;
}

.mz-woo-page .mz-wp-features-list > .mz-wp-feature-item:nth-child(2) .mz-wp-feature-visual::after {
    transform: rotate(-8deg);
    animation: wooCheckoutFlow 1.15s linear infinite;
}

.mz-woo-page .mz-wp-features-list > .mz-wp-feature-item:nth-child(3) .mz-wp-feature-visual::before {
    width: 162px;
    height: 162px;
    padding-top: 0;
    clip-path: polygon(50% 0, 100% 28%, 100% 72%, 50% 100%, 0 72%, 0 28%);
    content: 'SAFE\A ORDERS';
    animation: wooOrderShield 2.6s ease-in-out infinite;
}

.mz-woo-page .mz-wp-features-list > .mz-wp-feature-item:nth-child(3) .mz-wp-feature-visual::after {
    border-radius: 0;
    outline-offset: 25px;
    animation: wooOrderGrid 9s linear infinite;
}

.mz-woo-page .mz-wp-features-list > .mz-wp-feature-item:nth-child(4) .mz-wp-feature-visual::before {
    width: 174px;
    height: 126px;
    border-radius: 8px;
    content: 'ORDER ENGINE\A EPYC 9474F';
    animation: wooEngineCycle 2.9s ease-in-out infinite;
}

.mz-woo-page .mz-wp-features-list > .mz-wp-feature-item:nth-child(4) .mz-wp-feature-visual::after {
    border-radius: 6px;
    animation: wooInventorySpin 10s linear infinite;
}

@keyframes wooSalePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.09); } }
@keyframes wooCartOrbit { from { transform: rotate(0deg) scale(.9); } to { transform: rotate(360deg) scale(.9); } }
@keyframes wooCheckoutSlide { 0%,100% { transform: translateX(-18px); } 50% { transform: translateX(18px); } }
@keyframes wooCheckoutFlow { from { transform: rotate(-8deg) translateX(-38px); } to { transform: rotate(-8deg) translateX(38px); } }
@keyframes wooOrderShield { 0%,100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(4deg) scale(1.06); } }
@keyframes wooOrderGrid { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes wooEngineCycle { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes wooInventorySpin { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

.mz-woo-feature-content p {
    font-size: var(--mz-fs-md);
    color: var(--mz-text-main);
    line-height: 1.9;
    margin-bottom: 20px;
}

.mz-woo-feature-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.mz-woo-feature-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: var(--mz-fs-md);
    color: var(--mz-text-main);
}

.mz-woo-feature-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--mz-primary);
    font-family: var(--mz-font-bold);
}

.mz-woo-feature-img-box {
    flex: 1;
    max-width: 550px;
}

.mz-woo-feature-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--mz-shadow-sm);
    transition: var(--mz-transition);
}

.mz-woo-feature-img:hover {
    /* No scale */
}

/* SVG Illustrations Styling */
.mz-woo-svg-illustration {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: var(--mz-white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--mz-shadow-sm);
    border: 1px solid var(--mz-border-color);
}

.mz-woo-svg-illustration svg {
    width: 100%;
    height: auto;
    display: block;
}

.mz-woo-svg-illustration text {
    font-family: var(--mz-font-main) !important;
}

.mz-woo-svg-illustration text[font-weight="bold"] {
    font-family: var(--mz-font-bold) !important;
}

/* Info Section */
.mz-woo-info {
    padding: var(--mz-section-gap) 0;
}

.mz-woo-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mz-woo-info-card {
    background: var(--mz-white);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--mz-border-color);
    transition: var(--mz-transition);
}

.mz-woo-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--mz-primary);
}

.mz-woo-info-icon {
    color: var(--mz-primary);
    margin-bottom: 20px;
    display: inline-block;
}

.mz-woo-info-card h4 {
    font-size: var(--mz-fs-h3);
    margin-bottom: 15px;
    font-family: var(--mz-font-bold);
}

.mz-woo-info-card p {
    font-size: var(--mz-fs-sm);
    color: var(--mz-text-main);
    line-height: 1.8;
}

/* SEO Content */
.mz-woo-seo {
    padding: var(--mz-section-gap) 0;
}

.mz-woo-seo-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.mz-woo-seo-text h2 {
    font-size: var(--mz-fs-h2);
    color: var(--mz-text-dark);
    font-family: var(--mz-font-bold);
    margin-bottom: 25px;
    line-height: 1.5;
}

.mz-woo-seo-text h3 {
    font-size: var(--mz-fs-h3);
    color: var(--mz-text-main);
    font-family: var(--mz-font-bold);
    margin: 30px 0 15px;
}

.mz-woo-seo-text p {
    font-size: var(--mz-fs-lg);
    color: var(--mz-text-main);
    line-height: 1.8;
    margin-bottom: 20px;
}

.mz-woo-seo-feat {
    background: var(--mz-bg-light);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--mz-border-color);
    position: sticky;
    top: 100px;
}

.mz-woo-seo-feat h4 {
    font-size: var(--mz-fs-h4);
    color: var(--mz-text-dark);
    font-family: var(--mz-font-bold);
    margin-bottom: 20px;
}

.mz-woo-seo-feat ul {
    list-style: none;
    padding: 0;
}

.mz-woo-seo-feat ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: var(--mz-fs-md);
    color: var(--mz-text-main);
    font-family: var(--mz-font-bold);
}

.mz-woo-seo-feat ul li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--mz-primary);
}

/* FAQ Section */
.mz-woo-faq {
    padding: var(--mz-section-gap) 0;
}

.mz-woo-faq-list {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mz-woo-faq-item {
    background: var(--mz-white);
    border-radius: 12px;
    border: 1px solid var(--mz-border-color);
    overflow: hidden;
    transition: var(--mz-transition);
}

.mz-woo-faq-q {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: var(--mz-fs-h5);
    font-family: var(--mz-font-bold);
    color: var(--mz-text-dark);
}

.mz-woo-faq-q svg {
    transition: var(--mz-transition);
    color: var(--mz-text-light);
}

.mz-woo-faq-a {
    padding: 0 25px 20px;
    color: var(--mz-text-main);
    line-height: 1.9;
    font-size: var(--mz-fs-md);
    display: none;
}

.mz-woo-faq-item.mz-active .mz-woo-faq-q svg {
    transform: rotate(180deg);
}

.mz-woo-faq-item.mz-active {
    box-shadow: var(--mz-shadow-sm);
    border-color: var(--mz-primary);
}

.mz-woo-faq-item.mz-active .mz-woo-faq-a {
    display: block;
}

.mz-woo-faq-item.mz-active .mz-woo-faq-q {
    color: var(--mz-primary);
}

.mz-woo-faq-item.mz-active .mz-woo-faq-q svg {
    transform: rotate(180deg);
    color: var(--mz-primary);
}

/* WooCommerce page typography and spacing hierarchy */
.mz-woo-page .mz-woo-hero-content h1 { max-width: 720px; margin-bottom: 18px; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.03em; line-height: 1.12; }
.mz-woo-page .mz-woo-hero-sub { margin-bottom: 14px; font-size: 17px; line-height: 1.55; }
.mz-woo-page .mz-woo-hero-content > p:not(.mz-woo-hero-sub) { max-width: 680px; margin-bottom: 30px; font-size: 16px; line-height: 1.85; }
.mz-woo-page .mz-section-title { max-width: 760px; margin: 0 auto 42px; font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.025em; line-height: 1.2; }
.mz-woo-page .mz-wp-feature-content h3 { margin-bottom: 14px; font-size: clamp(23px, 2.3vw, 31px); line-height: 1.25; }
.mz-woo-page .mz-wp-feature-content p { max-width: 620px; margin-bottom: 24px; font-size: 15px; line-height: 1.85; }
.mz-woo-page .mz-wp-feature-bullets { margin-bottom: 28px; }
.mz-woo-page .mz-wp-feature-bullet { min-height: 34px; }
.mz-woo-page .mz-wp-feature-bullet span { font-size: 13px; line-height: 1.5; }
.mz-woo-page .mz-wp-features-list { gap: 104px; }
.mz-woo-page .mz-woo-faq { padding-top: 90px; padding-bottom: 90px; }
.mz-woo-page .mz-woo-faq-list { max-width: 900px; }
.mz-woo-page .mz-woo-faq-q { padding: 22px 24px; font-size: 16px; line-height: 1.5; }
.mz-woo-page .mz-woo-faq-a { padding: 0 24px 24px; font-size: 14px; line-height: 1.85; }

@media (max-width: 768px) {
    .mz-woo-page .mz-wp-features-list { gap: 68px; }
    .mz-woo-page .mz-section-title { margin-bottom: 30px; }
    .mz-woo-page .mz-woo-faq { padding-top: 64px; padding-bottom: 64px; }
}

/* -----------------------------------------
   Responsive Styles
   ----------------------------------------- */

/* Tablet (Large) - 1024px */
@media (max-width: 1024px) {
    .mz-woo-hero-wrapper {
        gap: 40px;
    }

    .mz-woo-plan-specs {
        gap: 10px;
        padding-left: 20px;
    }

    .mz-woo-spec-label {
        font-size: 0.75rem;
    }

    .mz-woo-spec-value {
        font-size: 13px;
    }
}

/* Keep plan specification text readable on very narrow phones. */
@media (max-width: 420px) {
    .mz-woo-plan-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .mz-woo-spec-item { min-width: 0; padding-right: 8px; padding-left: 8px; }

    .mz-woo-spec-info { min-width: 0; max-width: 100%; }

    .mz-woo-spec-label,
    .mz-woo-spec-value { max-width: 100%; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }

    .mz-woo-spec-label { font-size: 11px; }
    .mz-woo-spec-value { font-size: 11px; }

    .mz-woo-plan-title h3 { font-size: 17px !important; line-height: 1.25; overflow-wrap: anywhere; }
}

/* WooCommerce workload scenes — designed around store operations, not WordPress visuals. */
.mz-woo-page .mz-wp-feature-visual[class*="mz-woo-visual--"]::before,
.mz-woo-page .mz-wp-feature-visual[class*="mz-woo-visual--"]::after,
.mz-woo-page .mz-wp-feature-visual[class*="mz-woo-visual--"] > svg { display: none !important; }
.mz-woo-page .mz-wp-feature-visual[class*="mz-woo-visual--"] { position: relative; min-height: 360px; margin: 24px; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: #f4fafa; }
.cp-woo-v3 { position: absolute; inset: 0; overflow: hidden; color: #087c7d; font-family: var(--mz-font-bold); background: linear-gradient(135deg, #fbfdfd, #edf8f8); }
.cp-woo-v3::after { position: absolute; right: 23px; bottom: 20px; left: 23px; height: 1px; background: #c6dfdf; content: ''; }
.cp-woo-v3-label { position: absolute; z-index: 10; top: 23px; left: 27px; color: #5e7979; font-size: 10px; letter-spacing: .12em; }.cp-woo-v3-label span { margin-left: 8px; color: var(--mz-primary); }

/* Sale rush: carts are sorted into dedicated lanes. */
.cp-woo-v3--orders { background: linear-gradient(90deg, #eff9f9 0 39%, #fbfdfd 39%); }.cp-woo-order-feed { position: absolute; top: 78px; left: 30px; display: grid; gap: 8px; width: 126px; }.cp-woo-order-feed i { display: block; padding: 8px 9px; border-left: 2px solid #a0cccc; background: #fff; color: #5a7777; font-size: 9px; font-style: normal; letter-spacing: .08em; animation: cpWooOrderFeed 4s ease-in-out infinite; }.cp-woo-order-feed i:nth-child(2) { animation-delay: -.8s; }.cp-woo-order-feed i:nth-child(3) { animation-delay: -1.6s; }.cp-woo-order-feed i:nth-child(4) { animation-delay: -2.4s; }
.cp-woo-order-sorter { position: absolute; z-index: 4; top: 134px; left: 44%; display: grid; width: 110px; height: 89px; place-content: center; border: 1px solid var(--mz-primary); background: #fff; text-align: center; animation: cpWooSorter 3.5s ease-in-out infinite; }.cp-woo-order-sorter b { font-size: 13px; line-height: 1.25; }.cp-woo-order-sorter span { position: absolute; right: 9px; bottom: 9px; width: 8px; height: 8px; background: var(--mz-primary); }
.cp-woo-order-lane { position: absolute; z-index: 3; right: 33px; left: 66%; height: 28px; padding: 7px 9px; border-top: 1px solid #a4cccc; border-bottom: 1px solid #d5e8e8; color: #628080; font-size: 9px; letter-spacing: .12em; }.cp-woo-order-lane::before { position: absolute; top: 10px; left: -29px; width: 29px; height: 1px; background: #86bdbd; content: ''; }.cp-woo-order-lane--one { top: 107px; }.cp-woo-order-lane--two { top: 161px; }.cp-woo-order-lane--three { top: 215px; }.cp-woo-order-status { position: absolute; right: 34px; bottom: 43px; z-index: 4; padding: 7px 9px; border: 1px solid #c6dddd; background: rgba(255,255,255,.86); color: #668181; font-size: 8px; letter-spacing: .08em; }

/* Checkout: three discrete processing steps joined by a moving route. */
.cp-woo-check-step { position: absolute; z-index: 4; display: grid; width: 90px; height: 70px; place-content: center; border: 1px solid #a8cece; background: rgba(255,255,255,.93); text-align: center; }.cp-woo-check-step b { font-size: 19px; line-height: 1; }.cp-woo-check-step span { margin-top: 5px; color: #668080; font-size: 8px; letter-spacing: .1em; }.cp-woo-check-step--cart { top: 117px; left: 36px; }.cp-woo-check-step--pay { top: 163px; left: calc(50% - 45px); border-color: var(--mz-primary); }.cp-woo-check-step--done { top: 105px; right: 36px; }.cp-woo-check-step--done b { color: var(--mz-primary); }
.cp-woo-check-route { position: absolute; z-index: 2; top: 136px; right: 92px; left: 91px; height: 82px; border-top: 1px solid #a9cccc; border-right: 1px solid #a9cccc; border-bottom: 1px solid #a9cccc; clip-path: polygon(0 0, 100% 0, 100% 70%, 61% 70%, 61% 100%, 0 100%); }.cp-woo-check-route i { position: absolute; top: -4px; width: 8px; height: 8px; background: var(--mz-primary); animation: cpWooCheckoutRoute 3.6s linear infinite; }.cp-woo-check-route i:nth-child(2) { animation-delay: -1.2s; opacity: .65; }.cp-woo-check-route i:nth-child(3) { animation-delay: -2.4s; opacity: .35; }.cp-woo-check-timer { position: absolute; right: 36px; bottom: 43px; z-index: 4; padding: 8px 10px; border-left: 2px solid var(--mz-primary); background: #fff; }.cp-woo-check-timer b { font-size: 15px; }.cp-woo-check-timer span { display: block; margin-top: 2px; color: #668080; font-size: 8px; letter-spacing: .08em; }

/* Payments: a transaction is filtered, recorded and safely retained. */
.cp-woo-v3--payments { background: linear-gradient(90deg, #fbfdfd 0 52%, #eef8f8 52%); }.cp-woo-payment-card { position: absolute; z-index: 4; top: 104px; left: 37px; width: 150px; height: 91px; padding: 17px; border: 1px solid var(--mz-primary); background: #fff; }.cp-woo-payment-card span { display: block; color: #5c7878; font-size: 13px; letter-spacing: .12em; }.cp-woo-payment-card b { position: absolute; bottom: 16px; left: 17px; color: #668181; font-size: 8px; letter-spacing: .1em; }.cp-woo-payment-card i { position: absolute; right: 17px; bottom: 15px; width: 24px; height: 9px; border: 1px solid #91c1c1; }
.cp-woo-payment-filter { position: absolute; z-index: 3; top: 133px; left: 42%; display: grid; gap: 5px; width: 82px; }.cp-woo-payment-filter i { display: block; padding: 6px 7px; border-left: 2px solid var(--mz-primary); background: #f4fbfb; color: #5f7d7d; font-size: 8px; font-style: normal; letter-spacing: .07em; animation: cpWooVerify 2.8s ease-in-out infinite; }.cp-woo-payment-filter i:nth-child(2) { animation-delay: -.9s; }.cp-woo-payment-filter i:nth-child(3) { animation-delay: -1.8s; }
.cp-woo-payment-receipt { position: absolute; z-index: 4; top: 118px; right: 35px; width: 120px; padding: 14px 10px; border: 1px solid #a8cece; background: #fff; }.cp-woo-payment-receipt b { display: block; font-size: 11px; }.cp-woo-payment-receipt span { display: block; margin-top: 6px; color: #668080; font-size: 8px; letter-spacing: .07em; }.cp-woo-payment-log { position: absolute; right: 35px; bottom: 51px; left: 37px; padding: 8px 10px; border-top: 1px solid #bddada; color: #638080; font-size: 8px; letter-spacing: .11em; }

/* Operations: store jobs enter a worker pool and complete continuously. */
.cp-woo-stock-list { position: absolute; z-index: 3; top: 78px; left: 35px; display: grid; gap: 7px; width: 130px; }.cp-woo-stock-list i { display: block; padding: 7px 9px; border-left: 2px solid #9ac8c8; background: #fff; color: #5f7c7c; font-size: 8px; font-style: normal; letter-spacing: .08em; animation: cpWooStockIn 3.7s ease-in-out infinite; }.cp-woo-stock-list i:nth-child(2) { animation-delay: -.9s; }.cp-woo-stock-list i:nth-child(3) { animation-delay: -1.8s; }.cp-woo-stock-list i:nth-child(4) { animation-delay: -2.7s; }
.cp-woo-operations { position: absolute; z-index: 5; top: 119px; left: 52%; width: 137px; height: 112px; border: 1px solid var(--mz-primary); background: #fff; text-align: center; }.cp-woo-operations::before { position: absolute; inset: 11px; border: 1px solid #c4dede; content: ''; }.cp-woo-operations b { position: relative; z-index: 2; display: block; margin-top: 30px; font-size: 29px; letter-spacing: -.08em; }.cp-woo-operations span { position: relative; z-index: 2; color: #638080; font-size: 8px; letter-spacing: .1em; }.cp-woo-operations em { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--mz-primary); transform-origin: left; animation: cpWooWorker 2.2s ease-in-out infinite; }
.cp-woo-stock-output { position: absolute; z-index: 3; right: 35px; bottom: 75px; display: flex; gap: 5px; align-items: center; }.cp-woo-stock-output i { display: block; width: 21px; height: 7px; background: #9bcaca; animation: cpWooOut .9s steps(2) infinite; }.cp-woo-stock-output i:nth-child(2) { animation-delay: -.3s; }.cp-woo-stock-output i:nth-child(3) { animation-delay: -.6s; }.cp-woo-stock-output b { margin-left: 5px; color: #5d7c7c; font-size: 8px; letter-spacing: .1em; }.cp-woo-stock-metric { position: absolute; right: 35px; bottom: 41px; z-index: 4; padding: 7px 8px; border: 1px solid #c5dddd; background: rgba(255,255,255,.9); color: #5f7d7d; font-size: 8px; letter-spacing: .08em; }

@keyframes cpWooOrderFeed { 50% { border-left-color: var(--mz-primary); transform: translateX(9px); } }
@keyframes cpWooSorter { 50% { transform: translateY(-7px); } }
@keyframes cpWooCheckoutRoute { 0% { transform: translate(0,0); } 38% { transform: translate(145px,0); } 68% { transform: translate(145px,52px); } 100% { transform: translate(230px,52px); opacity: 0; } }
@keyframes cpWooVerify { 50% { background: #dff1f1; border-left-color: #5aa9a9; } }
@keyframes cpWooStockIn { 50% { border-left-color: var(--mz-primary); transform: translateX(9px); } }
@keyframes cpWooWorker { 0%,100% { transform: scaleX(.18); } 50% { transform: scaleX(1); } }
@keyframes cpWooOut { 50% { background: var(--mz-primary); } }
@media (prefers-reduced-motion: reduce) { .cp-woo-v3 *, .cp-woo-v3::before, .cp-woo-v3::after { animation: none !important; } }
@media (max-width: 768px) { .mz-woo-page .mz-wp-feature-visual[class*="mz-woo-visual--"] { min-height: 244px !important; margin: 14px 14px 0; } .cp-woo-v3-label { top: 16px; } }

@media (max-width: 340px) {
    .mz-woo-plan-top { grid-template-columns: 1fr; }
    .mz-woo-plan-title,
    .mz-woo-spec-item { grid-area: auto !important; }
    .mz-woo-plan-title { order: -1; min-height: 50px; }
}

/* Spacing rhythm: one consistent scale for the complete WooCommerce Hosting page. */
.mz-woo-page {
    --woo-section-space: clamp(72px, 8vw, 104px);
    --woo-content-gap: clamp(28px, 4vw, 48px);
    --woo-item-gap: clamp(18px, 2.4vw, 30px);
}

.mz-woo-page .mz-section { padding-top: var(--woo-section-space); padding-bottom: var(--woo-section-space); }

.mz-woo-page .mz-woo-hero { padding-top: clamp(64px, 7vw, 96px) !important; padding-bottom: var(--woo-section-space) !important; }

.mz-woo-page .mz-section-title { margin-bottom: var(--woo-content-gap); }

.mz-woo-page .mz-woo-pricing-intro,
.mz-woo-page .mz-wp-compare-desc { margin-bottom: var(--woo-content-gap); }

.mz-woo-page .mz-woo-plans-list { gap: var(--woo-item-gap); }

.mz-woo-page .mz-woo-features-list,
.mz-woo-page .mz-wp-features-list { gap: var(--woo-section-space); }

.mz-woo-page .mz-woo-feature-content h3,
.mz-woo-page .mz-wp-feature-content h3 { margin-bottom: 14px; }

.mz-woo-page .mz-woo-feature-content p,
.mz-woo-page .mz-wp-feature-content p { margin-bottom: 22px; }

.mz-woo-page .mz-woo-feature-content ul,
.mz-woo-page .mz-wp-feature-bullets { margin-bottom: 26px; }

.mz-woo-page .mz-woo-info-grid,
.mz-woo-page .mz-woo-seo-grid,
.mz-woo-page .mz-wp-compare-grid { gap: var(--woo-item-gap); }

.mz-woo-page .mz-woo-faq-list,
.mz-woo-page .mz-wp-faq-list { display: grid; gap: 12px; }

@media (max-width: 768px) {
    .mz-woo-page {
        --woo-section-space: 54px;
        --woo-content-gap: 26px;
        --woo-item-gap: 18px;
    }

    .mz-woo-page .mz-woo-hero { padding-top: 32px !important; padding-bottom: 54px !important; }

    .mz-woo-page .mz-woo-feature-content p,
    .mz-woo-page .mz-wp-feature-content p { margin-bottom: 18px; }

    .mz-woo-page .mz-woo-feature-content ul,
    .mz-woo-page .mz-wp-feature-bullets { margin-bottom: 20px; }
}

@media (max-width: 420px) {
    .mz-woo-page {
        --woo-section-space: 46px;
        --woo-content-gap: 22px;
        --woo-item-gap: 16px;
    }
}

/* WooCommerce decision and migration content: semantic, readable, and fully local. */
.mz-woo-store-fit { border-top: 1px solid var(--mz-border-color); border-bottom: 1px solid var(--mz-border-color); }
.mz-woo-store-fit-heading { max-width: 760px; margin-bottom: 42px; }
.mz-woo-kicker { margin: 0 0 10px; color: var(--mz-primary); font-family: var(--mz-font-bold); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mz-woo-store-fit-heading h2,
.mz-woo-migration-copy h2 { margin: 0 0 14px; color: var(--mz-text-dark); font-family: var(--mz-font-bold); font-size: clamp(29px, 3.2vw, 43px); letter-spacing: -.025em; line-height: 1.16; }
.mz-woo-store-fit-heading > p,
.mz-woo-migration-copy > p { max-width: 680px; margin: 0; color: var(--mz-text-light); font-size: 16px; line-height: 1.8; }
.mz-woo-store-fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mz-woo-store-fit-card { min-width: 0; padding: 25px; border: 1px solid var(--mz-border-color); border-radius: 8px; background: rgba(255,255,255,.74); }
.mz-woo-store-fit-number { display: block; margin-bottom: 26px; color: var(--mz-primary); font-family: var(--mz-font-bold); font-size: 13px; letter-spacing: .08em; }
.mz-woo-store-fit-card h3 { margin: 0 0 10px; color: var(--mz-text-dark); font-family: var(--mz-font-bold); font-size: 20px; line-height: 1.3; }
.mz-woo-store-fit-card p { margin: 0; color: var(--mz-text-main); font-size: 14px; line-height: 1.75; }
.mz-woo-store-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 18px 0 0; border: 1px solid var(--mz-border-color); border-radius: 8px; }
.mz-woo-store-facts div { min-width: 0; padding: 18px 20px; border-right: 1px solid var(--mz-border-color); }
.mz-woo-store-facts div:last-child { border-right: 0; }
.mz-woo-store-facts dt { margin-bottom: 5px; color: var(--mz-text-light); font-size: 11px; }
.mz-woo-store-facts dd { margin: 0; color: var(--mz-text-dark); font-family: var(--mz-font-bold); font-size: 14px; overflow-wrap: anywhere; }
.mz-woo-migration-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(42px, 8vw, 104px); align-items: start; }
.mz-woo-migration-copy .mz-btn { display: inline-flex; margin-top: 26px; }
.mz-woo-migration-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: migration; }
.mz-woo-migration-steps li { position: relative; min-height: 92px; padding: 0 0 27px 62px; color: var(--mz-text-main); }
.mz-woo-migration-steps li::before { position: absolute; top: 0; left: 0; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--mz-primary); border-radius: 5px; color: var(--mz-primary); content: counter(migration, decimal-leading-zero); counter-increment: migration; font-family: var(--mz-font-bold); font-size: 11px; }
.mz-woo-migration-steps li:not(:last-child)::after { position: absolute; top: 48px; bottom: 6px; left: 18px; width: 1px; background: var(--mz-border-color); content: ''; }
.mz-woo-migration-steps strong { display: block; margin-bottom: 6px; color: var(--mz-text-dark); font-family: var(--mz-font-bold); font-size: 18px; }
.mz-woo-migration-steps span { display: block; font-size: 14px; line-height: 1.75; }

@media (max-width: 768px) {
    .mz-woo-store-fit-heading { margin-bottom: 28px; }
    .mz-woo-store-fit-grid { grid-template-columns: 1fr; gap: 12px; }
    .mz-woo-store-fit-card { padding: 20px; }
    .mz-woo-store-fit-number { margin-bottom: 16px; }
    .mz-woo-store-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mz-woo-store-facts div:nth-child(2) { border-right: 0; }
    .mz-woo-store-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--mz-border-color); }
    .mz-woo-migration-layout { grid-template-columns: 1fr; gap: 34px; }
}

/* Plan buttons retain their desktop visual treatment on mobile and tablet. */
@media (max-width: 768px) {
    .mz-woo-plan-action .mz-btn-group {
        display: flex;
        width: 100%;
        margin: 15px 0;
        gap: 4px;
        padding: 8px;
        overflow: visible;
        border: 0;
        border-radius: var(--mz-radius-md);
        background: #f1f1f1;
        box-shadow: inset 0 1px 3px rgba(210, 210, 220, .12);
    }

    .mz-woo-plan-action .mz-btn-group .mz-btn {
        height: auto;
        padding: 12px 20px;
        border: 0;
        border-radius: 10px;
        background: transparent;
    }

    .mz-woo-plan-action .mz-btn-group .mz-btn-main {
        justify-content: center;
        padding-left: 20px;
        background: var(--mz-white);
        color: var(--mz-text-dark);
        box-shadow: var(--mz-shadow-sm);
    }

    .mz-woo-plan-action .mz-btn-group .mz-btn-icon-only {
        width: auto;
        padding: 12px 15px;
        border-left: 0;
        color: var(--mz-text-main);
    }
}

/* Tablet (Small) - 768px */
@media (max-width: 768px) {
    .mz-woo-hero {
        padding-top: 40px !important;
        padding-bottom: 70px !important;
    }

    .mz-woo-hero-wrapper {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .mz-woo-hero-image {
        width: 100%;
        max-width: 450px;
    }

    /* Hero Visual - Mobile */
    .mz-woo-hero-floating-tags {
        display: none;
    }

    .mz-woo-hero-float-speed {
        display: none;
    }

    .mz-woo-hero-visual {
        max-width: 350px;
    }

    .mz-woo-hero-content h1 {
        font-size: 1.45rem;
        line-height: 1.6;
    }

    .mz-woo-hero-sub {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .mz-woo-hero-content p {
        font-size: 14px;
        line-height: 1.8;
        text-align: center;
        margin-bottom: 30px;
    }

    .mz-woo-hero-badge {
        margin: 0 auto;
    }

    .mz-woo-hero-btns {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .mz-woo-hero-btns .mz-btn-group {
        width: 100%;
        max-width: 340px;
    }

    /* Hero Features Row - Mobile */
    .mz-woo-hero-features {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 20px;
        margin-top: 20px;
    }

    .mz-woo-hero-feature-item {
        justify-content: center;
    }

    /* Plan Layout Refactor */
    .mz-woo-plan-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        border-bottom: none;
        padding-bottom: 0;
    }

    .mz-woo-plan-specs {
        display: contents;
    }

    .mz-woo-spec-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 10px;
        padding: 15px 0;
    }

    .mz-woo-spec-item:nth-child(1) { grid-area: 1 / 2; }
    .mz-woo-spec-item:nth-child(2) { grid-area: 1 / 1; }
    .mz-woo-spec-item:nth-child(3) { grid-area: 2 / 2; }
    .mz-woo-spec-item:nth-child(4) { grid-area: 2 / 1; }
    .mz-woo-spec-item:nth-child(5) { grid-area: 3 / 2; }
    
    .mz-woo-plan-title {
        grid-area: 3 / 1;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

    .mz-woo-plan-title h3 {
        font-size: 1.25rem !important;
        font-family: var(--mz-font-bold) !important;
    }

    .mz-woo-spec-icon {
        width: 45px;
        height: 45px;
        border: 1px solid var(--mz-border-color);
        border-radius: 12px;
    }

    .mz-woo-spec-info {
        align-items: center;
        text-align: center;
    }

    .mz-woo-plan-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .mz-woo-plan-action {
        width: 100%;
        order: 1;
    }

    /* Pricing Grid 2x2 */
    .mz-woo-plan-prices {
        order: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 25px;
        direction: ltr;
    }

    .mz-woo-price-item:nth-child(4) { grid-area: 1 / 1; }
    .mz-woo-price-item:nth-child(3) { grid-area: 1 / 2; }
    .mz-woo-price-item:nth-child(2) { grid-area: 2 / 1; }
    .mz-woo-price-item:nth-child(1) { grid-area: 2 / 2; }

    .mz-woo-price-item {
        padding: 0 !important;
    }

    .mz-woo-price-now {
        font-size: 0.9rem;
    }

    .mz-woo-price-label {
        font-size: 0.7rem;
    }

    .mz-woo-price-old {
        font-size: 0.7rem;
    }

    /* Features Stacking */
    .mz-woo-feature-item, .mz-woo-feature-item.mz-reverse {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .mz-woo-feature-content h3 {
        font-size: 1.4rem;
    }

    .mz-woo-feature-content ul li {
        text-align: left;
    }

    .mz-woo-info-grid {
        grid-template-columns: 1fr;
    }

    .mz-woo-seo-grid {
        grid-template-columns: 1fr;
    }

    .mz-woo-seo-feat {
        position: static;
    }
}

/* Mobile - 576px */
@media (max-width: 576px) {
    .mz-woo-hero-content h1 {
        font-size: 1.3rem;
    }
    
    .mz-woo-hero-features {
        grid-template-columns: 1fr;
    }
    
    .mz-woo-hero-feature-item {
        justify-content: center;
    }
}

/* Keep the plan call-to-action identical to its desktop form on smaller screens. */
@media (max-width: 1024px) {
    .mz-woo-plan-action {
        width: 260px;
        order: initial;
        align-self: flex-start;
    }
}

/* Compact, vertically aligned plan selection control. */
.mz-woo-plan-bottom { align-items: center; }
.mz-woo-plan-action { display: flex; align-items: center; }
.mz-woo-plan-action .mz-btn-group { height: 50px; margin: 0; }
.mz-woo-plan-action .mz-btn-group .mz-btn { height: 50px; }

/* Plan CTA: a self-contained, overflow-safe two-part control. */
.mz-woo-plan-action {
    display: block;
    flex: 0 1 240px;
    width: min(240px, 100%);
    min-width: 0;
    align-self: center;
}

.mz-woo-plan-action .mz-btn-group {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    height: 50px;
    margin: 0;
    padding: 0;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--mz-border-color);
    border-radius: 8px;
    background: #f1f6f6;
    box-shadow: none;
}

.mz-woo-plan-action .mz-btn-group:has(.mz-btn-icon-only) { flex-direction: initial; }

.mz-woo-plan-action .mz-btn-group .mz-btn {
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    height: 48px;
    min-height: 0;
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    white-space: nowrap;
}

.mz-woo-plan-action .mz-btn-group .mz-btn-icon-only {
    display: grid;
    width: 48px;
    padding: 0;
    place-items: center;
    border-right: 1px solid var(--mz-border-color);
    background: transparent;
    color: var(--mz-primary);
}

.mz-woo-plan-action .mz-btn-group .mz-btn-main {
    display: flex;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    color: var(--mz-text-dark);
    font-size: 13px;
    text-overflow: ellipsis;
}

.mz-woo-plan-action .mz-btn-group .mz-btn-main:hover { background: #fff; color: var(--mz-primary); transform: none; }

@media (max-width: 640px) {
    .mz-woo-plan-bottom { align-items: stretch; }
    .mz-woo-plan-action { flex-basis: 100%; width: 100%; }
}
