/* ============================================================
   Mochello — Base Styles
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

/* ── Container ── */
.mc-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* On wide screens (>1600px) let the container grow to fill 90% of viewport
   so content doesn't look like a small block in a sea of empty space. */
@media (min-width: 1700px) {
    .mc-container {
        max-width: 90vw;
    }
}

/* ── Header ── */
.mc-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--bg-muted);
    transition: box-shadow var(--duration-normal) var(--ease-out);
}
.mc-header.is-scrolled {
    box-shadow: var(--shadow-md);
}
.mc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* ── Logo ── */
.mc-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
}
.mc-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-lg);
}
.mc-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--text-primary);
}
.mc-logo-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

/* ── Navigation ── */
.mc-nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-8);
}
.mc-nav-list a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--text-sm);
    transition: color var(--duration-fast);
    position: relative;
    padding: var(--space-2) 0;
}
.mc-nav-list a:hover {
    color: var(--accent);
}
/* Active state: clean gradient underline + soft glow.
   No dot above. Line sits flush with the text baseline via padding. */
.mc-nav-list li.current-menu-item > a {
    color: var(--accent);
    font-weight: 700;
}
.mc-nav-list li.current-menu-item > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(124, 58, 237, 0.4);
    animation: mc-nav-underline 280ms var(--ease-out) both;
}
.mc-nav-list li.current-menu-item::before { display: none; }

@keyframes mc-nav-underline {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}

/* ── Header Actions ── */
.mc-header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.mc-btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-muted);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.mc-btn-icon:hover {
    background: var(--accent-light);
    color: var(--accent);
}

/* ── Buttons ── */
.mc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--text-sm);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    padding: 11px 24px;
    line-height: 1.2;
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
    white-space: nowrap;
}
.mc-btn-sm { padding: 8px 20px; font-size: var(--text-sm); }
.mc-btn-lg { padding: 14px 32px; font-size: var(--text-base); }

.mc-btn-primary {
    background: var(--gradient-primary);
    color: white;
}
.mc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
    color: white;
}

.mc-btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.mc-btn-outline:hover {
    background: var(--accent-light);
    color: var(--accent);
}
.mc-btn.is-done {
    background: var(--success) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
    transform: none;
}

/* ── Input ── */
.mc-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--bg-muted);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    background: var(--bg-surface);
    color: var(--text-primary);
    transition: border-color var(--duration-fast);
    outline: none;
}
.mc-input:focus {
    border-color: var(--accent);
}

/* ── Hero ── */
.mc-hero {
    background: var(--gradient-hero);
    padding: var(--space-20) 0;
    overflow: hidden;
}
.mc-hero .mc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}
.mc-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
}
.mc-hero-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
}
.mc-hero-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: var(--space-8);
}
.mc-hero-cta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}
.mc-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mc-hero-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--accent-light);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mc-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-2xl);
}
.mc-hero-emoji {
    font-size: 8rem;
}

/* ── Sections ── */
.mc-section {
    padding: var(--space-20) 0;
}
.mc-section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-12);
    color: var(--text-primary);
}

/* ── Values Grid ── */
.mc-values {
    background: var(--bg-surface);
}
.mc-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}
.mc-value-card {
    text-align: center;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background: var(--bg-base);
    transition: transform var(--duration-normal) var(--ease-out);
}
.mc-value-card:hover {
    transform: translateY(-4px);
}
.mc-value-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--space-4);
}
.mc-value-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
}
.mc-value-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* ── Products Grid ── */
.mc-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}
.mc-product-card {
    display: block;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
    color: inherit;
}
.mc-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}
.mc-product-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-muted);
}
.mc-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}
.mc-product-card:hover .mc-product-image img {
    transform: scale(1.05);
}
.mc-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: var(--accent-light);
}
.mc-product-info {
    padding: var(--space-6);
}
.mc-product-info h3 {
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: var(--space-2);
}
.mc-product-info p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}
.mc-product-price {
    font-weight: 700;
    color: var(--accent);
    font-size: var(--text-lg);
}
.mc-products-cta {
    text-align: center;
}

/* ── Testimonials — Infinite Scrolling Carousel ── */
.mc-testimonials {
    background: var(--bg-elevated);
    overflow: hidden;
    padding-bottom: var(--space-10);
}
.mc-testimonial-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.mc-testimonial-track {
    display: flex;
    width: max-content;
    animation: mc-scroll-testimonials 40s linear infinite;
}
.mc-testimonial-carousel:hover .mc-testimonial-track {
    animation-play-state: paused;
}
@keyframes mc-scroll-testimonials {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.mc-testimonial-card {
    flex: 0 0 340px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--pp-radius);
    padding: var(--space-8);
    margin: 0 var(--space-3);
    text-align: left;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.mc-testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.mc-testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-3);
}
.mc-testimonial-stars span {
    color: #f59e0b;
    font-size: 1.125rem;
}
.mc-testimonial-quote {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: var(--space-5);
}
.mc-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.mc-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mc-testimonial-author strong {
    display: block;
    font-size: 0.875rem;
    color: var(--text-primary);
}
.mc-testimonial-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── Newsletter ── */
.mc-newsletter {
    background: var(--bg-elevated);
}
.mc-newsletter-card {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: var(--space-10) var(--space-8);
}
.mc-newsletter-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--space-4);
}
.mc-newsletter-card h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin: 0 0 var(--space-3);
    line-height: 1.25;
}
.mc-newsletter-card > p {
    color: var(--text-secondary);
    margin: 0 0 var(--space-6);
    line-height: 1.6;
}
.mc-newsletter-card > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}
.mc-newsletter-note {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-3);
}

/* ── Footer ── */
.mc-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--bg-muted);
    padding: var(--space-16) 0 var(--space-8);
}
.mc-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}
.mc-footer-tagline {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-top: var(--space-3);
    max-width: 280px;
}
.mc-footer-heading {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}
.mc-footer-col ul {
    list-style: none;
}
.mc-footer-col li {
    margin-bottom: var(--space-2);
}
.mc-footer-col a {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}
.mc-footer-col a:hover {
    color: var(--accent);
}
.mc-footer-text {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
}
.mc-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--bg-muted);
    font-size: var(--text-xs);
    color: var(--text-muted);
}
.mc-footer-bottom-links {
    display: flex;
    gap: var(--space-6);
}
.mc-footer-bottom-links a {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

/* ── Page Content ── */
.mc-page-content {
    padding: var(--space-16) 0 var(--space-12);
}

/* Global heading rhythm — consistent top/bottom margins */
.mc-page-content h1,
.mc-woo-wrap h1 {
    margin: 0 0 var(--space-6);
    line-height: 1.2;
}
.mc-page-content h2,
.mc-woo-wrap h2 {
    margin: var(--space-10) 0 var(--space-4);
    line-height: 1.25;
}
.mc-page-content h3,
.mc-woo-wrap h3 {
    margin: var(--space-6) 0 var(--space-3);
    line-height: 1.3;
}
.mc-page-content p,
.mc-woo-wrap p {
    margin: 0 0 var(--space-4);
    line-height: 1.7;
}
.mc-page-content p:first-child,
.mc-woo-wrap p:first-child { margin-top: 0; }
.mc-page-content p:last-child,
.mc-woo-wrap p:last-child { margin-bottom: 0; }
.mc-article-header { margin-bottom: var(--space-8); }
.mc-article-title { padding-top: 0; }
.mc-article-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin: var(--space-10) 0 var(--space-8);
    line-height: 1.2;
}

/* Hide duplicate page title when WC endpoint content provides its own h1 */
.page-my-account .mc-article-title,
.page-id-8 .mc-article-title,
body[class*="my-account"] .mc-article-title {
    display: none;
}
.mc-article-body {
    font-size: var(--text-base);
    line-height: 1.8;
    max-width: 720px;
}
.mc-article-body h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin: var(--space-10) 0 var(--space-4);
}
.mc-article-body p {
    margin-bottom: var(--space-4);
}

/* ── 404 Page ── */
.mc-error-hero {
    background: var(--gradient-hero);
    padding: var(--space-20) 0;
    text-align: center;
}
.mc-error-emoji {
    font-size: 5rem;
    display: block;
    margin: 0 auto var(--space-4);
    text-align: center;
}
.mc-error-emoji img,
.mc-404-image {
    display: block;
    margin: 0 auto;
    max-width: 240px;
    height: auto;
}
.mc-error-title {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-4);
}
.mc-error-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
}
.mc-error-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   Order Now — Landing Page Styles
   ══════════════════════════════════════════════════════════════ */

/* ── Order Hero ── */
/* Hide WooCommerce default "View cart" notice on Order Now page */
.page-template-page-order-now .woocommerce-message,
body.order-now .woocommerce-message {
    display: none !important;
}

/* Hide WC's default injected "View cart" link globally — we use custom toast + styled buttons */
a.added_to_cart.wc-forward {
    display: none !important;
}

.mc-order-hero {
    background: var(--gradient-hero);
    padding: var(--space-20) 0 var(--space-16);
    text-align: center;
}
.mc-order-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}
.mc-order-hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--accent-2-light);
    color: var(--accent-2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
}
.mc-order-hero-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
}
.mc-text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mc-order-hero-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto var(--space-8);
}
.mc-order-hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ── Trust Strip ── */
.mc-trust-strip {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--bg-muted);
    padding: var(--space-5) 0;
}
.mc-trust-items {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
    flex-wrap: wrap;
}
.mc-trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
}
.mc-trust-icon {
    font-size: var(--text-lg);
}

/* ── Order Products: Large Alternating Rows ── */
.mc-order-products {
    background: var(--bg-base);
}
.mc-order-product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    padding: var(--space-12) 0;
    border-bottom: 1px solid var(--bg-muted);
}
.mc-order-product-row:last-child {
    border-bottom: none;
}
.mc-order-reverse {
    direction: rtl;
}
.mc-order-reverse > * {
    direction: ltr;
}
.mc-order-product-image-wrap {
    aspect-ratio: 1;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--bg-muted);
    box-shadow: var(--shadow-lg);
}
.mc-order-product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mc-order-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    background: var(--accent-light);
    border-radius: var(--radius-2xl);
}
.mc-order-product-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}
.mc-order-product-name {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}
.mc-order-product-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}
.mc-order-product-meta {
    display: flex;
    align-items: baseline;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}
.mc-order-product-price {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--accent);
}
.mc-order-product-shipping {
    font-size: var(--text-sm);
    color: var(--success);
    font-weight: 500;
}
.mc-order-product-actions {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
    align-items: center;
}
.mc-add-cart-btn {
    transition: background 0.3s ease, transform 0.15s ease, min-width 0.3s ease;
    min-width: 170px;
    text-align: center;
}
.mc-add-cart-btn.mc-btn-added {
    background: var(--success, #22c55e) !important;
    border-color: var(--success, #22c55e) !important;
    pointer-events: none;
}
.mc-view-cart-btn {
    animation: mc-fadeSlideIn 0.25s ease forwards;
}
@keyframes mc-fadeSlideIn {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
}
.mc-order-product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.mc-order-product-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}
.mc-order-product-features li span {
    color: var(--success);
    font-weight: 700;
}

/* ── Why Section ── */
.mc-order-why {
    background: var(--bg-surface);
}
.mc-order-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}
.mc-order-why-card {
    text-align: center;
    padding: var(--space-8) var(--space-6);
    border-radius: var(--radius-xl);
    background: var(--bg-base);
    transition: transform var(--duration-normal) var(--ease-out);
}
.mc-order-why-card:hover {
    transform: translateY(-4px);
}
.mc-order-why-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}
.mc-order-why-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}
.mc-order-why-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Guarantee Section ── */
.mc-order-guarantee {
    background: var(--gradient-primary);
    padding: var(--space-16) 0;
}
.mc-order-guarantee-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.mc-order-guarantee h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-4);
}
.mc-order-guarantee > .mc-container > .mc-order-guarantee-inner > p {
    color: rgba(255,255,255,0.85);
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
}
.mc-order-guarantee-cta {
    margin-bottom: var(--space-8);
}
.mc-order-guarantee-cta .mc-btn-primary {
    background: white;
    color: var(--accent);
}
.mc-order-guarantee-cta .mc-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.mc-order-guarantee-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
    color: rgba(255,255,255,0.8);
    font-size: var(--text-sm);
    font-weight: 500;
}

/* ── Cart Button ── */
.mc-cart-btn {
    position: relative;
    color: var(--text-primary);
}
.mc-cart-btn svg {
    display: block;
}
.mc-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    background: var(--accent-2);
    color: white;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    padding: 0 4px;
}

/* ── Footer Subscribe Form ── */
.mc-subscribe-form-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.mc-subscribe-form-stack .mc-input {
    padding: 10px 14px;
}

/* Base form (used in footer when no inline/stack modifier is present) */
.mc-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    width: 100%;
}
.mc-subscribe-form .mc-input {
    padding: 12px 18px;
    background: var(--bg-base);
    border-color: var(--bg-muted);
}
.mc-subscribe-form .mc-btn {
    align-self: flex-start;
    width: auto;
    padding: 11px 26px;
    margin-top: var(--space-1);
}

/* Inline form (newsletter sections). Defined AFTER .mc-subscribe-form so
   its `flex-direction: row` wins over the base rule's column default. */
.mc-subscribe-form-inline {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-3);
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
}
.mc-subscribe-form-inline .mc-input {
    flex: 1;
    min-width: 0;
}
.mc-subscribe-form-inline .mc-btn {
    flex-shrink: 0;
    padding: 12px 28px;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   WooCommerce — Page Styles
   ══════════════════════════════════════════════════════════════ */

.mc-woo-wrap {
    padding: var(--space-10) 0 var(--space-16);
}

/* Breadcrumb */
.woocommerce-breadcrumb {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-8);
}
.woocommerce-breadcrumb a {
    color: var(--text-secondary);
}

/* Result count & ordering */
.woocommerce-result-count {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}
.woocommerce-ordering select {
    padding: 8px 12px;
    border: 2px solid var(--bg-muted);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    background: var(--bg-surface);
    color: var(--text-primary);
}

/* Products grid — explicit 3 columns, predictable gap */
.woocommerce ul.products {
    display: block !important;
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-12) !important;
    /* Clearfix */
    overflow: hidden;
}
.woocommerce ul.products::after {
    content: "";
    display: table;
    clear: both;
}
.woocommerce ul.products li.product {
    box-sizing: border-box !important;
    width: calc((100% - var(--space-8) * 2) / 3) !important;
    margin: 0 var(--space-8) var(--space-8) 0 !important;
    padding: 0 !important;
    float: left !important;
    clear: none !important;
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out);
    display: flex !important;
    flex-direction: column !important;
}
.woocommerce ul.products li.product:nth-child(3n) {
    margin-right: 0 !important;
}
.woocommerce ul.products li.product:nth-child(3n+1) {
    clear: left !important;
}
/* Reset WooCommerce's float/clear rules that confuse the layout */
.woocommerce ul.products li.first,
.woocommerce ul.products li.last {
    clear: none !important;
    float: left !important;
    margin-right: var(--space-8) !important;
}
.woocommerce ul.products li.product {
    /* Visual styles only — layout is set by the .woocommerce ul.products rule above */
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out);
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(124, 58, 237, 0.25);
}

/* Image wrap with hover zoom */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
    margin: 0 !important;
    width: 100% !important;
    aspect-ratio: 4 / 3;
    object-fit: cover !important;
    display: block;
    transition: transform 0.5s var(--ease-out);
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__link img {
    transform: scale(1.06);
}

/* Image overlay on hover */
.woocommerce ul.products li.product .woocommerce-loop-product__link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 10, 26, 0.45) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
    pointer-events: none;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__link::after {
    opacity: 1;
}

/* "View details" floating chip on hover */
.woocommerce ul.products li.product .woocommerce-loop-product__link::before {
    content: 'View details';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(8px);
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out);
    pointer-events: none;
    z-index: 2;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__link::before {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

/* Sale badge (replaces WC default) */
.woocommerce span.onsale {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 800;
    padding: 6px 18px;
    line-height: 1.5;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.5);
    min-height: auto;
    min-width: auto;
}
.woocommerce span.onsale ~ .mc-discount-badge,
.mc-discount-badge.has-sale-above {
    top: 50px;
}
.mc-discount-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 800;
    padding: 6px 16px;
    line-height: 1.5;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 12px rgba(244, 63, 94, 0.5);
    min-height: auto;
    min-width: auto;
}
.mc-hot-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 800;
    padding: 6px 16px;
    line-height: 1.5;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.5);
}
.woocommerce ul.products li.product a img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
    border-radius: 0;
}

/* Category pills */
.woocommerce ul.products li.product .mc-product-categories {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-2);
}
.woocommerce ul.products li.product .mc-product-categories a {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-light);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-decoration: none;
    line-height: 1.6;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: background var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out);
}
.woocommerce ul.products li.product .mc-product-categories a:hover {
    background: var(--accent);
    color: #fff;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.4;
    color: var(--text-primary);
    padding: 0 !important;
    margin: 0 0 var(--space-2) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--duration-fast) var(--ease-out);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
    color: inherit;
    text-decoration: none;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--accent);
}

/* Star rating */
.woocommerce ul.products li.product .star-rating {
    margin: 0 0 var(--space-1) !important;
    color: var(--text-muted);
    font-size: 0.8125rem;
}
.woocommerce .star-rating span::before {
    color: #f59e0b;
}
.woocommerce ul.products li.product .mc-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: var(--space-2);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Price */
.woocommerce ul.products li.product .price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 0;
    margin: 0 0 var(--space-3) !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    color: var(--accent);
    line-height: 1.2;
}
.woocommerce ul.products li.product .price del {
    color: var(--text-muted) !important;
    font-weight: 400 !important;
    font-size: 0.875rem !important;
    opacity: 0.7;
}
.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: var(--accent) !important;
    font-weight: 800;
}

/* WooCommerce block cart cross-sells / new in store "Add to cart" buttons */
.wc-block-grid__product-add-to-cart {
    margin: var(--space-3) 0;
}
.wc-block-grid__product-add-to-cart .wp-block-button__link.add_to_cart_button,
.wc-block-grid__product-add-to-cart a.add_to_cart_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    padding: 9px 20px !important;
    background: var(--accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8125rem;
    line-height: 1;
    text-decoration: none;
    transition: background var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-normal);
}
.wc-block-grid__product-add-to-cart .wp-block-button__link.add_to_cart_button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
    color: #fff !important;
}

/* WC block product card layout fix */
.wc-block-grid__product {
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    padding: var(--space-4) !important;
    text-align: center;
    transition: transform var(--duration-normal), box-shadow var(--duration-normal);
}
.wc-block-grid__product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.wc-block-grid__product .wc-block-grid__product-title {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--space-3) 0 var(--space-2);
}
.wc-block-grid__product .wc-block-grid__product-price {
    color: var(--accent);
    font-weight: 700;
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
}

/* Add to cart button */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    margin: 0 !important;
    padding: 9px 18px !important;
    background: var(--accent) !important;
    color: #fff !important;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8125rem;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    text-transform: none;
    transition: background var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}
.woocommerce ul.products li.product a.button::before,
.woocommerce ul.products li.product a.add_to_cart_button::before {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.875rem;
    line-height: 1;
    font-weight: 700;
}
.woocommerce ul.products li.product a.add_to_cart_button:hover,
.woocommerce ul.products li.product a.button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
    color: #fff !important;
}
.woocommerce ul.products li.product a.add_to_cart_button.loading {
    opacity: 0.7;
    pointer-events: none;
}
.woocommerce ul.products li.product a.add_to_cart_button.added {
    background: #10b981 !important;
}
.woocommerce ul.products li.product a.add_to_cart_button.added::before {
    content: '✓';
    background: rgba(255, 255, 255, 0.25);
}

/* Pagination */
.woocommerce-pagination {
    text-align: center;
    margin-top: var(--space-8);
}
.woocommerce-pagination ul.page-numbers {
    display: inline-flex;
    gap: var(--space-2);
    list-style: none;
    padding: 0;
}
.woocommerce-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-muted);
    text-decoration: none;
    transition: all var(--duration-fast);
}
.woocommerce-pagination .page-numbers.current,
.woocommerce-pagination .page-numbers:hover {
    background: var(--accent);
    color: white;
}

/* WooCommerce Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    font-size: var(--text-sm);
    border-top: none;
}
.woocommerce-message {
    background: #ecfdf5;
    color: #065f46;
    border-left: 4px solid var(--success);
}
.woocommerce-info {
    background: var(--accent-light);
    color: var(--accent);
    border-left: 4px solid var(--accent);
}
.woocommerce-error {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid var(--error);
}
.woocommerce-message a,
.woocommerce-info a {
    font-weight: 600;
}

/* Cart table — polished RI-style */
.woocommerce-cart-form {
    margin-bottom: var(--space-8);
}
.woocommerce table.shop_table {
    width: 100%;
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border-collapse: separate;
    font-size: var(--text-sm);
}
.woocommerce table.shop_table th {
    background: var(--bg-muted);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--bg-muted);
    text-align: left;
}
.woocommerce table.shop_table td {
    border-bottom: 1px solid var(--bg-muted);
    padding: 1rem;
    vertical-align: middle;
    color: var(--text-primary);
}
.woocommerce table.shop_table tr:last-child td {
    border-bottom: none;
}
.woocommerce table.shop_table tr:hover td {
    background: var(--bg-muted);
}
.woocommerce table.shop_table .product-thumbnail img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-muted);
}
.woocommerce table.shop_table .product-name a {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
}
.woocommerce table.shop_table .product-name a:hover {
    color: var(--accent);
}
.woocommerce table.shop_table .product-quantity input,
.woocommerce table.shop_table .quantity .qty {
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-md);
    padding: 0.375rem;
    font-size: var(--text-sm);
    width: 3.5rem;
    text-align: center;
    background: var(--bg-base);
    font-family: var(--font-body);
}
.woocommerce table.shop_table .remove {
    color: var(--text-secondary) !important;
    font-size: 1.25rem;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.2s;
}
.woocommerce table.shop_table .remove:hover {
    color: var(--error) !important;
    background: none;
}
/* Cart totals section */
.woocommerce .cart-collaterals .cart_totals {
    background: var(--bg-muted);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}
.woocommerce .cart_totals h2 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}
.woocommerce .cart_totals table.shop_table_responsive {
    border: none;
}
.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    padding-top: 1rem;
    border-top: 2px solid var(--bg-muted);
}
.woocommerce .cart_totals .order-total .amount {
    font-size: var(--text-xl);
    color: var(--accent);
}

/* Checkout — RI-style card sections */
.woocommerce-checkout .form-row {
    margin-bottom: 1rem;
}
.woocommerce-checkout .form-row label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.375rem;
    display: block;
}
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .input-text,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout select {
    width: 100%;
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-md);
    padding: 0.625rem 0.875rem;
    font-size: var(--text-sm);
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-base);
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .input-text:focus,
.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout select:focus {
    outline: none;
    border-color: var(--accent);
}
.woocommerce-checkout ::placeholder {
    color: var(--text-secondary);
}
/* Checkout order review table */
.woocommerce-checkout #order_review_heading {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table {
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th {
    background: var(--bg-muted);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bg-muted);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bg-muted);
    font-size: var(--text-sm);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr:last-child td {
    border-bottom: none;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
    border-top: 2px solid var(--bg-muted);
    font-weight: 700;
    font-size: var(--text-base);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .amount {
    color: var(--accent);
    font-size: var(--text-lg);
}
/* Compact product items in order review */
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item td {
    padding: 0.5rem 0.75rem;
    font-size: var(--text-xs);
    line-height: 1.3;
    vertical-align: middle;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .product-name {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-thumbnail img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}
/* Payment methods */
.woocommerce-checkout #payment {
    background: var(--bg-muted);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid var(--bg-muted);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    list-style: none;
}
.woocommerce-checkout #payment ul.payment_methods li {
    margin-bottom: 0.5rem;
}
.woocommerce-checkout #payment .place-order {
    padding: 0;
}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-checkbox-text {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}
#place_order,
.woocommerce-checkout #payment button#place_order {
    width: 100%;
    padding: 0.9375rem;
    background: var(--accent) !important;
    color: white !important;
    font-size: var(--text-base);
    font-weight: 700;
    border-radius: var(--radius-lg) !important;
    border: none !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}
#place_order:hover,
.woocommerce-checkout #payment button#place_order:hover {
    background: var(--accent-hover, var(--accent)) !important;
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: none;
}

/* Single product — override WC's default 2-col grid; theme uses
   .mc-single-product-layout for the gallery/summary grid. */
.single-product .product {
    display: block;
}
.single-product .woocommerce-product-gallery {
    border-radius: var(--radius-2xl);
    overflow: hidden;
}
.single-product .summary .product_title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}
.single-product .summary .price {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-6);
}
.single-product .summary .single_add_to_cart_button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 14px 40px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-base);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}
.single-product .summary .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}
.single-product .quantity input.qty {
    width: 60px;
    padding: 10px;
    border: 2px solid var(--bg-muted);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: var(--text-base);
}

/* My Account */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
    border-bottom: 2px solid var(--bg-muted);
    padding-bottom: var(--space-4);
}
.woocommerce-MyAccount-navigation ul li a {
    font-weight: 500;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast);
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--accent-light);
    color: var(--accent);
}

/* ── Account Button (header) ── */
.mc-account-btn {
    color: var(--text-primary);
}
.mc-account-btn svg { display: block; }

/* ── Shop Header ── */
.mc-shop-header {
    text-align: center;
    padding: var(--space-12) 0 var(--space-10);
    position: relative;
    overflow: hidden;
}
.mc-shop-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}
.mc-shop-header > * { position: relative; z-index: 1; }
.mc-shop-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
}
.mc-shop-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.mc-shop-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ── Category Tabs ── */
.mc-cat-tabs {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-8);
}
.mc-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-muted);
    text-decoration: none;
    transition: all var(--duration-fast);
}
.mc-cat-tab:hover {
    background: var(--accent-light);
    color: var(--accent);
}
.mc-cat-tab.active {
    background: var(--accent);
    color: white;
}
.mc-cat-emoji { font-size: var(--text-base); }
.mc-cat-count {
    font-size: var(--text-xs);
    opacity: 0.7;
}

/* ── Shop Toolbar ── */
.mc-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    padding: var(--space-3) var(--space-5);
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-full);
}
.mc-result-count {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-weight: 500;
}
.mc-ordering {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.mc-ordering::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
.mc-ordering select,
.woocommerce-ordering select,
.woocommerce .mc-ordering select,
form.woocommerce-ordering select.orderby {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 8px 36px 8px 16px;
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    background: var(--bg-base);
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1.4;
    transition: border-color var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-fast) var(--ease-out);
}
.mc-ordering select:hover,
form.woocommerce-ordering select.orderby:hover {
    border-color: var(--accent);
}
.mc-ordering select:focus,
form.woocommerce-ordering select.orderby:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

/* ── Product Card Body ── */
.mc-product-card-body {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    min-height: 0;
}
.mc-product-categories {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-bottom: 0;
}
.mc-product-categories a {
    color: var(--text-muted);
    font-weight: 500;
}
.mc-product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: 0;
    font-size: var(--text-xs);
    color: var(--text-secondary);
}
.mc-rating-count { color: var(--text-muted); }
.mc-product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--bg-muted);
    gap: var(--space-4);
}

/* ══════════════════════════════════════════════════════════════
   WooCommerce — Layout Styles (Cart, Checkout, My Account)
   ══════════════════════════════════════════════════════════════ */

/* ── Woo Banner (shared across pages) ── */
.mc-woo-banner {
    text-align: center;
    margin: var(--space-12) auto var(--space-8);
    max-width: 720px;
    padding: 0 var(--space-4);
}
.mc-woo-banner-label {
    display: inline-block;
    padding: 4px 14px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-3);
}
.mc-woo-banner-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}
.mc-woo-banner-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
}

/* ── Cart Layout (2-col) ── */
.mc-cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-8);
    align-items: start;
}
.mc-cart-totals-wrapper {
    position: sticky;
    top: 80px;
}
.mc-cart-totals-wrapper .cart_totals {
    background: var(--bg-muted) !important;
    border: 1px solid var(--bg-muted) !important;
    border-radius: var(--radius-xl) !important;
    padding: var(--space-6) !important;
}
.mc-cart-totals-wrapper .cart_totals h2 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}
.woocommerce .wc-proceed-to-checkout {
    margin-top: 1rem;
}
.woocommerce .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    padding: 0.875rem !important;
    background: var(--accent) !important;
    color: white !important;
    font-size: var(--text-sm) !important;
    font-weight: 700 !important;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-lg) !important;
    border: none !important;
    margin-bottom: 0 !important;
    transition: background 0.2s ease, transform 0.2s ease;
}
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: white;
}
/* Coupon section */
.woocommerce .coupon {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}
.woocommerce .coupon .input-text,
.woocommerce .coupon input[type="text"] {
    flex: 1;
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font-size: var(--text-sm);
    background: var(--bg-base);
    color: var(--text-primary);
}
.woocommerce .coupon .button {
    background: var(--bg-muted) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--bg-muted) !important;
    border-radius: var(--radius-md) !important;
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s;
}
.woocommerce .coupon .button:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

/* ── Checkout Layout (2-col) ── */
.mc-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-8);
    align-items: start;
}
.mc-checkout-section {
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
}
.mc-checkout-section-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--bg-muted);
}
.mc-checkout-review-wrapper {
    position: sticky;
    top: 80px;
}
.mc-checkout-review-wrapper .mc-order-review {
    background: var(--bg-muted);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

/* ── My Account Layout (full width, escape .mc-container & .mc-article-body) ── */
.mc-container:has(.mc-myaccount-page),
.mc-woo-wrap .mc-container:has(.mc-myaccount-page) {
    max-width: 100%;
    padding: 0 var(--space-4);
}
.mc-article-body:has(.mc-myaccount-page) {
    max-width: none;
}
.mc-myaccount-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Profile Hero */
.mc-myaccount-hero {
    position: relative;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-2xl);
    padding: var(--space-10) var(--space-10);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.mc-myaccount-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 10%, var(--accent-light) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.mc-myaccount-hero-content {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-8);
    align-items: center;
}
.mc-myaccount-avatar {
    position: relative;
}
.mc-myaccount-avatar img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 5px solid var(--bg-surface);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.25);
    display: block;
}
.mc-myaccount-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: #10b981;
    border: 4px solid var(--bg-surface);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}
.mc-myaccount-hero-info {
    min-width: 0;
}
.mc-myaccount-pill {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
}
.mc-myaccount-name {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 6px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.mc-myaccount-email {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin: 0 0 4px;
}
.mc-myaccount-since {
    color: var(--text-muted);
    font-size: var(--text-xs);
    margin: 0;
    font-weight: 500;
}
.mc-myaccount-stats {
    display: flex;
    gap: var(--space-4);
}
.mc-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: var(--space-5) var(--space-6);
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-lg);
    min-width: 130px;
    transition: transform var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out);
}
.mc-stat-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.mc-stat-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.mc-stat-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Layout: sidebar + content */
.mc-myaccount-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-8);
    align-items: start;
}

.mc-myaccount-sidebar {
    position: sticky;
    top: 100px;
}
.mc-myaccount-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-2xl);
    padding: var(--space-3);
    box-shadow: var(--shadow-sm);
}
.mc-myaccount-nav .woocommerce-MyAccount-navigation { display: none; }
.mc-myaccount-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 12px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: background var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out);
    position: relative;
    line-height: 1.2;
}
.mc-myaccount-nav-item:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}
.mc-myaccount-nav-item.is-active {
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
}
.mc-myaccount-nav-item.is-active::before {
    content: "";
    position: absolute;
    left: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--accent);
    border-radius: 2px;
}
.mc-myaccount-nav-icon {
    flex-shrink: 0;
    color: currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: color var(--duration-fast);
}
.mc-myaccount-nav-item.is-active .mc-myaccount-nav-icon,
.mc-myaccount-nav-item:hover .mc-myaccount-nav-icon {
    color: var(--accent);
}
.mc-myaccount-nav-item.is-active .mc-myaccount-nav-icon .mc-icon {
    stroke-width: 2.2;
}

.mc-myaccount-content {
    background: var(--bg-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    border: 1px solid var(--bg-muted);
    min-height: 500px;
    box-shadow: var(--shadow-sm);
}
.mc-myaccount-content h2,
.mc-myaccount-content h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0;
}

/* Dashboard welcome */
.mc-dashboard-welcome {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--bg-muted);
}
.mc-dashboard-h {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-2);
}
.mc-dashboard-sub {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    max-width: 60ch;
}

/* Recent orders section on dashboard */
.mc-dashboard-section {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--bg-muted);
}
.mc-dashboard-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--space-4);
}
.mc-dashboard-section-head h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}
.mc-dashboard-section-link {
    color: var(--accent);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 600;
}
.mc-dashboard-section-link:hover { text-decoration: underline; }
.mc-dashboard-orders {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.mc-dashboard-order {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-4) var(--space-5);
    background: var(--bg-base);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--duration-fast), transform var(--duration-fast);
}
.mc-dashboard-order:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}
.mc-dashboard-order-id {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mc-dashboard-order-num {
    font-weight: 700;
    color: var(--text-primary);
    font-size: var(--text-sm);
}
.mc-dashboard-order-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
}
.mc-status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mc-status-completed { background: rgba(16, 185, 129, 0.12); color: #059669; }
.mc-status-processing { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.mc-status-on-hold { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.mc-status-pending { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.mc-status-cancelled { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
.mc-status-refunded { background: rgba(107, 114, 128, 0.12); color: #6b7280; }
.mc-status-failed { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
.mc-dashboard-order-total {
    font-weight: 700;
    color: var(--text-primary);
    font-size: var(--text-sm);
}

/* Dashboard quick action cards */
.mc-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}
.mc-dashboard-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-8);
    background: var(--bg-base);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: inherit;
    transition: transform var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
    gap: var(--space-4);
    min-height: 200px;
}
.mc-dashboard-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}
.mc-dashboard-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2);
    flex-shrink: 0;
    transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.mc-dashboard-card-icon .mc-icon {
    stroke-width: 2;
}
.mc-dashboard-card:hover .mc-dashboard-card-icon {
    background: var(--accent);
    color: #fff;
}
.mc-dashboard-card:hover .mc-dashboard-card-icon .mc-icon {
    stroke: #fff;
}
.mc-dashboard-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.mc-dashboard-card p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}
.mc-dashboard-card-cta {
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-top: var(--space-2);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.mc-dashboard-card-logout .mc-dashboard-card-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.mc-dashboard-card-logout:hover .mc-dashboard-card-icon { background: #ef4444; color: #fff; }
.mc-dashboard-card-logout .mc-dashboard-card-cta { color: #ef4444; }

/* Orders table */
.mc-myaccount-content table.shop_table {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--bg-muted);
}
.mc-myaccount-content table.shop_table th {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mc-myaccount-content .mc-myaccount-content > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

/* Address cards */
.mc-myaccount-content .addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}
.mc-myaccount-content .addresses .address {
    background: var(--bg-base);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    transition: border-color var(--duration-fast);
}
.mc-myaccount-content .addresses .address:hover { border-color: var(--accent); }
.mc-myaccount-content .address header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--bg-muted);
}
.mc-myaccount-content .address header h3 {
    margin: 0;
    font-size: 1rem;
}
.mc-myaccount-content .address header a {
    font-size: var(--text-sm);
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.mc-myaccount-content .address header a:hover { text-decoration: underline; }

/* Edit account / address form — use !important to beat WC defaults */
.mc-myaccount-content form .form-row,
.mc-myaccount-content form .woocommerce-form-row {
    margin: 0 0 var(--space-5) !important;
    padding: 0 !important;
    display: block !important;
}
.mc-myaccount-content form .form-row::after,
.mc-myaccount-content form .woocommerce-form-row::after { content: none !important; }
.mc-myaccount-content form .clear { display: none !important; }

.mc-myaccount-content form label,
.mc-myaccount-content form .form-row label {
    display: block !important;
    font-size: var(--text-sm) !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin: 0 0 8px !important;
    line-height: 1.4 !important;
}
.mc-myaccount-content form label .required {
    color: #ef4444 !important;
    margin-left: 2px !important;
    font-weight: 700 !important;
}

.mc-myaccount-content form input[type="text"],
.mc-myaccount-content form input[type="email"],
.mc-myaccount-content form input[type="tel"],
.mc-myaccount-content form input[type="password"],
.mc-myaccount-content form input[type="url"],
.mc-myaccount-content form input[type="number"],
.mc-myaccount-content form select,
.mc-myaccount-content form .woocommerce-Input,
.mc-myaccount-content form .input-text {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    border: 2px solid var(--bg-muted) !important;
    border-radius: var(--radius-md) !important;
    font-family: var(--font-body) !important;
    font-size: var(--text-sm) !important;
    line-height: 1.4 !important;
    background: var(--bg-base) !important;
    color: var(--text-primary) !important;
    outline: none !important;
    transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.mc-myaccount-content form input:focus,
.mc-myaccount-content form select:focus,
.mc-myaccount-content form .woocommerce-Input:focus,
.mc-myaccount-content form .input-text:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px var(--accent-light) !important;
}
.mc-myaccount-content form .password-input { display: block !important; width: 100% !important; position: relative !important; }
.mc-myaccount-content form .password-input input { padding-right: 48px !important; }
.mc-myaccount-content form .show-password-input {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: var(--bg-elevated) !important;
    border: 1px solid var(--bg-muted) !important;
    color: var(--text-secondary) !important;
    cursor: pointer !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: var(--radius-md) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background var(--duration-fast), color var(--duration-fast) !important;
}
.mc-myaccount-content form .show-password-input:hover {
    background: var(--accent-light) !important;
    color: var(--accent) !important;
    border-color: var(--accent) !important;
}

.mc-myaccount-content form .button {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    padding: 14px 36px !important;
    font-weight: 600 !important;
    font-size: var(--text-sm) !important;
    cursor: pointer;
    margin-top: var(--space-3);
    transition: transform var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}
.mc-myaccount-content form .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

/* Form description text (e.g. "This will be how your name will be displayed") */
.mc-myaccount-content form .form-row em,
.mc-myaccount-content form [id$="_description"] {
    display: block;
    margin: 8px 0 0;
    padding: 0;
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-style: normal;
    line-height: 1.5;
}

.mc-myaccount-content fieldset {
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin: 0 0 var(--space-6);
    background: var(--bg-base);
}
.mc-myaccount-content fieldset legend {
    font-weight: 700;
    color: var(--text-primary);
    padding: 0 var(--space-3);
    font-size: var(--text-sm);
    background: var(--bg-surface);
    border-radius: var(--radius-md);
}
.mc-myaccount-content fieldset .form-row:last-child { margin-bottom: 0; }

/* Two-column form row (first/last name) */
.mc-myaccount-content form .form-row-first { display: inline-block; width: calc(50% - 8px); margin-right: 16px; }
.mc-myaccount-content form .form-row-last  { display: inline-block; width: calc(50% - 8px); }
@media (max-width: 640px) {
    .mc-myaccount-content form .form-row-first,
    .mc-myaccount-content form .form-row-last { display: block; width: 100%; margin-right: 0; }
}

/* Wider form rows (display name, email, password) */
.mc-myaccount-content form .form-row-wide { display: block; width: 100%; clear: both; }

/* ── Orders table inside my account ────────────────────── */
.mc-myaccount-content .woocommerce-orders-table {
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.mc-myaccount-content .woocommerce-orders-table th {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: var(--space-4) var(--space-5);
}
.mc-myaccount-content .woocommerce-orders-table td {
    padding: var(--space-4) var(--space-5);
    border-color: var(--bg-muted);
}

/* Empty state cards (orders, downloads, addresses, etc.)
   NOTE: :not(table) prevents this from matching the orders list table
   (which also carries the .woocommerce-MyAccount-orders class). */
.mc-myaccount-content .woocommerce-info,
.mc-myaccount-content .woocommerce-message,
.mc-myaccount-content .woocommerce-noreviews,
.mc-myaccount-content .woocommerce-info-wrapper .woocommerce-info,
.mc-myaccount-content .woocommerce-MyAccount-downloads:not(table),
.mc-myaccount-content .woocommerce-MyAccount-orders:not(table),
.mc-myaccount-content .woocommerce-MyAccount-orders.subscriptions {
    background: var(--bg-base) !important;
    border: 1px solid var(--bg-muted) !important;
    border-left: 4px solid var(--accent) !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--space-6) var(--space-8) !important;
    color: var(--text-secondary) !important;
    line-height: 1.6 !important;
    margin: 0 0 var(--space-6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: var(--space-4) !important;
    font-size: var(--text-sm) !important;
}
/* Hide the WC default icon pseudo-elements that overlap text
   :not(table) avoids touching the orders table itself. */
.mc-myaccount-content .woocommerce-info::before,
.mc-myaccount-content .woocommerce-message::before,
.mc-myaccount-content .woocommerce-MyAccount-downloads:not(table)::before,
.mc-myaccount-content .woocommerce-MyAccount-orders:not(table)::before,
.mc-myaccount-content .woocommerce-info .wc-forward::before,
.mc-myaccount-content .woocommerce-MyAccount-downloads:not(table)::after,
.mc-myaccount-content .woocommerce-MyAccount-orders:not(table)::after {
    display: none !important;
}
.mc-myaccount-content .woocommerce-info::after,
.mc-myaccount-content .woocommerce-message::after { display: none !important; }
.mc-myaccount-content .woocommerce-info .button,
.mc-myaccount-content .woocommerce-message .button {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    font-size: var(--text-sm) !important;
    text-decoration: none !important;
    flex-shrink: 0;
}

/* Address cards */
.mc-myaccount-content .addresses,
.mc-myaccount-content .woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-5) !important;
    margin: 0 !important;
    padding: 0 !important;
}
.mc-myaccount-content .addresses::after,
.mc-myaccount-content .addresses::before,
.mc-myaccount-content .woocommerce-Addresses::after,
.mc-myaccount-content .woocommerce-Addresses::before {
    display: none !important;
}
.mc-myaccount-content .addresses .address,
.mc-myaccount-content .woocommerce-Address {
    background: var(--bg-base);
    border: 1px solid var(--bg-muted) !important;
    border-radius: var(--radius-xl) !important;
    padding: 0 !important;
    transition: border-color var(--duration-fast), box-shadow var(--duration-normal) var(--ease-out);
    overflow: hidden;
    display: block !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}
.mc-myaccount-content .addresses .address:hover,
.mc-myaccount-content .woocommerce-Address:hover {
    border-color: var(--accent) !important;
    box-shadow: var(--shadow-md);
}
.mc-myaccount-content .address header,
.mc-myaccount-content .woocommerce-Address header,
.mc-myaccount-content .woocommerce-Address-title {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin: 0 !important;
    padding: var(--space-5) var(--space-6) !important;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--bg-muted);
    border: none;
}
.mc-myaccount-content .address header h2,
.mc-myaccount-content .address header h3,
.mc-myaccount-content .woocommerce-Address header h2,
.mc-myaccount-content .woocommerce-Address-title h2,
.mc-myaccount-content .woocommerce-Address-title h3 {
    margin: 0 !important;
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    font-family: var(--font-display) !important;
    display: flex !important;
    align-items: center;
    gap: var(--space-2);
    padding: 0 !important;
    background: none !important;
}
.mc-myaccount-content .address header h2::before,
.mc-myaccount-content .woocommerce-Address header h2::before,
.mc-myaccount-content .woocommerce-Address-title h2::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}
.mc-myaccount-content .address header a,
.mc-myaccount-content .woocommerce-Address header a,
.mc-myaccount-content .woocommerce-Address-title a {
    font-size: var(--text-sm) !important;
    color: var(--accent) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border: 1.5px solid var(--accent) !important;
    border-radius: var(--radius-full) !important;
    background: transparent !important;
    transition: background var(--duration-fast), color var(--duration-fast);
}
.mc-myaccount-content .address header a:hover,
.mc-myaccount-content .woocommerce-Address header a:hover,
.mc-myaccount-content .woocommerce-Address-title a:hover {
    background: var(--accent) !important;
    color: #fff !important;
}
.mc-myaccount-content .address address,
.mc-myaccount-content .woocommerce-Address address,
.mc-myaccount-content .woocommerce-Address > address,
.mc-myaccount-content .address > address {
    display: block;
    font-style: normal;
    line-height: 1.7;
    color: var(--text-secondary);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    margin: 0 !important;
}
.mc-myaccount-content .address address:empty::before,
.mc-myaccount-content .woocommerce-Address > address:empty::before {
    display: none;
}

/* ── Lucide icon system ───────────────────────────────────── */
.mc-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    stroke: currentColor;
}
.mc-myaccount-nav-icon .mc-icon,
.mc-myaccount-nav .mc-icon {
    color: currentColor;
    transition: color var(--duration-fast);
}

@media (max-width: 768px) {
    .mc-myaccount-content .addresses { grid-template-columns: 1fr; }
}

/* ── Login / Register ── */
.mc-auth-page {
    max-width: 480px;
    margin: 0 auto;
}
.mc-lost-pw-message {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-5);
}
.mc-auth-back-link {
    text-align: center;
    margin-top: var(--space-5);
    margin-bottom: 0;
}
.mc-auth-back-link a {
    color: var(--accent);
    font-size: var(--text-sm);
    text-decoration: none;
}
.mc-auth-back-link a:hover {
    text-decoration: underline;
}
.mc-auth-container {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--bg-muted);
    overflow: hidden;
}
.mc-auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--bg-muted);
}
.mc-auth-tab {
    flex: 1;
    padding: var(--space-4);
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--duration-fast);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.mc-auth-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.mc-auth-panels { padding: var(--space-6); }
.mc-auth-panel { display: none; }
.mc-auth-panel.active { display: block; }
.mc-auth-panel .form-row {
    margin-bottom: var(--space-4);
}
.mc-auth-panel label {
    display: block;
    font-weight: 500;
    font-size: var(--text-sm);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}
.mc-auth-panel input[type="text"],
.mc-auth-panel input[type="email"],
.mc-auth-panel input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--bg-muted);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    background: var(--bg-surface);
    transition: border-color var(--duration-fast);
}
.mc-auth-panel input:focus {
    border-color: var(--accent);
    outline: none;
}
.mc-auth-panel .mc-btn {
    width: auto;
    min-width: 140px;
    margin-top: var(--space-3);
}
.lost_password {
    margin-top: var(--space-3);
    text-align: center;
}
.lost_password a {
    font-size: var(--text-sm);
    color: var(--accent);
}
.woocommerce-privacy-policy-text {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-4);
    line-height: 1.5;
}

/* ── Single Product (enhanced) ── */
.mc-single-product-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-12);
    align-items: start;
    margin-bottom: var(--space-12);
}

/* Gallery */
.mc-single-gallery {
    position: sticky;
    top: 90px;
}
.mc-single-gallery .woocommerce-product-gallery {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    box-shadow: var(--shadow-sm);
}
.mc-single-gallery .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}
.mc-single-gallery .woocommerce-product-gallery img {
    border-radius: var(--radius-2xl);
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s var(--ease-out);
}
.mc-single-gallery .woocommerce-product-gallery:hover img {
    transform: scale(1.02);
}

/* Summary */
.mc-single-summary {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}
.mc-single-categories {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0;
}
.mc-single-categories a {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-light);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-decoration: none;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out);
}
.mc-single-categories a:hover {
    background: var(--accent);
    color: #fff;
}
.mc-single-summary .product_title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.mc-single-rating {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
}
.mc-single-rating .star-rating {
    color: var(--bg-muted);
}
.mc-single-rating .star-rating span::before { color: #f59e0b; }
.mc-rating-value { font-weight: 700; color: var(--text-primary); }
.mc-rating-reviews {
    color: var(--text-muted);
    font-size: var(--text-sm);
    text-decoration: none;
    border-bottom: 1px dotted var(--text-muted);
}
.mc-rating-reviews:hover { color: var(--accent); border-color: var(--accent); }

/* Price block */
.mc-single-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    flex-wrap: wrap;
    padding: var(--space-4) var(--space-5);
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-lg);
    margin: 0;
}
.mc-single-price .price {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin: 0 !important;
}
.mc-single-price .price del {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    opacity: 0.7;
}
.mc-single-price .price ins {
    text-decoration: none;
    color: var(--accent);
}
.mc-single-price .mc-price-tax {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

.mc-single-short-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
    margin: 0;
}
.mc-single-short-desc p { margin: 0; }

/* Add to cart */
.mc-single-add-to-cart {
    display: flex;
    align-items: stretch;
    gap: var(--space-3);
    margin: 0;
}
.mc-single-add-to-cart .quantity {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border-light, #e0dcd7);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    background: var(--bg-surface, #fff);
    height: 52px;
}
.mc-single-add-to-cart .quantity .minus,
.mc-single-add-to-cart .quantity .plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-secondary, #888);
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
    padding: 0;
    line-height: 1;
}
.mc-single-add-to-cart .quantity .minus:hover,
.mc-single-add-to-cart .quantity .plus:hover {
    background: var(--bg-muted, #f5f0eb);
    color: var(--text-primary, #1a1a1a);
}
.mc-single-add-to-cart .quantity .minus:active,
.mc-single-add-to-cart .quantity .plus:active {
    background: var(--bg-muted, #ebe6e0);
}
.mc-single-add-to-cart .quantity input.qty {
    width: 44px;
    padding: 0;
    border: none;
    border-left: 1px solid var(--border-light, #e0dcd7);
    border-right: 1px solid var(--border-light, #e0dcd7);
    background: transparent;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    font-family: var(--font-body);
    -moz-appearance: textfield;
    height: 100%;
}
.mc-single-add-to-cart .quantity input.qty::-webkit-outer-spin-button,
.mc-single-add-to-cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.mc-single-add-to-cart .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border: none;
    border-radius: var(--radius-full);
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    flex: 1;
    text-transform: none;
    line-height: 1;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
    transition: transform var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out),
                filter var(--duration-fast) var(--ease-out);
}
.mc-single-add-to-cart .single_add_to_cart_button::before {
    content: '🛒';
    font-size: 1.05rem;
    line-height: 1;
}
.mc-single-add-to-cart .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45) !important;
    filter: brightness(1.05);
}

/* Trust badges — icon cards */
.mc-single-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    margin: 0;
}
.mc-single-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: var(--space-3);
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
    transition: border-color var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out);
}
.mc-single-trust-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.mc-single-trust-item span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    font-size: 1.05rem;
}

/* Meta (category, sku, etc.) */
.mc-single-summary .product_meta {
    padding-top: var(--space-4);
    border-top: 1px solid var(--bg-muted);
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.mc-single-summary .product_meta > span {
    display: block;
    padding: 4px 0;
}
.mc-single-summary .product_meta a {
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px dotted var(--text-muted);
    transition: color var(--duration-fast), border-color var(--duration-fast);
}
.mc-single-summary .product_meta a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Section heading */
.mc-section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.2vw, 1.875rem);
    font-weight: 800;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Product details section (Description + Tabs) */
.mc-single-details {
    padding-top: var(--space-10);
    border-top: 1px solid var(--bg-muted);
    margin-bottom: var(--space-12);
}
.mc-single-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-8);
}
.mc-single-description p { margin-bottom: var(--space-4); }
.mc-single-description h2,
.mc-single-description h3 {
    font-family: var(--font-display);
    color: var(--text-primary);
    margin: var(--space-6) 0 var(--space-3);
    font-weight: 700;
}

/* Tabs (Reviews) */
.mc-single-details .woocommerce-tabs {
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-2xl);
    padding: var(--space-6) var(--space-8);
}
.mc-single-details .woocommerce-tabs ul.tabs {
    display: flex;
    gap: var(--space-6);
    padding: 0 0 var(--space-4) 0;
    margin: 0 0 var(--space-6) 0;
    border-bottom: 1px solid var(--bg-muted);
    list-style: none;
}
.mc-single-details .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    border-radius: 0;
}
.mc-single-details .woocommerce-tabs ul.tabs li::before,
.mc-single-details .woocommerce-tabs ul.tabs li::after { display: none; }
.mc-single-details .woocommerce-tabs ul.tabs li a {
    display: inline-block;
    padding: 6px 0;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color var(--duration-fast), border-color var(--duration-fast);
}
.mc-single-details .woocommerce-tabs ul.tabs li.active a {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.mc-single-details .woocommerce-tabs ul.tabs li a:hover {
    color: var(--accent);
}
.mc-single-details .woocommerce-tabs .panel {
    padding: 0;
}
.mc-single-details #reviews .commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6);
}
.mc-single-details #reviews .commentlist li {
    border-bottom: 1px solid var(--bg-muted);
    padding: var(--space-4) 0;
}
.mc-single-details #reviews .commentlist li:last-child { border-bottom: none; }
.mc-single-details #reviews .comment-form-rating { margin-bottom: var(--space-3); }
.mc-single-details #reviews .comment-form-author,
.mc-single-details #reviews .comment-form-email,
.mc-single-details #reviews .comment-form-comment {
    margin-bottom: var(--space-3);
}
.mc-single-details #reviews label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.mc-single-details #reviews input,
.mc-single-details #reviews textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.875rem;
    background: var(--bg-base);
    color: var(--text-primary);
    transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.mc-single-details #reviews input:focus,
.mc-single-details #reviews textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.mc-single-details #reviews .form-submit input[type="submit"] {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
    transition: transform var(--duration-fast), box-shadow var(--duration-normal);
}
.mc-single-details #reviews .form-submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.45);
}

/* Related products */
.mc-related-products {
    padding-top: var(--space-10);
    border-top: 1px solid var(--bg-muted);
}
.mc-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}
.mc-related-card {
    display: block;
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out);
    text-decoration: none;
    color: inherit;
}
.mc-related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(124, 58, 237, 0.25);
    color: inherit;
}
.mc-related-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-muted);
    position: relative;
}
.mc-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}
.mc-related-card:hover .mc-related-image img {
    transform: scale(1.06);
}
.mc-related-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 10, 26, 0.35) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
    pointer-events: none;
}
.mc-related-card:hover .mc-related-image::after { opacity: 1; }
.mc-related-info {
    padding: var(--space-5);
}
.mc-related-info h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    margin: 0 0 var(--space-2);
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--duration-fast);
}
.mc-related-card:hover .mc-related-info h3 { color: var(--accent); }
.mc-related-info .price {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.125rem;
    font-family: var(--font-body);
}

/* ── Mobile Toggle ── */
.mc-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    transition: background var(--duration-fast);
}
.mc-mobile-toggle:hover { background: var(--bg-muted); }
.mc-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--duration-fast);
    transform-origin: center;
}
.mc-mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mc-mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mc-mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Theme Toggle ── */
.mc-theme-toggle .mc-icon-sun { display: none; }
.mc-theme-toggle .mc-icon-moon { display: block; }
[data-theme="dark"] .mc-theme-toggle .mc-icon-sun { display: block; }
[data-theme="dark"] .mc-theme-toggle .mc-icon-moon { display: none; }

/* Dark mode — "View details" hover chip stays light/contrasty on hover */
[data-theme="dark"] .woocommerce ul.products li.product .woocommerce-loop-product__link::before {
    background: rgba(20, 16, 32, 0.92);
    color: #c4b5fd;
}

/* Dark mode — review form/tabs have hardcoded colors */
[data-theme="dark"] .mc-single-details #reviews .comment-text,
[data-theme="dark"] .mc-single-details #reviews .description { color: var(--text-secondary); }
[data-theme="dark"] .mc-single-details #reviews .commentlist li .meta { color: var(--text-muted); }
[data-theme="dark"] .mc-single-details .woocommerce-Tabs-panel { color: var(--text-secondary); }

/* Dark mode — toolbar background more elevated */
[data-theme="dark"] .mc-shop-toolbar { background: var(--bg-surface); }

/* ── Woo Page Content Wrapper (for block-based cart/checkout) ── */
.mc-woo-page-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-4) var(--space-16);
}

/* ══════════════════════════════════════════════════════════════
   WOOCOMMERCE BLOCKS — Shared (cart + checkout) skin
   Adapted from TheRobotInsider block styling, retuned to the
   Mochello violet/coral palette. All colours via CSS vars so
   dark mode is handled by the token swap automatically.
   ══════════════════════════════════════════════════════════════ */

/* ── Sidebar layout base color ── */
.wc-block-components-sidebar-layout,
.wc-block-cart,
.wc-block-checkout {
    color: var(--text-primary);
}

/* ── Shared: Inputs, Textareas, Selects ── */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input textarea,
select.wc-block-components-select__select,
input.wc-block-components-text-input,
.wc-block-form-text-input input,
.wc-block-components-textarea {
    border: 1px solid var(--bg-muted) !important;
    border-radius: var(--radius-md) !important;
    background: var(--bg-base) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body) !important;
    font-size: 0.9375rem !important;
}

.wc-block-components-text-input input::placeholder,
input.wc-block-components-text-input::placeholder,
.wc-block-form-text-input input::placeholder {
    color: var(--text-muted) !important;
}

.wc-block-components-text-input input:focus,
select.wc-block-components-select__select:focus,
input.wc-block-components-text-input:focus,
.wc-block-form-text-input input:focus,
.wc-block-components-textarea:focus {
    outline: none !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12) !important;
}

.wc-block-checkout select.wc-block-components-select__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239e97b0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* ── Shared: Labels, Checkboxes, Validation ── */
.wc-block-checkout .wc-block-components-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

.wc-block-checkout .wc-block-components-checkbox {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.wc-block-checkout .wc-block-components-checkbox input[type="checkbox"] {
    accent-color: var(--accent);
}

.wc-block-checkout .wc-block-components-validation-error {
    font-size: 0.8125rem;
    color: var(--error);
}

/* ── Shared: Totals / Panels / Product names ── */
.wc-block-components-totals-item,
.wc-block-components-panel {
    color: var(--text-primary);
}

.wc-block-cart .wc-block-components-product-name,
.wc-block-checkout .wc-block-components-product-name {
    color: var(--text-primary);
    font-weight: 600;
}

.wc-block-cart .wc-block-components-product-name:hover,
.wc-block-checkout .wc-block-components-product-name:hover {
    color: var(--accent);
}

/* ── Shared: Notice banners ── */
.wc-block-components-notice-banner {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--bg-muted);
    border-radius: var(--radius-md);
}

/* ── Shared: Buttons (non-link) ── */
.wc-block-components-button:not(.is-link) {
    background: var(--gradient-primary);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   WOOCOMMERCE BLOCKS — CHECKOUT PAGE (skin only)
   ══════════════════════════════════════════════════════════════ */

/* ── Checkout Totals Block (sticky card) ── */
.wp-block-woocommerce-checkout-totals-block {
    position: sticky;
    top: 90px;
}

.wc-block-checkout .wp-block-woocommerce-checkout-totals-block {
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.wc-block-checkout .wc-block-components-order-summary-item {
    border-bottom: 1px solid var(--bg-muted);
    font-size: 0.875rem;
    color: var(--text-primary);
}

.wc-block-checkout .wc-block-components-order-summary-item:last-child {
    border-bottom: none;
}

.wc-block-checkout .wc-block-components-order-total {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
    border-top: 2px solid var(--bg-muted);
}

/* ── Checkout: Payment Methods ── */
.wc-block-checkout .wc-block-components-payment-methods {
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-md);
    list-style: none;
}

.wc-block-checkout .wc-block-components-payment-methods li,
.wc-block-checkout .wc-block-components-radio-control-accordion-option {
    border-bottom: 1px solid var(--bg-muted);
}

.wc-block-checkout .wc-block-components-payment-methods li:last-child,
.wc-block-checkout .wc-block-components-radio-control-accordion-option:last-child {
    border-bottom: none;
}

.wc-block-checkout .wc-block-components-radio-control__option {
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-md);
    background: var(--bg-base);
    color: var(--text-primary);
    transition: border-color var(--duration-fast) var(--ease-out);
}

.wc-block-checkout .wc-block-components-radio-control__option:hover {
    border-color: var(--accent);
}

.wc-block-checkout .wc-block-components-radio-control__label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.wc-block-checkout .wc-block-components-radio-control input[type="radio"] {
    accent-color: var(--accent);
}

.wc-block-checkout .wc-block-components-radio-control__option--selected,
.wc-block-checkout .wc-block-components-radio-control__option[aria-checked="true"] {
    border-color: var(--accent);
    background: var(--accent-light);
}

/* ── Checkout: Place Order Button ── */
.wc-block-checkout .wc-block-components-checkout-place-order-button,
.wc-block-checkout button.wc-block-components-button {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-full) !important;
    border: none !important;
    font-family: var(--font-body) !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
    width: 100% !important;
    transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out) !important;
}

.wc-block-checkout .wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout button.wc-block-components-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45) !important;
}

/* ── Checkout: Express Payment ── */
.wc-block-checkout .wc-block-components-express-payment {
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-md);
}

/* ══════════════════════════════════════════════════════════════
   WOOCOMMERCE BLOCKS — CART PAGE (skin only)
   ══════════════════════════════════════════════════════════════ */

/* ── Cart Items Block (card) ── */
.wp-block-woocommerce-cart-items-block {
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.wc-block-cart-items th {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--bg-muted);
}

.wc-block-cart-item {
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.wc-block-cart-item td {
    border-bottom: 1px solid var(--bg-muted);
}

.wc-block-cart-item:last-child td {
    border-bottom: none;
}

.wc-block-cart-item__name {
    font-weight: 600;
    color: var(--text-primary);
}

.wc-block-cart-item__name:hover {
    color: var(--accent);
}

/* ── Cart: Quantity controls ── */
.wc-block-cart-item__quantity .wc-block-form-step-button {
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-muted);
    background: var(--bg-base);
    color: var(--text-primary);
    font-size: 1rem;
    transition: background var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-normal);
}

.wc-block-cart-item__quantity .wc-block-form-step-button:hover {
    background: var(--bg-muted);
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.wc-block-cart-item__quantity input[type="number"] {
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-sm);
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.875rem;
}

.wc-block-cart-item__quantity input[type="number"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.12);
}

.wc-block-components-quantity-selector {
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.wc-block-components-quantity-selector input[type="number"] {
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    border: none;
    border-left: 1px solid var(--bg-muted);
    border-right: 1px solid var(--bg-muted);
}

.wc-block-components-quantity-selector button {
    background: var(--bg-muted);
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    transition: background var(--duration-fast), color var(--duration-fast);
}

.wc-block-components-quantity-selector button:hover {
    background: var(--accent-light);
    color: var(--accent);
}

/* ── Cart: Remove link ── */
.wc-block-cart-item__remove-link {
    color: var(--text-muted);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color var(--duration-fast);
}

.wc-block-cart-item__remove-link:hover {
    color: var(--error);
}

/* ── Cart: Product image ── */
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--bg-muted);
}

/* ── Cart Totals Block (sticky card) ── */
.wp-block-woocommerce-cart-totals-block,
.wc-block-cart__totals-wrapper {
    position: sticky;
    top: 90px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.wc-block-cart__totals-wrapper tr {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.wc-block-cart__totals-wrapper th {
    font-weight: 500;
    color: var(--text-secondary);
}

.wc-block-cart__totals-wrapper td {
    color: var(--text-primary);
}

.wc-block-cart__totals-wrapper .wc-block-cart__totals-total-row {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    border-top: 2px solid var(--bg-muted);
}

.wc-block-cart__totals-wrapper .wc-block-cart__totals-total-row td {
    color: var(--accent);
    font-size: 1.125rem;
    font-weight: 800;
}

.wc-block-components-totals-footer-item {
    border-top-color: var(--bg-muted);
}

/* ── Cart: Proceed to Checkout Button ── */
.wc-block-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-full) !important;
    border: none !important;
    font-family: var(--font-body) !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
    width: 100% !important;
    transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out) !important;
}

.wc-block-cart .wc-block-cart__submit-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45) !important;
}

/* ── Cart: Express Payment ── */
.wc-block-cart .wc-block-components-express-payment {
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-md);
}

/* ── Cart: Empty state ── */
.wp-block-woocommerce-empty-cart-block {
    text-align: center;
}

.wc-block-cart__empty-cart__title {
    color: var(--text-primary);
}

.wp-block-woocommerce-empty-cart-block h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* ── Cart: Coupon form ── */
.wc-block-cart__coupon-form input {
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-md);
    background: var(--bg-base);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: var(--font-body);
}

.wc-block-cart__coupon-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.12);
}

.wc-block-cart__coupon-form button {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: var(--font-body);
    transition: border-color var(--duration-fast), color var(--duration-fast), background var(--duration-fast);
}

.wc-block-cart__coupon-form button:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

/* ── Cart/Checkout product grid (related / cross-sell) ── */
.wc-block-grid__product-price {
    color: var(--text-secondary);
}

.wc-block-grid__product-title {
    color: var(--text-primary);
}

/* ══════════════════════════════════════════════════════════════
   Dark Mode Overrides
   ══════════════════════════════════════════════════════════════ */

/* WooCommerce messages — hardcoded colors need dark override */
[data-theme="dark"] .woocommerce-message {
    background: #052e16;
    color: #86efac;
}
[data-theme="dark"] .woocommerce-error {
    background: #450a0a;
    color: #fca5a5;
}
[data-theme="dark"] .woocommerce-info {
    background: var(--accent-light);
    color: #c4b5fd;
}

/* WooCommerce Blocks: colours adapt automatically via CSS variable
   token swap (see base rules above). Only a few WC-block hardcoded
   values need explicit dark overrides below. */
[data-theme="dark"] .wc-block-components-select__select,
[data-theme="dark"] .wc-block-components-textarea {
    background: var(--bg-surface) !important;
    color: var(--text-primary) !important;
    border-color: var(--bg-muted) !important;
}
/* Order summary & totals labels can inherit a dark grey from WC core */
[data-theme="dark"] .wc-block-components-order-summary-card,
[data-theme="dark"] .wc-block-components-totals-wrapper,
[data-theme="dark"] .wc-block-components-sidebar {
    color: var(--text-primary);
}
/* WC core hardcodes a lightgrey on these summary item values */
[data-theme="dark"] .wc-block-components-order-summary-item__values,
[data-theme="dark"] .wc-block-components-totals-item__value {
    color: var(--text-primary);
}
[data-theme="dark"] .wc-block-components-order-summary-item__label,
[data-theme="dark"] .wc-block-components-totals-item__label {
    color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════════════════
   Company Pages — About / Contact / Privacy / Terms
   ══════════════════════════════════════════════════════════════ */

/* ── Shared: section eyebrow + title ── */
.mc-about-section-eyebrow {
    display: inline-block;
    padding: 5px 14px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-4);
}
.mc-about-section-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}
.mc-about-section-title + p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── About hero ── */
.mc-about-hero {
    background: var(--gradient-hero);
    padding: calc(var(--space-20) + var(--space-8)) 0 var(--space-20);
    text-align: center;
}
.mc-about-hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-8);
    letter-spacing: 0.04em;
}
.mc-about-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: var(--space-8);
    color: var(--text-primary);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.mc-about-hero-desc {
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── About mission (centered layout — no side-by-side grid) ── */
.mc-about-mission { background: var(--bg-surface); }
.mc-about-mission-centered {
    text-align: center;
}
.mc-about-mission-centered .mc-about-section-eyebrow {
    display: inline-block;
}
.mc-about-mission-centered .mc-about-section-title {
    text-align: center;
}
.mc-about-mission-centered .mc-about-mission-text {
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
}
.mc-about-mission-centered .mc-about-mission-text p {
    margin: 0 auto var(--space-4);
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: var(--text-base);
}
.mc-about-mission-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-top: var(--space-8);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.mc-about-mission-stats-row .mc-about-mission-stat {
    background: var(--bg-base);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
}
.mc-about-mission-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-12);
    align-items: start;
}
.mc-about-mission-text p {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}
.mc-about-mission-card {
    background: var(--bg-base);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    border: 1px solid var(--bg-muted);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}
/* Mission stats — used in the editable about-us body content */
.mc-about-mission-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin: var(--space-6) 0 var(--space-10);
    padding: var(--space-6);
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--bg-muted);
}
.mc-about-mission-stat {
    text-align: left;
}
.mc-about-mission-stat + .mc-about-mission-stat {
    padding-top: var(--space-6);
    border-top: 1px solid var(--bg-muted);
}
.mc-about-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-3);
}
.mc-about-stat-label {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.5;
}

/* ── About values ── */
.mc-about-values { background: var(--bg-base); }
.mc-about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}
.mc-about-values .mc-value-card {
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    box-shadow: var(--shadow-sm);
}
.mc-about-values .mc-value-card:hover {
    box-shadow: var(--shadow-md);
}

/* ── About timeline ── */
.mc-about-timeline { background: var(--bg-surface); }
.mc-about-timeline-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
}
.mc-about-timeline-track::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--accent-light);
    z-index: 0;
}
.mc-about-timeline-item {
    position: relative;
    text-align: center;
    z-index: 1;
}
.mc-about-timeline-dot {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto var(--space-4);
    box-shadow: 0 0 0 6px var(--bg-surface), 0 2px 8px rgba(124, 58, 237, 0.35);
}
.mc-about-timeline-year {
    display: inline-block;
    padding: 3px 12px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    margin-bottom: var(--space-3);
}
.mc-about-timeline-item h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
}
.mc-about-timeline-item p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── About promise card ── */
.mc-about-promise {
    background: var(--bg-base);
}
.mc-about-promise-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--gradient-hero);
    border-radius: var(--radius-2xl);
    padding: var(--space-12) var(--space-10);
    text-align: center;
    border: 1px solid var(--accent-light);
    box-shadow: var(--shadow-lg);
}
.mc-about-promise-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--space-4);
}
.mc-about-promise-card h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}
.mc-about-promise-card p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}
.mc-about-promise-sig {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--text-primary);
    font-size: var(--text-base);
}

/* ── About body (optional editable content) ── */
.mc-about-body {
    background: var(--bg-surface);
}
.mc-about-body-inner {
    max-width: 820px;
    margin: 0 auto;
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-secondary);
}
.mc-about-body-inner h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-10) 0 var(--space-4);
}
.mc-about-body-inner h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--space-8) 0 var(--space-3);
}
.mc-about-body-inner p {
    margin-bottom: var(--space-4);
}
.mc-about-body-inner em {
    font-style: italic;
    color: var(--text-muted);
}

/* ── Contact hero ── */
.mc-contact-hero {
    background: var(--gradient-hero);
    padding: var(--space-20) 0;
    text-align: center;
}
.mc-contact-hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
}
.mc-contact-hero-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}
.mc-contact-hero-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Contact methods ── */
.mc-contact-methods { background: var(--bg-surface); }
.mc-contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}
.mc-contact-method-card {
    display: block;
    text-align: center;
    padding: var(--space-10) var(--space-8);
    background: var(--bg-base);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-2xl);
    text-decoration: none;
    color: inherit;
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out),
                border-color var(--duration-normal) var(--ease-out);
}
.mc-contact-method-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
    color: inherit;
}
.mc-contact-method-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--space-4);
}
.mc-contact-method-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
}
.mc-contact-method-card p {
    font-size: var(--text-sm);
    color: var(--accent);
    font-weight: 500;
    margin-bottom: var(--space-3);
    word-break: break-word;
}
.mc-contact-method-cta {
    display: inline-block;
    font-size: var(--text-sm);
    color: var(--accent);
    font-weight: 600;
    transition: gap var(--duration-fast);
}

/* ── Contact form ── */
.mc-contact-form-section { background: var(--bg-base); }
.mc-contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-12);
    align-items: start;
}
.mc-contact-form-intro p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}
.mc-contact-form-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.mc-contact-form-bullets li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-primary);
    font-size: var(--text-sm);
}
.mc-contact-form-bullets li span {
    color: var(--success);
    font-weight: 700;
}
.mc-contact-form {
    background: var(--bg-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bg-muted);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}
.mc-contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}
.mc-contact-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.mc-contact-field-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}
.mc-contact-field .mc-input {
    border-radius: var(--radius-md);
    padding: 12px 16px;
}
.mc-contact-textarea {
    border-radius: var(--radius-md) !important;
    resize: vertical;
    min-height: 140px;
    font-family: var(--font-body);
    line-height: 1.6;
}
.mc-contact-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 44px !important;
}
.mc-contact-submit {
    align-self: flex-start;
}
.mc-contact-form-status {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    min-height: 1.5em;
}
.mc-contact-form-status.is-error {
    color: var(--error);
}
.mc-contact-form-status.is-success {
    color: var(--success);
}

/* ── Contact FAQ ── */
.mc-contact-faq {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.mc-contact-faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--duration-fast);
}
.mc-contact-faq-item[open] {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-sm);
}
.mc-contact-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    list-style: none;
}
.mc-contact-faq-item summary::-webkit-details-marker { display: none; }
.mc-contact-faq-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    font-weight: 700;
    font-size: var(--text-base);
    transition: transform var(--duration-normal) var(--ease-out),
                background var(--duration-fast);
    flex-shrink: 0;
}
.mc-contact-faq-item[open] .mc-contact-faq-icon {
    transform: rotate(45deg);
}
.mc-contact-faq-body {
    padding: 0 var(--space-6) var(--space-5);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: var(--text-sm);
}
.mc-contact-faq-body a {
    color: var(--accent);
    font-weight: 500;
}

/* ── Policy pages (Privacy / Terms) ── */
.mc-policy-hero {
    background: var(--gradient-hero);
    padding: var(--space-20) 0 var(--space-16);
    text-align: center;
}
.mc-policy-hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
}
.mc-policy-hero-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}
.mc-policy-hero-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto var(--space-10);
    line-height: 1.7;
}
.mc-policy-hero-toc {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    max-width: 760px;
    margin: 0 auto;
}
.mc-policy-hero-toc a {
    padding: 8px 18px;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);
}
.mc-policy-hero-toc a:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* ── Policy summary cards ── */
.mc-policy-summary { background: var(--bg-surface); }
.mc-policy-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}
.mc-policy-summary-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--bg-base);
    border-radius: var(--radius-xl);
    border: 1px solid var(--bg-muted);
    transition: transform var(--duration-normal) var(--ease-out);
}
.mc-policy-summary-card:hover {
    transform: translateY(-2px);
}
.mc-policy-summary-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--space-4);
}
.mc-policy-summary-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
}
.mc-policy-summary-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Policy body content ── */
.mc-policy-body {
    background: var(--bg-base);
}

/* ── About-us body content — override the 720px default to use full container width
   so grids and visual sections (mission stats, values cards, timeline, etc.) fill
   the available space. */
.mc-about-body .mc-article-body,
body.page-id-10 .mc-article-body,
body[class*="page-id-10"] .mc-article-body {
    /* Use the same max-width as the container so the body fills the
       available space on wide screens. */
    max-width: var(--container-max) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}
@media (min-width: 1700px) {
    .mc-about-body .mc-article-body,
    body.page-id-10 .mc-article-body,
    body[class*="page-id-10"] .mc-article-body {
        max-width: 90vw !important;
    }
}
.mc-about-body .mc-article-body h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-10) 0 var(--space-4);
}
.mc-about-body .mc-article-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 720px;   /* keep paragraph text narrow even if containers are wide */
}
.mc-policy-body .mc-article {
    max-width: 820px;
    margin: 0 auto;
    background: var(--bg-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-muted);
}
.mc-policy-body .mc-article-body {
    max-width: none;
}
.mc-policy-body .mc-article-body h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-10) 0 var(--space-4);
    padding-top: var(--space-6);
    border-top: 1px solid var(--bg-muted);
}
.mc-policy-body .mc-article-body h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.mc-policy-body .mc-article-body h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--space-6) 0 var(--space-3);
}
.mc-policy-body .mc-article-body p,
.mc-policy-body .mc-article-body li {
    color: var(--text-secondary);
    line-height: 1.8;
}
.mc-policy-body .mc-article-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mc-policy-body .mc-article-body a:hover {
    color: var(--accent-hover);
}
.mc-policy-body .mc-article-body ul {
    padding-left: var(--space-6);
    margin-bottom: var(--space-5);
}
.mc-policy-body .mc-article-body li {
    margin-bottom: var(--space-2);
}
.mc-policy-body .mc-article-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ── Policy CTA ── */
.mc-policy-cta {
    background: var(--bg-surface);
}

/* ── Support Page ── */
.mc-support-hero {
    padding: var(--space-16) 0 var(--space-10);
    text-align: center;
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-base) 100%);
}
.mc-support-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
}
.mc-support-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 var(--space-4);
    line-height: 1.2;
}
.mc-support-hero-title .mc-text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mc-support-hero-desc {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    max-width: 60ch;
    margin: 0 auto;
    line-height: 1.6;
}

/* Help topic cards */
.mc-support-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.mc-support-topic-card {
    display: block;
    padding: var(--space-6);
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--text-primary);
    transition: border-color var(--duration-fast), box-shadow var(--duration-fast), transform var(--duration-fast);
}
.mc-support-topic-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.mc-support-topic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
}
.mc-support-topic-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 var(--space-2);
}
.mc-support-topic-card p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin: 0;
}

/* FAQ sections */
.mc-support-faq-section {
    padding-top: var(--space-12);
}
.mc-support-faq-section .mc-section-title {
    text-align: center;
    margin-bottom: var(--space-8);
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    width: auto;
}
.mc-support-faq {
    max-width: 800px;
    margin: 0 auto;
}
.mc-support-faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3);
    overflow: hidden;
    transition: border-color var(--duration-fast);
}
.mc-support-faq-item[open] {
    border-color: var(--accent);
}
.mc-support-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    list-style: none;
    gap: var(--space-4);
}
.mc-support-faq-item summary::-webkit-details-marker { display: none; }
.mc-support-faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform var(--duration-fast);
}
.mc-support-faq-item[open] .mc-support-faq-icon {
    transform: rotate(45deg);
}
.mc-support-faq-body {
    padding: 0 var(--space-6) var(--space-5);
}
.mc-support-faq-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}
.mc-support-faq-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mc-support-faq-body a:hover { color: var(--accent-hover); }

/* ── "联系客服吗？" CTA banner (between FAQ and contact form) ── */
.mc-support-cta-banner {
    padding: var(--space-10) 0;
}
.mc-support-cta-card {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-8) var(--space-10);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: var(--radius-2xl);
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.mc-support-cta-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}
.mc-support-cta-text {
    flex: 1;
    min-width: 0;
}
.mc-support-cta-text h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 var(--space-1);
    color: #fff;
}
.mc-support-cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-base);
    line-height: 1.5;
}
.mc-support-cta-card .mc-btn {
    flex-shrink: 0;
    background: #fff;
    color: var(--accent);
}
.mc-support-cta-card .mc-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent-hover);
}
@media (max-width: 768px) {
    .mc-support-cta-card {
        flex-direction: column;
        text-align: center;
        padding: var(--space-6);
        gap: var(--space-4);
    }
}

/* Contact form */
.mc-support-contact {
    background: var(--bg-elevated);
}
.mc-support-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-10);
    align-items: start;
}
.mc-support-contact-intro h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-4);
}
.mc-support-contact-intro > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}
.mc-support-contact-channels {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.mc-support-contact-channels li {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}
.mc-support-channel-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.mc-support-contact-channels strong {
    display: block;
    color: var(--text-primary);
    font-size: var(--text-sm);
    font-weight: 600;
}
.mc-support-contact-channels a {
    color: var(--accent);
    font-size: var(--text-sm);
    text-decoration: none;
}
.mc-support-contact-channels a:hover { text-decoration: underline; }

.mc-support-form {
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}
.mc-support-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}
.mc-support-field { display: flex; flex-direction: column; gap: var(--space-2); }
.mc-support-field-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}
.mc-support-form .mc-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-md);
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: inherit;
    font-size: var(--text-sm);
    transition: border-color var(--duration-fast);
}
.mc-support-form .mc-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.mc-support-form .mc-input.mc-support-textarea { resize: vertical; min-height: 120px; }
.mc-support-submit { width: 100%; }
.mc-support-form-status {
    font-size: var(--text-sm);
    margin: 0;
    min-height: 1.2em;
}
.mc-support-form-status.is-success { color: var(--success, #16a34a); }
.mc-support-form-status.is-error { color: var(--danger, #dc2626); }

/* Support responsive */
@media (max-width: 1024px) {
    .mc-support-topics-grid { grid-template-columns: repeat(2, 1fr); }
    .mc-support-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .mc-support-topics-grid { grid-template-columns: 1fr; }
    .mc-support-form-row { grid-template-columns: 1fr; }
    .mc-support-form { padding: var(--space-6); }
    .mc-support-hero { padding: var(--space-10) 0 var(--space-6); }
}


/* ── Responsive ── */
@media (max-width: 1024px) {
    .mc-hero .mc-container { grid-template-columns: 1fr; }
    .mc-hero-visual { order: -1; }
    .mc-values-grid { grid-template-columns: repeat(2, 1fr); }
    .mc-order-product-row { grid-template-columns: 1fr; gap: var(--space-8); }
    .mc-order-reverse { direction: ltr; }
    .mc-order-why-grid { grid-template-columns: repeat(2, 1fr); }
    .mc-footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
    .mc-single-product-layout { grid-template-columns: 1fr; }
    .mc-cart-layout { grid-template-columns: 1fr; }
    .mc-checkout-layout { grid-template-columns: 1fr; }
    .mc-related-grid { grid-template-columns: repeat(2, 1fr); }
    .mc-myaccount-layout { grid-template-columns: 1fr; gap: var(--space-5); }
    .mc-myaccount-sidebar { position: static; }
    .mc-myaccount-nav { flex-direction: row; flex-wrap: wrap; }
    .mc-myaccount-nav-item { flex: 1 1 auto; min-width: 130px; }
    .mc-myaccount-hero { flex-wrap: wrap; padding: var(--space-6); }
    .mc-myaccount-stats { width: 100%; justify-content: stretch; }
    .mc-stat-card { flex: 1; }
    .mc-dashboard-cards { grid-template-columns: repeat(2, 1fr); }
    .mc-myaccount-content .addresses { grid-template-columns: 1fr; }

    /* Company pages */
    .mc-about-mission-grid { grid-template-columns: 1fr; gap: var(--space-8); }
    .mc-about-values-grid { grid-template-columns: repeat(2, 1fr); }
    .mc-about-timeline-track { grid-template-columns: repeat(2, 1fr); gap: var(--space-10) var(--space-6); }
    .mc-about-timeline-track::before { display: none; }
    .mc-contact-methods-grid { grid-template-columns: 1fr; }
    .mc-contact-form-grid { grid-template-columns: 1fr; gap: var(--space-8); }
    .mc-policy-summary-grid { grid-template-columns: 1fr; }
    .mc-policy-hero-title { font-size: var(--text-4xl); }
    .mc-about-hero-title { font-size: var(--text-4xl); }
    .mc-contact-hero-title { font-size: var(--text-4xl); }
}

@media (max-width: 768px) {
    .mc-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        border-top: 1px solid var(--bg-muted);
        border-bottom: 1px solid var(--bg-muted);
        box-shadow: var(--shadow-lg);
        padding: var(--space-4) var(--space-6);
        z-index: 100;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .mc-nav.is-open { display: block; }
    .mc-mobile-toggle { display: flex; }
    .mc-nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .mc-nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--bg-muted);
    }
    .mc-nav-list li:last-child { border-bottom: none; }
    .mc-nav-list a {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        padding: var(--space-4) 0;
        font-size: var(--text-base);
        color: var(--text-primary);
    }
    .mc-nav-list li.current-menu-item > a {
        color: var(--accent);
        font-weight: 700;
        border-left: 3px solid var(--accent);
        padding-left: var(--space-3);
    }
    .mc-nav-list li.current-menu-item > a::after { display: none; }
    .mc-nav-list li.current-menu-item::before { display: none; }
    .mc-header { position: relative; }
    .mc-header-actions { gap: var(--space-2); }
    .mc-theme-toggle { display: none; }
    .mc-hero-title { font-size: var(--text-3xl); }
    .mc-order-hero-title { font-size: var(--text-3xl); }
    .mc-order-product-name { font-size: var(--text-2xl); }
    .mc-products-grid { grid-template-columns: 1fr; }
    .woocommerce ul.products li.product {
        width: 100% !important;
        margin-right: 0 !important;
        float: none !important;
    }
    .woocommerce ul.products li.product:nth-child(3n+1) { clear: none !important; }
    .mc-order-why-grid { grid-template-columns: 1fr; }
    .mc-order-guarantee-badges { flex-direction: column; gap: var(--space-3); }
    .mc-subscribe-form-inline { flex-direction: column; gap: var(--space-3); max-width: 360px; }
    .mc-subscribe-form-inline .mc-btn { align-self: center; padding: 12px 32px; margin-top: var(--space-1); }
    .mc-footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
    .mc-footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
    .woocommerce ul.products { grid-template-columns: 1fr !important; }
    table.shop_table { font-size: var(--text-xs); }
    table.shop_table th, table.shop_table td { padding: var(--space-2); }
    .mc-related-grid { grid-template-columns: 1fr; }
    .mc-shop-title { font-size: var(--text-3xl); }
    .mc-cat-tabs { gap: var(--space-2); overflow-x: auto; flex-wrap: nowrap; padding-bottom: var(--space-2); }
    .mc-cat-tab { padding: 6px 12px; font-size: var(--text-xs); white-space: nowrap; }
    .mc-newsletter-card h2 { font-size: var(--text-xl); }
    .mc-newsletter-card p { padding: 0 var(--space-2); }

    /* Company pages — mobile */
    .mc-about-hero-title { font-size: var(--text-3xl); }
    .mc-contact-hero-title { font-size: var(--text-3xl); }
    .mc-policy-hero-title { font-size: var(--text-3xl); }
    .mc-about-values-grid { grid-template-columns: 1fr; }
    .mc-about-timeline-track { grid-template-columns: 1fr; }
    .mc-about-section-title { font-size: var(--text-3xl); }
    .mc-contact-form { padding: var(--space-6); }
    .mc-contact-form-row { grid-template-columns: 1fr; }
    .mc-about-promise-card { padding: var(--space-8) var(--space-5); }
    .mc-about-body-inner { padding: 0 var(--space-2); }
    .mc-policy-body .mc-article { padding: var(--space-6); border-radius: var(--radius-xl); }
    .mc-policy-hero-toc { gap: var(--space-2); }
    .mc-policy-hero-toc a { padding: 6px 14px; font-size: var(--text-xs); }

}

/* ═══════════════════════════════════════════════════════════════
   Product Page — Redesigned (mc-product-*)
   ═══════════════════════════════════════════════════════════════ */

.mc-product-page {
    --pp-gap: 4rem;
    --pp-radius: 24px;
}

/* Hero layout */
.mc-product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--pp-gap);
    align-items: start;
    margin-bottom: var(--space-16);
}
.mc-product-hero .mc-product-gallery {
    position: sticky;
    top: 100px;
}
.mc-product-hero .mc-product-summary {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding-top: var(--space-2);
}

/* Gallery card */
.mc-product-gallery {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--bg-muted);
    border-radius: var(--pp-radius);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.mc-product-gallery .woocommerce-product-gallery {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
}
.mc-product-gallery .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-base);
}
.mc-product-gallery .woocommerce-product-gallery img {
    border-radius: 16px !important;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s var(--ease-out);
}
.mc-product-gallery .woocommerce-product-gallery:hover img {
    transform: scale(1.04);
}
.mc-product-gallery .flex-control-thumbs {
    display: flex;
    gap: var(--space-3);
    margin: var(--space-4) 0 0 !important;
    padding: 0 !important;
    list-style: none;
}
.mc-product-gallery .flex-control-thumbs li {
    width: 80px !important;
    margin: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color var(--duration-fast);
    cursor: pointer;
}
.mc-product-gallery .flex-control-thumbs li:hover { border-color: var(--accent); }
.mc-product-gallery .flex-control-thumbs li img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px !important;
    opacity: 0.7;
    transition: opacity var(--duration-fast);
}
.mc-product-gallery .flex-control-thumbs li:hover img { opacity: 1; }

/* ── Custom Gallery (image + video) ───────────────────────── */
.mc-gallery-stage {
    position: relative;
    background: var(--bg-base);
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.mc-gallery-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mc-gallery-slide[hidden] { display: none; }
.mc-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: var(--bg-base);
    transition: transform 0.5s var(--ease-out);
}
.mc-gallery-slide:not([hidden]):hover img { transform: scale(1.02); }

.mc-gallery-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}
.mc-gallery-iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

.mc-video-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(15, 10, 26, 0.85);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: 2;
    backdrop-filter: blur(6px);
}
.mc-video-badge svg { display: block; }

.mc-gallery-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity var(--duration-fast), transform var(--duration-fast), background var(--duration-fast);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.mc-gallery-slide:hover .mc-gallery-zoom { opacity: 1; transform: translateY(0); }
.mc-gallery-zoom:hover { background: var(--accent); color: #fff; }

.mc-gallery-thumbs {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
    flex-wrap: wrap;
}
.mc-gallery-thumb {
    width: 80px;
    height: 80px;
    border: 2px solid var(--bg-muted);
    background: var(--bg-base);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: border-color var(--duration-fast), transform var(--duration-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}
.mc-gallery-thumb:hover { border-color: var(--accent-light); transform: translateY(-2px); }
.mc-gallery-thumb.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}
.mc-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mc-thumb-video {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-muted));
    color: var(--accent);
}

/* Lightbox */
.mc-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 10, 26, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
    animation: mc-fade-in 200ms ease-out;
}
.mc-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow-2xl);
}
.mc-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--duration-fast);
}
.mc-lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }
@keyframes mc-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Category badge */
.mc-product-categories {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}
.mc-product-categories a {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-light);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background var(--duration-fast), color var(--duration-fast);
}
.mc-product-categories a:hover {
    background: var(--accent);
    color: #fff;
}

/* Title */
.mc-product-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0;
}

/* Rating */
.mc-product-rating {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
}
.mc-product-rating .star-rating { color: var(--bg-muted); font-size: 1.1rem; }
.mc-product-rating .star-rating span::before { color: #f59e0b; }
.mc-product-rating .mc-rating-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: var(--text-base);
}
.mc-product-rating .mc-rating-reviews {
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px dotted var(--text-muted);
}
.mc-product-rating .mc-rating-reviews:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Price row */
.mc-product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
    padding: var(--space-5) var(--space-6);
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--bg-muted);
    border-radius: 18px;
}
.mc-product-price .price,
.mc-product-price-row .price {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin: 0 !important;
}
.mc-product-price .price del,
.mc-product-price-row .price del {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    opacity: 0.6;
}
.mc-product-price .price ins,
.mc-product-price-row .price ins {
    text-decoration: none;
    color: var(--accent);
}
.mc-product-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-weight: 500;
}
.mc-stock-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    animation: mc-pulse 2s ease-in-out infinite;
}
@keyframes mc-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1); }
}

/* Short description */
.mc-product-short-desc {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 1rem;
    margin: 0;
}
.mc-product-short-desc p { margin: 0 0 var(--space-2); }
.mc-product-short-desc p:last-child { margin: 0; }

/* Buy box */
.mc-product-buybox {
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: 18px;
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
}
.mc-product-buybox .cart {
    display: flex;
    align-items: stretch;
    gap: var(--space-3);
    margin: 0 !important;
}
.mc-product-buybox .quantity {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border-light, #e0dcd7);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    background: var(--bg-surface, #fff);
    height: 52px;
}
.mc-product-buybox .quantity .minus,
.mc-product-buybox .quantity .plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-secondary, #888);
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
    padding: 0;
    line-height: 1;
}
.mc-product-buybox .quantity .minus:hover,
.mc-product-buybox .quantity .plus:hover {
    background: var(--bg-muted, #f5f0eb);
    color: var(--text-primary, #1a1a1a);
}
.mc-product-buybox .quantity .minus:active,
.mc-product-buybox .quantity .plus:active {
    background: var(--bg-muted, #ebe6e0);
}
.mc-product-buybox .quantity input.qty {
    width: 44px;
    padding: 0;
    border: none;
    border-left: 1px solid var(--border-light, #e0dcd7);
    border-right: 1px solid var(--border-light, #e0dcd7);
    background: transparent;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    font-family: var(--font-body);
    -moz-appearance: textfield;
    height: 100%;
}
.mc-product-buybox .quantity input.qty::-webkit-outer-spin-button,
.mc-product-buybox .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.mc-product-buybox .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border: none;
    border-radius: var(--radius-full);
    padding: 16px 36px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    flex: 1;
    text-transform: none;
    line-height: 1;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
    transition: transform var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out),
                filter var(--duration-fast) var(--ease-out);
}
.mc-product-buybox .single_add_to_cart_button::before {
    content: '🛒';
    font-size: 1.15rem;
    line-height: 1;
}
.mc-product-buybox .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(124, 58, 237, 0.5) !important;
    filter: brightness(1.05);
}

/* Trust strip */
.mc-product-trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.mc-product-trust li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: 14px;
    transition: border-color var(--duration-fast), transform var(--duration-fast);
}
.mc-product-trust li:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}
.mc-product-trust .mc-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.mc-product-trust li > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
}
.mc-product-trust strong {
    font-size: var(--text-sm);
    color: var(--text-primary);
    font-weight: 700;
}
.mc-product-trust li > div span {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Meta */
.mc-product-summary .product_meta {
    padding-top: var(--space-4);
    border-top: 1px solid var(--bg-muted);
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}
.mc-product-summary .product_meta > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.mc-product-summary .product_meta a {
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px dotted var(--text-muted);
    transition: color var(--duration-fast), border-color var(--duration-fast);
}
.mc-product-summary .product_meta a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Section heading */
.mc-product-page .mc-section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 var(--space-8);
    text-align: center;
    letter-spacing: -0.01em;
}
.mc-product-page .mc-section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: var(--space-3) auto 0;
}

/* Feature highlights */
.mc-product-highlights {
    padding: var(--space-16) 0;
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-elevated) 100%);
    border-radius: var(--pp-radius);
    margin-bottom: var(--space-16);
    padding-left: var(--space-8);
    padding-right: var(--space-8);
}
.mc-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.mc-highlight-card {
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: 18px;
    padding: var(--space-6);
    text-align: left;
    transition: transform var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}
.mc-highlight-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}
.mc-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}
.mc-highlight-icon--image {
    /* When the icon is an image, use a flat white background and let
       the image fill the chip. Keeps the rounded shape consistent. */
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    padding: 8px;
}
.mc-highlight-icon--image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.mc-highlight-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-2);
}
.mc-highlight-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
    margin: 0;
}

/* Description section */
.mc-product-details {
    margin-bottom: var(--space-16);
    padding: var(--space-10);
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: var(--pp-radius);
    box-shadow: var(--shadow-sm);
}
.mc-product-details .mc-section-heading { text-align: left; }
.mc-product-details .mc-section-heading::after { margin-left: 0; }
.mc-product-description {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-secondary);
}
.mc-product-description h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-10) 0 var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--bg-muted);
}
.mc-product-description h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.mc-product-description h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--space-8) 0 var(--space-3);
}
.mc-product-description p {
    margin-bottom: var(--space-4);
}
.mc-product-description p:last-child { margin-bottom: 0; }
.mc-product-description ul, .mc-product-description ol {
    margin: var(--space-4) 0 var(--space-6) 0;
    padding-left: 0;
    list-style: none;
}
.mc-product-description li {
    padding: var(--space-3) 0;
    padding-left: var(--space-8);
    position: relative;
    line-height: 1.7;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mc-product-description li:last-child { border-bottom: none; }
.mc-product-description ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: var(--space-3);
    width: 24px;
    height: 24px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}
.mc-product-description ol {
    counter-reset: mc-step;
}
.mc-product-description ol li {
    counter-increment: mc-step;
    padding-left: var(--space-10);
}
.mc-product-description ol li::before {
    content: counter(mc-step);
    position: absolute;
    left: 0;
    top: var(--space-2);
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}
.mc-product-description strong { color: var(--text-primary); font-weight: 600; }
.mc-product-description blockquote {
    margin: var(--space-6) 0;
    padding: var(--space-5) var(--space-6);
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-primary);
}
.mc-product-description img {
    border-radius: var(--radius-lg);
    margin: var(--space-4) 0;
    box-shadow: var(--shadow-sm);
}
.mc-product-description a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mc-product-description a:hover { color: var(--accent-hover); }
.mc-product-description table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-4) 0;
    font-size: var(--text-sm);
}
.mc-product-description th,
.mc-product-description td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--bg-muted);
}
.mc-product-description th {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-base);
}

/* ── Product Tabs (custom) ── */
.mc-product-tabs {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--bg-muted);
    overflow: hidden;
}
.mc-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--bg-muted);
    background: var(--bg-base);
}
.mc-tab-btn {
    flex: 1;
    padding: var(--space-4) var(--space-5);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
}
.mc-tab-btn:hover {
    color: var(--accent);
    background: rgba(124, 58, 237, 0.04);
}
.mc-tab-btn.is-active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: var(--bg-surface);
}
.mc-tabs-content {
    padding: var(--space-8);
}
.mc-tab-panel {
    display: none;
    animation: mc-tab-fade 250ms var(--ease-out) both;
}
.mc-tab-panel.is-active {
    display: block;
}
@keyframes mc-tab-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Legacy WC tabs (hidden — we use our own) */
.mc-product-details .woocommerce-tabs {
    display: none;
}

/* Additional info table */
.mc-attributes-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-8);
}
.mc-attributes-table th,
.mc-attributes-table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--bg-muted);
}
.mc-attributes-table th {
    width: 180px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-base);
}

/* Shipping info */
.mc-shipping-info {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--bg-muted);
}
.mc-shipping-info h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-4);
}
.mc-shipping-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-3);
}
.mc-shipping-info li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
}
.mc-shipping-info li span {
    font-size: 1.2em;
}

/* Reviews */
.mc-product-reviews {
    /* WooCommerce comments template overrides */
}
.mc-product-reviews .comment-respond {
    background: var(--bg-base);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-top: var(--space-6);
}
.mc-product-reviews .comment-reply-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}
.mc-product-reviews .comment-form-rating label {
    font-weight: 600;
    color: var(--text-primary);
}
.mc-product-reviews .stars a {
    color: var(--warning);
}
.mc-product-reviews .comment-form-author input,
.mc-product-reviews .comment-form-email input,
.mc-product-reviews .comment-form-comment textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--bg-muted);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    background: var(--bg-surface);
    color: var(--text-primary);
    transition: border-color var(--duration-fast);
    outline: none;
}
.mc-product-reviews .comment-form-author input:focus,
.mc-product-reviews .comment-form-email input:focus,
.mc-product-reviews .comment-form-comment textarea:focus {
    border-color: var(--accent);
}
.mc-product-reviews .form-submit .submit {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    padding: 12px 32px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-fast);
}
.mc-product-reviews .form-submit .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}
/* Comments / Reviews list */
.mc-comments-area {
    max-width: 760px;
}
.mc-reviews-header {
    margin-bottom: var(--space-6);
}
.mc-reviews-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
}
.mc-comments-area .commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}
.mc-comments-area .commentlist li {
    background: var(--bg-base);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    border: 1px solid var(--bg-muted);
}
.mc-comments-area .comment-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}
.mc-comments-area .avatar {
    border-radius: 50%;
}
.mc-comments-area .comment-author {
    font-weight: 600;
    color: var(--text-primary);
}
.mc-comments-area .comment-metadata {
    font-size: var(--text-xs);
    color: var(--text-muted);
}
.mc-comments-area .comment-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: var(--text-sm);
}

/* Verified owner notice */
.mc-verified-notice {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

/* Review form */
.mc-product-reviews .comment-respond {
    background: var(--bg-base);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-top: var(--space-6);
    border: 1px solid var(--bg-muted);
}
.mc-product-reviews .comment-reply-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}
.mc-product-reviews .stars a {
    color: var(--warning);
}
.mc-product-reviews .comment-form-author,
.mc-product-reviews .comment-form-email,
.mc-product-reviews .comment-form-comment {
    margin-bottom: var(--space-4);
}
.mc-product-reviews .comment-form-author label,
.mc-product-reviews .comment-form-email label,
.mc-product-reviews .comment-form-comment label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}
.mc-product-reviews .comment-form-rating label {
    font-weight: 600;
    color: var(--text-primary);
}
.mc-reviews-closed {
    color: var(--text-muted);
    font-style: italic;
    padding: var(--space-6);
    text-align: center;
    background: var(--bg-base);
    border-radius: var(--radius-lg);
    margin-top: var(--space-6);
}

/* Legacy WC tabs (kept for backward compat but hidden) */
.mc-product-details .woocommerce-tabs {
    display: none;
}
.mc-product-details .woocommerce-tabs ul.tabs {
    display: flex;
    gap: var(--space-8);
    padding: 0 0 var(--space-4) 0;
    margin: 0 0 var(--space-6) 0;
    border-bottom: 1px solid var(--bg-muted);
    list-style: none;
}
.mc-product-details .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    border-radius: 0;
}
.mc-product-details .woocommerce-tabs ul.tabs li::before,
.mc-product-details .woocommerce-tabs ul.tabs li::after { display: none; }
.mc-product-details .woocommerce-tabs ul.tabs li a {
    display: inline-block;
    padding: 6px 0;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color var(--duration-fast), border-color var(--duration-fast);
}
.mc-product-details .woocommerce-tabs ul.tabs li.active a {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.mc-product-details .woocommerce-tabs ul.tabs li a:hover { color: var(--accent); }
.mc-product-details .woocommerce-tabs .panel { padding: 0; }

/* Reviews */
.mc-product-details #reviews .commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6);
}
.mc-product-details #reviews .commentlist li {
    border-bottom: 1px solid var(--bg-muted);
    padding: var(--space-5) 0;
}
.mc-product-details #reviews .commentlist li:last-child { border-bottom: none; }
.mc-product-details #reviews .comment-form-rating { margin-bottom: var(--space-3); }
.mc-product-details #reviews .comment-form-author,
.mc-product-details #reviews .comment-form-email,
.mc-product-details #reviews .comment-form-comment { margin-bottom: var(--space-3); }
.mc-product-details #reviews label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.mc-product-details #reviews input,
.mc-product-details #reviews textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--bg-muted);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.875rem;
    background: var(--bg-base);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--duration-fast);
}
.mc-product-details #reviews input:focus,
.mc-product-details #reviews textarea:focus { border-color: var(--accent); }

/* Related */
.mc-product-related { margin-top: var(--space-12); }
.mc-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}
.mc-related-card {
    display: block;
    text-decoration: none;
    background: var(--bg-surface);
    border: 1px solid var(--bg-muted);
    border-radius: 18px;
    overflow: hidden;
    transition: transform var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}
.mc-related-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}
.mc-related-image {
    aspect-ratio: 4 / 3;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mc-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}
.mc-related-card:hover .mc-related-image img { transform: scale(1.05); }
.mc-related-info {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.mc-related-info h3 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.mc-related-info .price {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
}

/* Mobile responsive */
@media (max-width: 900px) {
    .mc-product-hero { grid-template-columns: 1fr; gap: var(--space-8); }
    .mc-product-hero .mc-product-gallery { position: static; }
    .mc-product-gallery .flex-control-thumbs li { width: 64px; }
    .mc-product-gallery .flex-control-thumbs li img { width: 64px; height: 64px; }
    .mc-highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .mc-related-grid { grid-template-columns: 1fr; }
    .mc-product-details { padding: var(--space-6); }
    .mc-product-highlights { padding: var(--space-8) var(--space-5); }
}
@media (max-width: 600px) {
    .mc-product-title { font-size: 1.75rem; }
    .mc-product-price-row { flex-direction: column; align-items: flex-start; }
    .mc-product-buybox .cart { flex-direction: column; }
    .mc-product-buybox .quantity { width: 100%; justify-content: center; }
    .mc-product-buybox .single_add_to_cart_button { width: 100%; padding: 18px 24px; }
    .mc-highlights-grid { grid-template-columns: 1fr; }
    .mc-product-page .mc-section-heading { font-size: 1.5rem; }
    .mc-color-swatches { flex-wrap: wrap; }
    .mc-color-swatch { width: 44px; height: 44px; }
    .mc-toast { right: 16px; left: 16px; bottom: 16px; max-width: none; }
}

/* ── Color Swatch Variation Selector ── */
.mc-product-buybox .variations {
    width: 100%;
    margin-bottom: var(--space-4);
}
.mc-product-buybox .variations tr {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}
.mc-product-buybox .variations th {
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
}
.mc-product-buybox .variations td {
    padding: 0;
    position: relative;
}
.mc-product-buybox .variations select {
    display: none !important;
}
.mc-product-buybox .reset_variations {
    display: none !important;
}

/* Color swatches container */
.mc-color-swatches {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

/* Individual swatch button */
.mc-color-swatch {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 2px solid var(--bg-muted);
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-surface);
    padding: 3px;
}
.mc-color-swatch:hover {
    border-color: var(--accent-light, #a78bfa);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}
.mc-color-swatch.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}
.mc-color-swatch-inner {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: block;
}
.mc-color-swatch-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6875rem;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.mc-color-swatch:hover .mc-color-swatch-label,
.mc-color-swatch.is-active .mc-color-swatch-label {
    opacity: 1;
}

/* Color mapping for swatches */
.mc-color-swatch[data-color="pink"] .mc-color-swatch-inner { background: linear-gradient(135deg, #f5c6d0, #e8a0b0); }
.mc-color-swatch[data-color="white"] .mc-color-swatch-inner { background: linear-gradient(135deg, #fff, #f3f4f6); border: 1px solid #e5e7eb; }
.mc-color-swatch[data-color="grey"] .mc-color-swatch-inner,
.mc-color-swatch[data-color="gray"] .mc-color-swatch-inner { background: linear-gradient(135deg, #9ca3af, #6b7280); }
.mc-color-swatch[data-color="blue"] .mc-color-swatch-inner { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.mc-color-swatch[data-color="black"] .mc-color-swatch-inner { background: linear-gradient(135deg, #374151, #111827); }
.mc-color-swatch[data-color="purple"] .mc-color-swatch-inner { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.mc-color-swatch[data-color="red"] .mc-color-swatch-inner { background: linear-gradient(135deg, #f87171, #ef4444); }
.mc-color-swatch[data-color="green"] .mc-color-swatch-inner { background: linear-gradient(135deg, #6ee7b7, #10b981); }
.mc-color-swatch[data-color="yellow"] .mc-color-swatch-inner { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.mc-color-swatch[data-color="orange"] .mc-color-swatch-inner { background: linear-gradient(135deg, #fdba74, #f97316); }
/* Generic fallback: show the color name text */
.mc-color-swatch[data-color=""] .mc-color-swatch-inner,
.mc-color-swatch:not([data-color]) .mc-color-swatch-inner {
    background: var(--bg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* ── Toast Notification ── */
.mc-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}
.mc-toast {
    pointer-events: auto;
    background: var(--bg-surface, #fff);
    border: 1px solid var(--bg-muted);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    max-width: 380px;
    animation: mc-toast-in 0.35s ease-out;
    backdrop-filter: blur(12px);
}
.mc-toast.is-leaving {
    animation: mc-toast-out 0.3s ease-in forwards;
}
.mc-toast-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}
.mc-toast-body {
    flex: 1;
    min-width: 0;
}
.mc-toast-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 2px;
}
.mc-toast-msg {
    font-size: 0.8125rem;
    color: var(--text-secondary, #666);
    line-height: 1.4;
}
.mc-toast-msg a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.mc-toast-msg a:hover {
    text-decoration: underline;
}
.mc-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted, #aaa);
    padding: 4px;
    font-size: 1.125rem;
    line-height: 1;
    transition: color 0.15s ease;
}
.mc-toast-close:hover {
    color: var(--text-primary);
}
@keyframes mc-toast-in {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes mc-toast-out {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to   { opacity: 0; transform: translateY(8px) scale(0.96); }
}

