/* ============================================================
   MIGHTY PRODUCT PAGE v3.0 — Complete From-Scratch Redesign
   Conversion-optimised, ultra-compact configurator
   ============================================================ */

/* 1. Design Tokens
   ------------------------------------------------------------ */
:root {
    --mp-primary: var(--mt-primary, #0f3a7a);
    --mp-primary-hover: color-mix(in srgb, var(--mp-primary) 85%, black);
    --mp-primary-light: color-mix(in srgb, var(--mp-primary) 10%, white);
    --mp-primary-glow: color-mix(in srgb, var(--mp-primary) 25%, transparent);
    --mp-success: #059669;
    --mp-success-light: #ecfdf5;
    --mp-surface: #ffffff;
    --mp-surface-alt: #f8fafc;
    --mp-text: #0f172a;
    --mp-text-secondary: #64748b;
    --mp-text-muted: #94a3b8;
    --mp-border: #e2e8f0;
    --mp-border-hover: #cbd5e1;
    --mp-radius-sm: 6px;
    --mp-radius-md: 10px;
    --mp-radius-lg: 14px;
    --mp-radius-pill: 100px;
    --mp-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --mp-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --mp-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --mp-shadow-glow: 0 0 0 3px var(--mp-primary-glow);
    --mp-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --mp-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --mp-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 2. Base Layout
   ------------------------------------------------------------ */
.mp-page {
    font-family: var(--mp-font);
    color: var(--mp-text);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 60px;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
.mp-page *,
.mp-page *::before,
.mp-page *::after {
    box-sizing: border-box;
}
.mp-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}

/* 3. Breadcrumb
   ------------------------------------------------------------ */
.mp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 0.8125rem;
    color: var(--mp-text-secondary);
}
.mp-breadcrumb a {
    color: var(--mp-text-secondary);
    text-decoration: none;
    transition: color 0.15s var(--mp-ease);
}
.mp-breadcrumb a:hover {
    color: var(--mp-primary);
}
.mp-breadcrumb-sep {
    color: var(--mp-text-muted);
    font-size: 0.75rem;
}
.mp-breadcrumb-current {
    color: var(--mp-text);
    font-weight: 500;
}

/* 4. Gallery — sticky on desktop
   ------------------------------------------------------------ */
.mp-gallery {
    position: sticky;
    top: 24px;
    align-self: start;
}
.mp-gallery__main {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--mp-radius-lg);
    overflow: hidden;
    background: var(--mp-surface-alt);
    border: 1px solid var(--mp-border);
}
.mp-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s var(--mp-ease);
}
.mp-gallery__main:hover img {
    transform: scale(1.04);
}
.mp-gallery__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mp-text-muted);
    font-size: 0.875rem;
    width: 100%;
    height: 100%;
}

/* 5. GMB Inline Rating Badge
   ------------------------------------------------------------ */
.mp-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: opacity 0.15s var(--mp-ease);
}
.mp-rating:hover {
    opacity: 0.8;
}
.mp-rating__stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1;
}
.mp-rating__count {
    font-size: 0.8125rem;
    color: var(--mp-text-secondary);
    font-weight: 500;
}

/* 6. Product Info
   ------------------------------------------------------------ */
.mp-info {
    display: flex;
    flex-direction: column;
}
.mp-title {
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 4px;
    color: var(--mp-text);
}
.mp-meta {
    font-size: 0.8125rem;
    color: var(--mp-text-secondary);
    margin-bottom: 12px;
}
.mp-meta span + span::before {
    content: ' \00b7 ';
    margin: 0 4px;
}
.mp-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.mp-price__main {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--mp-text);
    line-height: 1;
}
.mp-price__note {
    font-size: 0.8125rem;
    color: var(--mp-text-secondary);
    font-weight: 500;
}
.mp-price__ex-vat {
    font-size: 0.8125rem;
    color: var(--mp-text-muted);
}
.mp-description {
    font-size: 0.875rem;
    color: var(--mp-text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mp-separator {
    height: 1px;
    background: var(--mp-border);
    margin: 0 0 16px;
    border: none;
}

/* 7. Form & Configurator — compact layout
   ------------------------------------------------------------ */
.mp-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mp-field {
    padding: 10px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--mp-border) 50%, transparent);
}
.mp-field:last-of-type {
    border-bottom: none;
}
.mp-field__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mp-text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mp-field__label .required {
    color: #ef4444;
    font-size: 0.75rem;
}
.mp-field__label .mp-selected-name {
    font-weight: 400;
    color: var(--mp-text-secondary);
    font-size: 0.8125rem;
}
.mp-field__help {
    font-size: 0.75rem;
    color: var(--mp-text-muted);
    margin-top: 4px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 4px;
}
.mp-field__help svg {
    flex-shrink: 0;
}

/* 8. Toggle Groups (Profile Type, Anti-Con, Welts, Gauge, Type)
   ------------------------------------------------------------ */
.mp-toggle {
    display: inline-flex;
    background: var(--mp-surface-alt);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-pill);
    padding: 3px;
    gap: 2px;
}
.mp-toggle__btn {
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: none;
    background: transparent;
    color: var(--mp-text-secondary);
    border-radius: var(--mp-radius-pill);
    cursor: pointer;
    transition: all 0.2s var(--mp-ease);
    white-space: nowrap;
    line-height: 1.3;
    font-family: inherit;
}
.mp-toggle__btn:hover {
    color: var(--mp-text);
    background: rgba(0,0,0,0.04);
}
.mp-toggle__btn--active {
    background: var(--mp-surface);
    color: var(--mp-primary);
    font-weight: 600;
    box-shadow: var(--mp-shadow-sm);
}

/* 9. Attribute Buttons (non-colour options like Size)
   ------------------------------------------------------------ */
.mp-attr-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.mp-attr-btn {
    padding: 7px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1.5px solid var(--mp-border);
    background: var(--mp-surface);
    color: var(--mp-text);
    border-radius: var(--mp-radius-sm);
    cursor: pointer;
    transition: all 0.15s var(--mp-ease);
    font-family: inherit;
    line-height: 1.3;
}
.mp-attr-btn:hover {
    border-color: var(--mp-border-hover);
    background: var(--mp-surface-alt);
}
.mp-attr-btn.selected {
    border-color: var(--mp-primary);
    background: var(--mp-primary-light);
    color: var(--mp-primary);
    font-weight: 600;
    box-shadow: var(--mp-shadow-glow);
}

/* 10. Colour Swatches — ring selection, NOT background fill
   ------------------------------------------------------------ */
.mp-swatch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mp-swatch {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--mp-border);
    cursor: pointer;
    position: relative;
    transition: all 0.2s var(--mp-ease);
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}
.mp-swatch__dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: block;
    transition: transform 0.2s var(--mp-ease);
}
.mp-swatch__dot--light {
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}
.mp-swatch:hover {
    border-color: var(--mp-border-hover);
    transform: scale(1.08);
}
.mp-swatch:hover .mp-swatch__dot {
    transform: scale(1.05);
}
.mp-swatch.selected {
    border-color: var(--mp-primary);
    background: transparent;
    box-shadow: 0 0 0 3px var(--mp-primary-glow), 0 0 0 1.5px var(--mp-primary);
    transform: scale(1.08);
}
.mp-swatch.selected .mp-swatch__dot {
    transform: scale(1);
}
/* Pop animation on just-selected */
.mp-swatch.just-selected {
    animation: mp-swatch-pop 0.35s var(--mp-spring);
}
@keyframes mp-swatch-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.18); }
    100% { transform: scale(1.08); }
}
/* Tooltip on hover */
.mp-swatch[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--mp-text);
    color: white;
    font-size: 0.6875rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.15s var(--mp-ease);
    z-index: 10;
}
.mp-swatch:hover[data-tooltip]::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 11. Length Selector
   ------------------------------------------------------------ */
.mp-length-presets {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.mp-length-presets::-webkit-scrollbar { display: none; }
.mp-length-preset {
    padding: 6px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1.5px solid var(--mp-border);
    background: var(--mp-surface);
    color: var(--mp-text);
    border-radius: var(--mp-radius-pill);
    cursor: pointer;
    transition: all 0.15s var(--mp-ease);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: inherit;
    line-height: 1.3;
}
.mp-length-preset:hover {
    border-color: var(--mp-border-hover);
    background: var(--mp-surface-alt);
}
.mp-length-preset:active {
    transform: scale(0.96);
}
.mp-length-preset.active {
    border-color: var(--mp-primary);
    background: var(--mp-primary-light);
    color: var(--mp-primary);
    font-weight: 600;
}
/* Slider track */
.mp-slider-container {
    position: relative;
    padding: 8px 0 0;
}
.mp-slider {
    position: relative;
    height: 24px;
    cursor: pointer;
    touch-action: none;
}
.mp-slider__track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--mp-border);
    border-radius: 2px;
    transform: translateY(-50%);
}
.mp-slider__fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: var(--mp-primary);
    border-radius: 2px;
    transform: translateY(-50%);
    transition: width 0.05s linear;
}
.mp-slider__thumb {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--mp-surface);
    border: 2px solid var(--mp-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    transition: box-shadow 0.15s var(--mp-ease);
    z-index: 2;
}
.mp-slider__thumb:hover,
.mp-slider__thumb.dragging {
    box-shadow: var(--mp-shadow-glow);
}
.mp-slider__thumb.dragging {
    cursor: grabbing;
}
.mp-slider__thumb-label {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--mp-text);
    color: white;
    font-size: 0.6875rem;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.15s var(--mp-ease);
    pointer-events: none;
}
.mp-slider__thumb.dragging .mp-slider__thumb-label {
    opacity: 1;
}
/* Range labels */
.mp-slider__range {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: var(--mp-text-muted);
    margin-top: 2px;
}
/* Length input row */
.mp-length-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.mp-length-input-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}
.mp-length-input-wrap label {
    font-size: 0.8125rem;
    color: var(--mp-text-secondary);
    font-weight: 500;
}
.mp-length-input {
    width: 72px;
    padding: 5px 8px;
    border: 1.5px solid var(--mp-border);
    border-radius: var(--mp-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    color: var(--mp-text);
    font-family: inherit;
    transition: border-color 0.15s var(--mp-ease);
    -moz-appearance: textfield;
}
.mp-length-input::-webkit-inner-spin-button,
.mp-length-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.mp-length-input:focus {
    outline: none;
    border-color: var(--mp-primary);
    box-shadow: var(--mp-shadow-glow);
}
.mp-length-unit {
    font-size: 0.8125rem;
    color: var(--mp-text-secondary);
    font-weight: 500;
}
.mp-length-price {
    font-size: 0.8125rem;
    color: var(--mp-text-secondary);
    margin-left: auto;
}

/* 12. Order Summary Card (with quantity inside)
   ------------------------------------------------------------ */
.mp-summary {
    background: var(--mp-surface-alt);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-md);
    padding: 14px 16px;
    margin-top: 12px;
}
/* Quantity row inside summary */
.mp-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--mp-border);
}
.mp-qty-row__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mp-text);
}
.mp-qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--mp-border);
    border-radius: var(--mp-radius-sm);
    overflow: hidden;
    background: var(--mp-surface);
}
.mp-qty__btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--mp-text);
    font-size: 1.125rem;
    cursor: pointer;
    transition: background 0.1s var(--mp-ease);
    font-family: inherit;
    line-height: 1;
}
.mp-qty__btn:hover {
    background: var(--mp-surface-alt);
}
.mp-qty__btn:active {
    transform: scale(1.05);
}
.mp-qty__input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--mp-border);
    border-right: 1px solid var(--mp-border);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mp-text);
    padding: 5px 0;
    font-family: inherit;
    -moz-appearance: textfield;
}
.mp-qty__input::-webkit-inner-spin-button,
.mp-qty__input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}
.mp-qty__input:focus {
    outline: none;
}
/* Summary rows */
.mp-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    font-size: 0.8125rem;
}
.mp-summary__label {
    color: var(--mp-text-secondary);
}
.mp-summary__value {
    font-weight: 600;
    color: var(--mp-text);
}
.mp-summary__divider {
    height: 1px;
    background: var(--mp-border);
    margin: 6px 0;
}
.mp-summary__row--vat .mp-summary__label,
.mp-summary__row--vat .mp-summary__value {
    font-size: 0.75rem;
    color: var(--mp-text-muted);
}
/* Weight row */
.mp-summary__row--weight {
    display: none;
}
.mp-summary__row--weight.visible {
    display: flex;
}

/* 13. Stock / Delivery Indicator
   ------------------------------------------------------------ */
.mp-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    margin-top: 14px;
}
.mp-stock__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mp-success);
    flex-shrink: 0;
    animation: mp-pulse 2s infinite;
}
@keyframes mp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.mp-stock__text {
    font-weight: 600;
    color: var(--mp-success);
}
.mp-stock__sep {
    color: var(--mp-text-muted);
}
.mp-stock__dispatch {
    color: var(--mp-text-secondary);
}

/* 14. CTA Section — Total + Button on SAME LINE
   ------------------------------------------------------------ */
.mp-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
}
.mp-cta__total {
    display: flex;
    flex-direction: column;
}
.mp-cta__total-label {
    font-size: 0.75rem;
    color: var(--mp-text-secondary);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 2px;
}
.mp-cta__total-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--mp-text);
    line-height: 1.1;
}
.mp-cta__total-note {
    font-size: 0.75rem;
    color: var(--mp-text-muted);
    font-weight: 400;
}
.mp-cta__btn {
    flex: 1;
    max-width: 260px;
    padding: 14px 24px;
    background: var(--mp-primary);
    color: white;
    border: none;
    border-radius: var(--mp-radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s var(--mp-ease);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    line-height: 1.3;
}
.mp-cta__btn:hover {
    background: var(--mp-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--mp-shadow-md);
}
.mp-cta__btn:active {
    transform: translateY(0);
}
/* Shimmer effect */
.mp-cta__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: mp-shimmer 3s infinite;
}
@keyframes mp-shimmer {
    0% { left: -75%; }
    100% { left: 125%; }
}
/* Ripple effect */
.mp-cta__btn .mp-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transform: scale(0);
    animation: mp-ripple 0.6s linear;
    pointer-events: none;
}
@keyframes mp-ripple {
    to { transform: scale(4); opacity: 0; }
}
/* Success state */
.mp-cta__btn.mp-cta__btn--success {
    background: var(--mp-success);
    pointer-events: none;
}
.mp-cta__btn--success .mp-cta__btn-text { display: none; }
.mp-cta__btn--success .mp-cta__btn-success { display: flex; align-items: center; gap: 6px; }
.mp-cta__btn-success { display: none; }

/* 15. Trust Strip
   ------------------------------------------------------------ */
.mp-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--mp-border);
}
.mp-trust__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    color: var(--mp-text-secondary);
    line-height: 1.3;
}
.mp-trust__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--mp-primary);
}

/* 16. Mobile Sticky CTA Bar
   ------------------------------------------------------------ */
.mp-sticky-cta {
    display: flex;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--mp-surface);
    border-top: 1px solid var(--mp-border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transform: translateY(100%);
    transition: transform 0.3s var(--mp-ease), visibility 0s 0.3s;
}
.mp-sticky-cta.visible {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: transform 0.3s var(--mp-ease), visibility 0s;
}
.mp-sticky-cta__price {
    display: flex;
    flex-direction: column;
}
.mp-sticky-cta__total {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--mp-text);
    line-height: 1;
}
.mp-sticky-cta__note {
    font-size: 0.6875rem;
    color: var(--mp-text-muted);
}
.mp-sticky-cta__btn {
    flex: 1;
    max-width: 200px;
    padding: 12px 20px;
    background: var(--mp-primary);
    color: white;
    border: none;
    border-radius: var(--mp-radius-md);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s var(--mp-ease);
}
.mp-sticky-cta__btn:hover {
    background: var(--mp-primary-hover);
}

/* 17. Selected Variation Info Badge
   ------------------------------------------------------------ */
.mp-variation-info {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--mp-success-light);
    border-radius: var(--mp-radius-sm);
    margin-top: 8px;
    font-size: 0.75rem;
    color: #065f46;
    animation: mp-fade-in 0.2s var(--mp-ease);
}
.mp-variation-info.visible {
    display: flex;
}
.mp-variation-info__check {
    font-weight: 700;
    color: var(--mp-success);
}

/* 18. Reviews Section — WP Social Reviews overrides
   ------------------------------------------------------------ */
.mp-reviews {
    margin-bottom: 48px;
}
.mp-reviews .mp-section-title {
    margin-bottom: 24px;
}
/* WP Social Reviews integration overrides */
.mp-reviews .wpsr-google-review .wpsr_gm_review_body,
.mp-reviews .wp-social-ninja-reviews-wrap {
    font-family: var(--mp-font) !important;
}
.mp-reviews .wpsr-review-template {
    border-radius: var(--mp-radius-md) !important;
    border: 1px solid var(--mp-border) !important;
    box-shadow: none !important;
}
.mp-reviews .wpsr-review-template:hover {
    box-shadow: var(--mp-shadow-sm) !important;
}
.mp-reviews .wpsr-google-review-wrap {
    gap: 16px !important;
}
.mp-reviews .wpsr-review-header .wpsr-review-platform-icon {
    display: inline-flex !important;
}

/* 19. Section Titles
   ------------------------------------------------------------ */
.mp-section-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--mp-text);
    text-align: center;
    margin: 0 0 24px;
    line-height: 1.3;
}

/* 20. Accordion Component (Details, Specs, FAQ)
   ------------------------------------------------------------ */
.mp-accordion-section {
    margin-bottom: 32px;
}
.mp-accordion {
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-md);
    overflow: hidden;
}
.mp-accordion__item {
    border-bottom: 1px solid var(--mp-border);
}
.mp-accordion__item:last-child {
    border-bottom: none;
}
.mp-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--mp-text);
    background: var(--mp-surface);
    cursor: pointer;
    list-style: none;
    font-family: inherit;
    transition: background 0.15s var(--mp-ease);
}
.mp-accordion__trigger:hover {
    background: var(--mp-surface-alt);
}
.mp-accordion__trigger::-webkit-details-marker {
    display: none;
}
.mp-accordion__trigger::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--mp-text-muted);
    border-bottom: 2px solid var(--mp-text-muted);
    transform: rotate(45deg);
    transition: transform 0.2s var(--mp-ease);
    flex-shrink: 0;
}
details[open] > .mp-accordion__trigger::after {
    transform: rotate(-135deg);
}
.mp-accordion__content {
    padding: 0 18px 16px;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--mp-text-secondary);
}
.mp-accordion__content p {
    margin: 0 0 12px;
}
.mp-accordion__content p:last-child {
    margin-bottom: 0;
}
/* Specs table */
.mp-specs-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
    margin: 0;
    padding: 0;
}
.mp-spec-row {
    display: contents;
}
.mp-spec-row dt {
    padding: 8px 16px 8px 0;
    font-weight: 600;
    color: var(--mp-text);
    border-bottom: 1px solid var(--mp-border);
    font-size: 0.875rem;
}
.mp-spec-row dd {
    padding: 8px 0;
    margin: 0;
    border-bottom: 1px solid var(--mp-border);
    font-size: 0.875rem;
}
.mp-spec-row:last-child dt,
.mp-spec-row:last-child dd {
    border-bottom: none;
}

/* 21. Why Choose Mighty
   ------------------------------------------------------------ */
.mp-why {
    margin-bottom: 48px;
}
.mp-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.mp-why__card {
    text-align: center;
    padding: 24px 16px;
    background: var(--mp-surface);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-md);
    transition: all 0.25s var(--mp-ease);
}
.mp-why__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--mp-shadow-md);
    border-color: var(--mp-border-hover);
}
.mp-why__icon {
    width: 36px;
    height: 36px;
    color: var(--mp-primary);
    margin: 0 auto 12px;
}
.mp-why__card h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--mp-text);
}
.mp-why__card p {
    font-size: 0.8125rem;
    color: var(--mp-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* 22. Related Products Slider
   ------------------------------------------------------------ */
.mp-related {
    margin-bottom: 48px;
}
.mp-related__wrap {
    position: relative;
}
.mp-related__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}
.mp-related__track::-webkit-scrollbar { display: none; }
.mp-related__card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-md);
    overflow: hidden;
    background: var(--mp-surface);
    transition: all 0.25s var(--mp-ease);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.mp-related__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--mp-shadow-md);
}
.mp-related__card-img {
    width: 100%;
    aspect-ratio: 1;
    background: var(--mp-surface-alt);
    position: relative;
    overflow: hidden;
}
.mp-related__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mp-related__card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--mp-primary);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--mp-radius-pill);
}
.mp-related__card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mp-related__card-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--mp-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mp-related__card-category {
    font-size: 0.6875rem;
    color: var(--mp-text-muted);
    margin-bottom: 8px;
}
.mp-related__card-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--mp-text);
    margin-top: auto;
    margin-bottom: 8px;
}
.mp-related__card-price span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--mp-text-muted);
}
.mp-related__card-cta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mp-primary);
}
.mp-related__card-delivery {
    font-size: 0.6875rem;
    color: var(--mp-text-muted);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.mp-related__card-delivery-dot {
    width: 6px;
    height: 6px;
    background: var(--mp-success);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
/* Slider nav arrows */
.mp-related__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--mp-border);
    background: var(--mp-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--mp-text);
    cursor: pointer;
    z-index: 5;
    box-shadow: var(--mp-shadow-sm);
    transition: all 0.15s var(--mp-ease);
    font-family: inherit;
}
.mp-related__nav:hover {
    background: var(--mp-surface-alt);
    box-shadow: var(--mp-shadow-md);
}
.mp-related__nav--prev { left: -12px; }
.mp-related__nav--next { right: -12px; }

/* 23. Animations & Scroll Reveal
   ------------------------------------------------------------ */
.mp-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--mp-ease), transform 0.6s var(--mp-ease);
}
.mp-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered children */
.mp-reveal-stagger > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--mp-ease), transform 0.5s var(--mp-ease);
}
.mp-reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}
.mp-reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.mp-reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.05s; }
.mp-reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.1s; }
.mp-reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.15s; }
.mp-reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.2s; }
.mp-reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.25s; }
/* Page load fade-in */
@keyframes mp-fade-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.mp-animate-in {
    animation: mp-fade-in 0.45s var(--mp-ease) forwards;
}
/* Price counter animation */
.mp-price-animating {
    animation: mp-price-tick 0.2s var(--mp-ease);
}
@keyframes mp-price-tick {
    0% { transform: translateY(0); opacity: 1; }
    40% { transform: translateY(-6px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .mp-reveal { opacity: 1; transform: none; }
    .mp-reveal-stagger > * { opacity: 1; transform: none; }
}

/* 24. Admin Hints
   ------------------------------------------------------------ */
.mp-admin-hint {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: var(--mp-radius-md);
    padding: 14px 18px;
    font-size: 0.8125rem;
    color: #92400e;
    line-height: 1.5;
}
.mp-admin-hint a {
    color: #92400e;
    font-weight: 600;
    text-decoration: underline;
}

/* 25. Responsive — 900px (tablet / single-column)
   ------------------------------------------------------------ */
@media (max-width: 900px) {
    .mp-page {
        padding: 0 16px 80px;
    }
    .mp-hero {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mp-gallery {
        position: static;
    }
    .mp-title {
        font-size: 1.375rem;
    }
    .mp-price__main {
        font-size: 1.5rem;
    }
    .mp-cta__btn {
        max-width: none;
    }
    .mp-trust {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .mp-why__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mp-related__card {
        flex: 0 0 220px;
    }
    .mp-related__nav {
        display: none;
    }
}

/* 26. Responsive — 640px
   ------------------------------------------------------------ */
@media (max-width: 640px) {
    .mp-page {
        padding: 0 12px 80px;
    }
    .mp-hero {
        gap: 16px;
    }
    .mp-title {
        font-size: 1.25rem;
    }
    .mp-price__main {
        font-size: 1.375rem;
    }
    .mp-section-title {
        font-size: 1.125rem;
    }
    .mp-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .mp-cta__total {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }
    .mp-cta__btn {
        max-width: none;
    }
    .mp-why__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .mp-why__card {
        padding: 16px 12px;
    }
    .mp-related__card {
        flex: 0 0 200px;
    }
}

/* 27. Responsive — 480px
   ------------------------------------------------------------ */
@media (max-width: 480px) {
    .mp-swatch {
        width: 34px;
        height: 34px;
    }
    .mp-swatch__dot {
        width: 24px;
        height: 24px;
    }
    .mp-trust {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .mp-why__grid {
        grid-template-columns: 1fr;
    }
    .mp-related__card {
        flex: 0 0 180px;
    }
    .mp-sticky-cta {
        flex-direction: row;
        padding: 8px 12px;
    }
    .mp-sticky-cta__btn {
        max-width: none;
        flex: 1;
    }
}

/* ============================================================
   CUSTOM FLASHING — Compact Header + Full-Width Builder
   ============================================================ */
.mp-flashing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--mp-border);
}
.mp-flashing-header__left {
    flex: 1;
    min-width: 0;
}
.mp-flashing-header__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--mp-text);
}
.mp-flashing-header__subtitle {
    font-size: 0.8125rem;
    color: var(--mp-text-secondary);
    margin: 2px 0 0;
}
.mp-flashing-header__right {
    flex-shrink: 0;
    margin-left: 24px;
}
.mp-flashing-header__pricing {
    font-size: 0.875rem;
    color: var(--mp-text-secondary);
    font-style: italic;
}
.mp-flashing-builder-section--fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}
/* Full-viewport custom flashing builder — fixed overlay covers entire viewport */
.mp-page--flashing-fullscreen {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    /* position:fixed removes from document flow — WP header can't push it down */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important; /* dynamic viewport height for mobile browser chrome */
    z-index: 9999 !important;
    touch-action: none;
    overscroll-behavior: contain;
}
.mp-page--flashing-fullscreen .mp-flashing-builder-section--fullwidth {
    width: 100%;
    margin-left: 0;
    height: 100% !important;
    touch-action: none;
}
.mp-page--flashing-fullscreen #mighty-flashing-builder-root {
    height: 100% !important;
    touch-action: none;
    overscroll-behavior: contain;
}

/* Lock html + body scroll when flashing page is active */
html:has(.mp-page--flashing-fullscreen),
html:has(.mp-page--flashing-fullscreen) body {
    overflow: hidden !important;
    height: 100% !important;
    overscroll-behavior: none !important;
}

/* Fallback for browsers without :has() */
html.mighty-flashing-active,
html.mighty-flashing-active body {
    overflow: hidden !important;
    height: 100% !important;
    overscroll-behavior: none !important;
}
body.mighty-flashing-active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
}
