/**
 * Mighty CRM Integration Styles
 * Native, optimized product pages with modern layout
 */

:root {
    --mighty-primary: #0A1E5E;
    --mighty-primary-dark: #061440;
    --mighty-secondary: #0A1E5E;
    --mighty-border: #ddd;
    --mighty-bg: #f5f5f5;
    --mighty-text: #333;
    --mighty-success: #28a745;
    --mighty-error: #dc3545;
    --mighty-radius: 8px;
    --mighty-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --mighty-shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
}

/* Base layout */
.mighty-products-archive,
.mighty-product-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.mighty-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Breadcrumbs */
.mighty-breadcrumb {
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: #666;
}

.mighty-breadcrumb a {
    color: var(--mighty-primary);
    text-decoration: none;
}

.mighty-breadcrumb a:hover {
    text-decoration: underline;
}

.mighty-breadcrumb-sep {
    margin: 0 6px;
    opacity: 0.6;
}

.mighty-breadcrumb-current {
    color: var(--mighty-text);
}

/* Screen reader utility */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Archive header */
.mighty-archive-header {
    margin-bottom: 32px;
}

.mighty-archive-title {
    margin: 0 0 8px 0;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.03em;
}

.mighty-archive-meta {
    margin: 0;
    font-size: 0.9375rem;
    color: #6b7280;
}

/* Search bar */
.mighty-search-bar {
    margin-bottom: 24px;
}
.mighty-search-form {
    position: relative;
    max-width: 440px;
}
.mighty-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}
.mighty-search-form input[type="search"] {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.mighty-search-form input[type="search"]:focus {
    outline: none;
    border-color: #0A1E5E;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(10, 30, 94, 0.08);
}

/* Category pill filters */
.mighty-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}
.mighty-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid #e5e7eb;
    color: #374151;
    background: #fff;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.mighty-pill:hover {
    border-color: #0A1E5E;
    color: #0A1E5E;
    background: #f0f4ff;
}
.mighty-pill--active {
    background: #0A1E5E;
    color: #fff;
    border-color: #0A1E5E;
    box-shadow: 0 2px 8px rgba(10, 30, 94, 0.2);
}
.mighty-pill--active:hover {
    background: #061440;
    color: #fff;
    border-color: #061440;
}

/* Legacy filter form support */
.mighty-product-filters,
.product-filters {
    margin-bottom: 32px;
    padding: 20px 24px;
    background: #fff;
    border-radius: var(--mighty-radius);
    box-shadow: var(--mighty-shadow);
}
.mighty-filter-form,
.filter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.mighty-filter-btn,
.filter-form button {
    padding: 10px 20px;
    background: var(--mighty-primary);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s;
}
.mighty-filter-btn:hover,
.filter-form button:hover {
    background: var(--mighty-primary-dark);
}

/* Products grid - modern responsive */
.mighty-products-grid,
.products-grid {
    margin-top: 24px;
}

.mighty-product-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* Product card - modern elevated design */
.mighty-product-card,
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.mighty-product-card:hover,
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
    border-color: transparent;
}

.mighty-product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.mighty-product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    text-decoration: none;
    color: inherit;
}

.mighty-product-card-link:hover .mighty-product-cta {
    background: #0A1E5E;
    color: #fff;
}

/* Product image - clean ratio */
.mighty-product-image,
.product-image {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 4/3;
    flex-shrink: 0;
}

.mighty-product-image img,
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mighty-product-card:hover .mighty-product-image img,
.product-card:hover .product-image img {
    transform: scale(1.06);
}

.mighty-product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.mighty-placeholder-text {
    font-size: 0.75rem;
    color: #adb5bd;
    font-weight: 500;
}

/* Product info - clean spacing */
.mighty-product-info,
.product-info {
    padding: 16px 18px 18px;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mighty-product-category {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0A1E5E;
    background: #eef2ff;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    width: fit-content;
}

h2.mighty-product-title,
.mighty-product-title,
.product-info h3 {
    margin: 0 0 10px 0 !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em;
    display: block !important;
    overflow: hidden;
    max-height: 2.7em;
}

.mighty-product-title a,
.product-info h3 a {
    color: #1a1a2e !important;
    font-size: 0.9375rem !important;
    text-decoration: none;
    transition: color 0.2s;
}

.mighty-product-title a:hover,
.product-info h3 a:hover {
    color: #0A1E5E !important;
}

/* Excerpt - hidden for compact cards */
.mighty-product-excerpt,
.product-description {
    display: none;
}

/* Price block - modern layout */
.mighty-product-price-wrap,
.mighty-product-price-block {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.mighty-product-price-original {
    font-size: 0.8rem;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: line-through;
}

.mighty-product-price,
.product-price {
    display: inline !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.mighty-product-price-suffix,
.mighty-product-price-note {
    display: inline;
    font-size: 0.7rem;
    font-weight: 500;
    color: #6b7280;
    margin-left: 4px;
}

.mighty-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0A1E5E;
    margin-top: 12px;
    padding: 8px 16px;
    border: 1.5px solid #0A1E5E;
    border-radius: 6px;
    transition: all 0.25s ease;
    text-align: center;
    justify-content: center;
}

/* Empty state */
.mighty-empty-state {
    padding: 40px 24px;
    text-align: center;
    background: #fff;
    border-radius: var(--mighty-radius);
    border: 1px dashed var(--mighty-border);
}

.mighty-empty-title {
    margin: 0 0 8px 0;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Legacy compatibility */
.view-product-button,
.add-to-cart-button {
    width: 100%;
    padding: 12px 20px;
    background: var(--mighty-primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s;
    margin-top: auto;
}

.view-product-button:hover,
.add-to-cart-button:hover {
    background: var(--mighty-primary-dark);
    transform: translateY(-1px);
}

/* Single Product - Now uses modal design */
.mighty-product-single {
    padding: 20px;
}

/* Legacy styles for backwards compatibility */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.product-images {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.product-images img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-info h1 {
    font-size: 2em;
    margin: 0 0 15px 0;
    font-weight: 700;
    color: var(--mighty-text);
}

.product-description {
    font-size: 1em;
    line-height: 1.6;
    color: #666;
    margin: 20px 0;
}

.product-price {
    font-size: 1.8em;
    font-weight: 700;
    color: #111827;
    margin: 20px 0;
}

.cart-success-message {
    padding: 15px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    margin: 15px 0;
    color: #155724;
}

.cart-success-message a {
    color: #155724;
    text-decoration: underline;
    font-weight: 600;
}

/* Mini Cart Widget */
.mighty-mini-cart {
    position: relative;
    display: inline-block;
}

.mighty-mini-cart-icon {
    position: relative;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mighty-text);
    text-decoration: none;
    transition: color 0.3s;
}

.mighty-mini-cart-icon:hover {
    color: #111827;
}

.mighty-mini-cart-icon svg {
    width: 26px;
    height: 26px;
}

/* Hide the "Cart" text label */
.mighty-cart-text {
    display: none;
}

.mighty-cart-count {
    position: absolute;
    top: 2px;
    right: -2px;
    background: #059669;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.mighty-cart-count:empty {
    display: none;
}

/* Sidebar Cart */
.mighty-sidebar-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mighty-sidebar-cart.open {
    right: 0;
}

.mighty-sidebar-cart-header {
    padding: 20px;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    color: #111827;
}

.mighty-sidebar-cart-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mighty-sidebar-cart-header h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
}

.mighty-sidebar-cart-close {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.mighty-sidebar-cart-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.mighty-sidebar-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.mighty-sidebar-cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.mighty-sidebar-cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.mighty-sidebar-cart-item-info {
    flex: 1;
}

.mighty-sidebar-cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.mighty-sidebar-cart-item-attributes {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.mighty-sidebar-cart-item-price {
    font-weight: 700;
    color: #111827;
    font-size: 14px;
}

.mighty-sidebar-cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.mighty-sidebar-cart-item-quantity input {
    width: 60px;
    padding: 5px;
    border: 1px solid var(--mighty-border);
    border-radius: 4px;
    text-align: center;
}

.mighty-sidebar-cart-item-remove {
    background: none;
    border: none;
    color: var(--mighty-error);
    cursor: pointer;
    padding: 5px;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.mighty-sidebar-cart-item-remove:hover {
    opacity: 1;
}

.mighty-sidebar-cart-footer {
    padding: 20px;
    border-top: 2px solid var(--mighty-border);
    background: #f9f9f9;
}

.mighty-sidebar-cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.mighty-sidebar-cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2em;
    font-weight: 700;
    color: #111827;
    padding-top: 10px;
    border-top: 1px solid var(--mighty-border);
    margin-top: 10px;
}

.mighty-sidebar-cart-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mighty-sidebar-cart-actions .button {
    width: 100%;
    text-align: center;
}

.mighty-sidebar-cart-continue {
    order: -1;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    margin: 0 0 4px;
    background: none;
    border: 0;
    color: #0A1E5E;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.18s;
}
.mighty-sidebar-cart-continue:hover,
.mighty-sidebar-cart-continue:focus-visible {
    color: #2563EB;
    text-decoration-thickness: 2px;
    outline: none;
}
.mighty-sidebar-cart-continue svg {
    transition: transform 0.18s;
}
.mighty-sidebar-cart-continue:hover svg {
    transform: translateX(-2px);
}

.mighty-sidebar-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mighty-sidebar-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Cart Page */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cart-table th {
    background: var(--mighty-bg);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--mighty-border);
}

.cart-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.cart-quantity {
    width: 80px;
    padding: 8px;
    border: 1px solid var(--mighty-border);
    border-radius: 4px;
    text-align: center;
}

.cart-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Checkout */
.checkout-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.checkout-form h2 {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 600;
    color: var(--mighty-text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.payment-methods {
    margin-top: 20px;
}

.payment-methods label {
    display: block;
    margin-bottom: 15px;
    padding: 15px;
    border: 2px solid var(--mighty-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.payment-methods label:hover {
    border-color: var(--mighty-primary);
    background: #f9f9f9;
}

.payment-methods input[type="radio"]:checked + strong,
.payment-methods label:has(input[type="radio"]:checked) {
    border-color: var(--mighty-primary);
    background: #f0f7ff;
}

.payment-methods input[type="radio"] {
    margin-right: 10px;
}

.payment-methods strong {
    display: block;
    margin-bottom: 5px;
}

.payment-methods small {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

.order-items {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--mighty-border);
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.order-item:last-child {
    border-bottom: none;
}

.order-totals {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--mighty-border);
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1em;
}

.total-row.total {
    font-size: 1.4em;
    font-weight: 700;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--mighty-border);
    color: #111827;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--mighty-primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}

.button:hover {
    background: var(--mighty-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.button-primary {
    background: var(--mighty-secondary);
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Checkout — Place Order full-width at bottom */
.checkout-place-order {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--mighty-border);
    text-align: center;
}
.checkout-place-order-btn {
    width: 100%;
    max-width: 480px;
    padding: 16px 32px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}
.checkout-terms-note {
    margin-top: 12px;
    font-size: 0.8125rem;
    color: #6b7280;
}
.checkout-terms-note a {
    color: var(--mighty-primary);
    text-decoration: underline;
}

/* Checkout — Order summary sticky */
.order-summary-sticky {
    position: sticky;
    top: 100px;
}

/* Checkout — Delivery/Collection card */
.delivery-collection-card {
    border: 1px solid var(--mighty-border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}
.delivery-method-choice {
    margin-bottom: 16px;
}
.delivery-method-option {
    display: block;
    padding: 12px 14px;
    margin-bottom: 8px;
    border: 2px solid var(--mighty-border);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.delivery-method-option:hover {
    border-color: #9ca3af;
}
.delivery-method-option:has(input:checked) {
    border-color: var(--mighty-primary);
    background: #f0f7ff;
}
.delivery-method-option small {
    display: block;
    color: #666;
    margin-top: 4px;
    font-size: 0.85em;
}
.delivery-calculator-hidden { display: none; }
.delivery-postcode-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}
.delivery-postcode-group { flex: 1; }
.delivery-btn-group { display: flex; align-items: flex-end; }
.delivery-result-hidden { display: none; }
.delivery-result-box {
    margin-top: 12px;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 6px;
    border: 1px solid #a5d6a7;
}
.delivery-result-text { margin: 0; font-weight: 600; }
.delivery-result-details { margin: 4px 0 0 0; font-size: 14px; color: #2e7d32; }
.delivery-error-box {
    margin-top: 12px;
    padding: 12px;
    background: #ffebee;
    border-radius: 6px;
    border: 1px solid #ef9a9a;
    color: #c62828;
}
.delivery-error-box p { margin: 0; }
.delivery-loading { margin-top: 12px; color: #666; }

/* Checkout — Payment method options */
.payment-method-option {
    display: block;
    padding: 12px 14px;
    margin-bottom: 10px;
    border: 2px solid var(--mighty-border);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.payment-method-option:hover {
    border-color: #9ca3af;
}
.payment-method-option:has(input:checked) {
    border-color: var(--mighty-primary);
    background: #f0f7ff;
}
.payment-method-option small {
    display: block;
    color: #666;
    margin-top: 4px;
    font-size: 0.85em;
}
.shipping-fields-hidden { display: none; }
.stripe-element-hidden { display: none; }
.checkout-checkbox-label { cursor: pointer; }

/* Responsive - mobile first enhancements */
@media (max-width: 768px) {
    .mighty-products-archive,
    .mighty-product-single {
        padding: 16px;
    }

    .mighty-product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .mighty-product-info,
    .product-info {
        padding: 12px 14px 14px;
    }

    .mighty-product-title,
    .product-info h3,
    .mighty-product-title a,
    .product-info h3 a {
        font-size: 0.8125rem !important;
    }

    .mighty-product-cta {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .mighty-category-pills {
        gap: 6px;
    }

    .mighty-pill {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .mighty-filter-form,
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .mighty-filter-form input,
    .mighty-filter-form select,
    .filter-form input,
    .filter-form select {
        min-width: 100%;
    }
    
    .product-details,
    .checkout-columns {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .mighty-sidebar-cart {
        width: 100%;
        right: -100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
 * MIGHTY UNIFIED CARD SYSTEM — Notched corner-slit brand card
 * Applies consistently to: shop archive products, related products,
 * any .mighty-product-card instance site-wide.
 * Mirrors the homepage .mh-pc geometry for visual cohesion.
 * ═══════════════════════════════════════════════════════════ */

/* Grid — cleaner minmax, larger gap */
.mighty-product-list {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 22px !important;
    padding: 8px 2px 8px !important; /* room for drop-shadow bleed */
    overflow: visible !important;
}

/* Reset card container — no rounded box, no border, no own bg (clip-path owns the shape) */
.mighty-product-card,
.product-card {
    position: relative !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    padding: 0 !important;
    list-style: none !important;
    transition: transform .35s cubic-bezier(.2,.8,.2,1) !important;
}

.mighty-product-card-inner {
    position: relative !important;
    background: linear-gradient(180deg,#ffffff 0%,#ffffff 62%,#f8fafc 62%,#f8fafc 100%) !important;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
    -webkit-clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
    filter: drop-shadow(0 6px 18px rgba(10,30,94,.09)) drop-shadow(0 2px 4px rgba(10,30,94,.04)) !important;
    transition: filter .35s !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
}

.mighty-product-card:hover {
    transform: translateY(-6px) !important;
}
.mighty-product-card:hover .mighty-product-card-inner {
    filter: drop-shadow(0 18px 36px rgba(10,30,94,.22)) drop-shadow(0 4px 8px rgba(10,30,94,.08)) !important;
}

/* Accent stripe — top-left, expands on hover */
.mighty-product-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 80px; height: 4px;
    background: linear-gradient(90deg,#0A1E5E,#2563EB);
    z-index: 5;
    transition: width .35s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
}
.mighty-product-card:hover::before { width: 160px; }

/* Navy corner triangle — top-right */
.mighty-product-card::after {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 28px; height: 28px;
    background: #0A1E5E;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 0);
    z-index: 4;
    transition: background .3s;
    pointer-events: none;
}
.mighty-product-card:hover::after { background: #2563EB; }

/* Focus-visible keyboard outline via inner card */
.mighty-product-card:focus-within .mighty-product-card-inner {
    filter: drop-shadow(0 0 0 3px rgba(37,99,235,.6)) drop-shadow(0 18px 36px rgba(10,30,94,.22)) !important;
}

/* Card link wrapper */
.mighty-product-card-link {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    text-decoration: none !important;
    color: inherit !important;
    padding: 0 !important;
}

/* Image area — contain, not cover, for our Cladco-style AI images with whitespace */
.mighty-product-image,
.product-image {
    position: relative !important;
    aspect-ratio: 4/3 !important;
    background: transparent !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px 12px 8px !important;
}
.mighty-product-image::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 20px;
    background: linear-gradient(180deg,transparent,rgba(248,250,252,.6));
    pointer-events: none;
}
.mighty-product-image img,
.product-image img {
    width: 92% !important;
    height: 92% !important;
    object-fit: contain !important;
    transition: transform .5s cubic-bezier(.2,.8,.2,1) !important;
}
.mighty-product-card:hover .mighty-product-image img {
    transform: scale(1.06) !important;
}

/* Info area */
.mighty-product-info,
.product-info {
    padding: 14px 22px 22px !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
}

/* Category pill → accent text label */
.mighty-product-category {
    display: inline-block !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #2563EB !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 6px !important;
    border-radius: 0 !important;
}

h2.mighty-product-title,
.mighty-product-title,
.product-info h3 {
    margin: 0 0 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -.005em !important;
    color: #0f172a !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 38px !important;
    max-height: none !important;
}
.mighty-product-title a,
.product-info h3 a {
    color: #0f172a !important;
    font-size: 14px !important;
}

/* Price block — branded navy price, clean no top border */
.mighty-product-price-wrap,
.mighty-product-price-block {
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid #f1f5f9 !important;
}
.mighty-product-price,
.product-price {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0A1E5E !important;
    letter-spacing: -.01em !important;
}
.mighty-product-price-suffix,
.mighty-product-price-note {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-left: 4px !important;
    letter-spacing: .02em !important;
}

/* CTA — stays branded, hover inherits card hover */
.mighty-product-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0A1E5E !important;
    margin-top: 12px !important;
    padding: 8px 14px !important;
    border: 1.5px solid #0A1E5E !important;
    border-radius: 999px !important;
    transition: all .25s ease !important;
    text-align: center !important;
    justify-content: center !important;
    align-self: flex-start !important;
}
.mighty-product-card-link:hover .mighty-product-cta {
    background: #0A1E5E !important;
    color: #fff !important;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .mighty-product-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    .mighty-product-info,
    .product-info {
        padding: 12px 16px 18px !important;
    }
    .mighty-product-title,
    .mighty-product-title a,
    .product-info h3,
    .product-info h3 a {
        font-size: 13px !important;
    }
    .mighty-product-price,
    .product-price {
        font-size: 15px !important;
    }
    .mighty-product-cta {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
    .mighty-product-card::before { width: 60px; }
    .mighty-product-card:hover::before { width: 120px; }
    .mighty-product-card-inner {
        clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
        -webkit-clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
    }
    .mighty-product-card::after {
        width: 22px; height: 22px;
    }
}

/* ═══ Ensure hover image zoom also respects contain fit ═══ */
.mighty-product-card:hover .mighty-product-image img,
.product-card:hover .product-image img {
    transform: scale(1.06) !important;
}

/* ═══ Archive layout — left filter sidebar + main grid ═══ */
.mighty-archive-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}
.mighty-archive-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
}
.mighty-archive-sidebar__toggle {
    display: none;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0A1E5E;
    cursor: pointer;
    margin-bottom: 12px;
}
.mighty-archive-sidebar__panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 22px 22px 26px;
    background: #fff;
    border: 1px solid #e6e9ee;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.mighty-archive-filter__title {
    margin: 0 0 12px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}
.mighty-archive-filter .mighty-search-form {
    max-width: none;
}
.mighty-archive-filter .mighty-search-form input[type="search"] {
    padding: 11px 14px 11px 40px;
    font-size: 14px;
    border-radius: 10px;
}
.mighty-archive-filter .mighty-search-icon {
    left: 12px;
}
.mighty-archive-cats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mighty-archive-cat {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.mighty-archive-cat:hover {
    background: #f1f5ff;
    color: #0A1E5E;
}
.mighty-archive-cat.is-active {
    background: #eef2ff;
    color: #0A1E5E;
    font-weight: 700;
    border-left-color: #2563EB;
}
.mighty-archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e6e9ee;
    flex-wrap: wrap;
}
.mighty-archive-toolbar__count {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}
.mighty-archive-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mighty-archive-sort__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}
.mighty-archive-sort__select {
    padding: 8px 36px 8px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%230A1E5E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 12px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #0A1E5E;
    cursor: pointer;
    min-width: 200px;
}
.mighty-archive-sort__select:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

@media (max-width: 900px) {
    .mighty-archive-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .mighty-archive-sidebar {
        position: static;
    }
    .mighty-archive-sidebar__toggle {
        display: inline-flex;
        width: auto;
    }
    .mighty-archive-sidebar__panel {
        display: none;
        padding: 18px;
    }
    .mighty-archive-sidebar.is-open .mighty-archive-sidebar__panel {
        display: flex;
    }
    .mighty-archive-toolbar {
        margin-bottom: 18px;
    }
}
/* === Cart page wrapper & layout (matches site container) === */
.mighty-cart {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 32px 24px 64px !important;
}
.mighty-cart .container { max-width: none; padding: 0; margin: 0; width: 100%; }
.mighty-cart h1 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 800; margin: 0 0 24px; letter-spacing:-.02em; line-height:1.1 }
.mighty-cart .cart-table { width: 100% !important; max-width: 100% !important; table-layout: auto }
.mighty-cart .cart-actions { width: 100% }
.cart-actions {
    display: flex !important;
    gap: 12px;
    justify-content: space-between !important;
    margin-top: 32px;
    flex-wrap: wrap;
}
.cart-actions .button {
    padding: 14px 22px !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
}
@media (max-width: 640px) {
    .mighty-cart { padding: 20px 16px 48px !important; }
    .cart-actions { flex-direction: column-reverse }
    .cart-actions .button { width: 100%; text-align:center }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* Archive v2 — match homepage card aesthetic + filter UX polish        */
/* MARKER: mh-archive-v2-2026-05-20                                     */
/* ═══════════════════════════════════════════════════════════════════ */

/* ── Cards: full-width image, no internal padding (matches .mh-pc) ── */
.mighty-product-image,
.product-image {
    aspect-ratio: 4/3 !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
}
/* Drop the gradient fade overlay — homepage doesn't have one */
.mighty-product-image::after { display: none !important; content: none !important; }

.mighty-product-image img,
.product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* "Priced per metre" badge — move above the image (top-left), matching .mh-pc__badge style */
.mighty-product-badge {
    position: absolute !important;
    top: 14px !important; left: 12px !important;
    z-index: 4 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    background: rgba(255,255,255,.95) !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    border: 1px solid #e2e8f0 !important;
}

/* Info area — match .mh-pc__body spacing */
.mighty-product-info,
.product-info {
    padding: 16px 22px 22px !important;
}

/* ── Filter sidebar UX polish ─────────────────────────────────────── */
.mighty-archive-layout {
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 32px !important;
}

.mighty-archive-sidebar__panel {
    padding: 22px 20px 24px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px -8px rgba(10,30,94,.06) !important;
    gap: 22px !important;
}

.mighty-archive-filter__title {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    color: #2563EB !important;
    margin: 0 0 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #eef2f7 !important;
}

/* Search */
.mighty-archive-filter .mighty-search-form input[type="search"] {
    padding: 12px 14px 12px 42px !important;
    font-size: 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease !important;
}
.mighty-archive-filter .mighty-search-form input[type="search"]:hover { border-color: #cbd5e1 !important; background: #fff !important }
.mighty-archive-filter .mighty-search-form input[type="search"]:focus {
    border-color: #2563EB !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,.15) !important;
    outline: none !important;
}
.mighty-archive-filter .mighty-search-icon {
    left: 14px !important;
    color: #94a3b8;
}

/* Categories list */
.mighty-archive-cats { gap: 1px !important }
.mighty-archive-cat {
    padding: 9px 12px !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    border-left: 3px solid transparent !important;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease !important;
}
.mighty-archive-cat:hover {
    background: #f1f5ff !important;
    color: #0A1E5E !important;
    transform: translateX(2px) !important;
}
.mighty-archive-cat.is-active {
    background: linear-gradient(90deg, #eff6ff 0%, transparent 100%) !important;
    color: #0A1E5E !important;
    font-weight: 800 !important;
    border-left-color: #2563EB !important;
}

/* ── Top toolbar (count + sort) ───────────────────────────────────── */
.mighty-archive-toolbar {
    padding: 14px 18px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px -8px rgba(10,30,94,.06) !important;
    margin-bottom: 24px !important;
}
.mighty-archive-toolbar__count {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0a1429 !important;
    letter-spacing: -.005em !important;
}
.mighty-archive-sort__label {
    font-size: 12.5px !important;
    color: #64748b !important;
    font-weight: 600 !important;
    letter-spacing: -.005em !important;
}
.mighty-archive-sort__select {
    padding: 9px 36px 9px 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0a1429 !important;
    min-width: 200px !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
}
.mighty-archive-sort__select:hover { border-color: #cbd5e1 !important }
.mighty-archive-sort__select:focus {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,.15) !important;
    outline: none !important;
}

/* ── Mobile filter drawer ─────────────────────────────────────────── */
.mighty-archive-sidebar__toggle {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0a1429 !important;
    box-shadow: 0 4px 12px -8px rgba(10,30,94,.08) !important;
    transition: background .15s ease, border-color .15s ease !important;
}
.mighty-archive-sidebar__toggle:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}
.mighty-archive-sidebar__toggle[aria-expanded="true"] {
    background: linear-gradient(135deg, #2563EB, #1d4ed8) !important;
    border-color: transparent !important;
    color: #fff !important;
}

/* Mobile reflow */
@media (max-width: 900px) {
    .mighty-archive-layout { grid-template-columns: 1fr !important; gap: 14px !important }
    .mighty-archive-sidebar__panel { padding: 18px 16px 20px !important }
    .mighty-archive-toolbar {
        padding: 12px 14px !important;
        margin-bottom: 14px !important;
        gap: 10px !important;
    }
    .mighty-archive-sort__select { min-width: 160px !important; font-size: 13px !important }
}
@media (max-width: 640px) {
    .mighty-archive-sort { width: 100%; justify-content: space-between }
    .mighty-archive-toolbar { flex-direction: column; align-items: stretch }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* Archive v3 — modern filter UX + aggressive full-bleed images        */

/* ═══════════════════════════════════════════════════════════════════ */
/* Archive v3 — modern filter UX + aggressive full-bleed images        */

/* ═══════════════════════════════════════════════════════════════════ */
/* Archive v4 — restrained, spacious modern filter (Shopify-feel)      */

/* ═══════════════════════════════════════════════════════════════════ */
/* Archive v5 — collapsible accordion filters + active chips + scroll  */

/* ═══════════════════════════════════════════════════════════════════ */
/* Archive v5 — collapsible accordion filters + active chips + scroll  */

/* ═══════════════════════════════════════════════════════════════════ */
/* Archive v5 — collapsible accordion filters + active chips + scroll  */
/* MARKER: mh-archive-v5-2026-05-20                                    */
/* ═══════════════════════════════════════════════════════════════════ */

/* Layout */
.mighty-archive-layout {
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 32px !important;
    align-items: start !important;
}

/* ── Sidebar with internal scroll ────────────────────────────────── */
.mighty-archive-sidebar {
    position: sticky !important;
    top: 96px !important;
    /* sticky height = viewport - chrome - some breathing room */
    max-height: calc(100svh - 120px) !important;
    overflow: hidden !important;
}
.mighty-archive-sidebar__panel {
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #e8ecf0 !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.04) !important;
    gap: 0 !important;
    max-height: calc(100svh - 120px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.mighty-archive-sidebar__panel::-webkit-scrollbar { width: 6px }
.mighty-archive-sidebar__panel::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px }
.mighty-archive-sidebar__panel::-webkit-scrollbar-track { background: transparent }

/* Panel header (sticky inside scroll) */
.mighty-archive-sidebar__panel::before {
    content: 'Filters';
    display: block;
    padding: 18px 22px 14px;
    font-size: 16px;
    font-weight: 800;
    color: #0a1429;
    letter-spacing: -.01em;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

/* ── Accordion group ─────────────────────────────────────────────── */
.mh-facet-group {
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.mh-facet-group:last-child { border-bottom: 0 !important }

.mh-facet-group__header {
    appearance: none;
    border: 0;
    background: none;
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    font-size: 14px;
    font-weight: 700;
    color: #0a1429;
    letter-spacing: -.005em;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease;
    font-family: inherit;
}
.mh-facet-group__header:hover { background: #f8fafc }
.mh-facet-group__chev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease;
    color: #94a3b8;
}
.mh-facet-group.is-collapsed .mh-facet-group__chev { transform: rotate(-90deg) }

.mh-facet-group__body {
    padding: 0 22px 18px;
    overflow: hidden;
    display: block;
}
.mh-facet-group.is-collapsed .mh-facet-group__body {
    display: none;
}

/* Hide the legacy <h2 class="mighty-archive-filter__title"> inside groups (replaced by .mh-facet-group__header) */
.mh-facet-group .mighty-archive-filter__title { display: none !important }

/* ── Search input — sit inside its accordion body ────────────────── */
.mighty-archive-filter .mighty-search-form { position: relative }
.mighty-archive-filter .mighty-search-form input[type="search"] {
    width: 100% !important;
    padding: 11px 14px 11px 42px !important;
    font-size: 14px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #0a1429 !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
    font-weight: 500 !important;
}
.mighty-archive-filter .mighty-search-form input[type="search"]:focus {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,.12) !important;
    outline: none !important;
}
.mighty-archive-filter .mighty-search-icon {
    left: 14px !important;
    color: #94a3b8 !important;
}

/* ── Facet items as checkbox rows ────────────────────────────────── */
.mighty-archive-facet__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}
.mighty-archive-facet__list li { margin: 0 !important }

.mighty-archive-facet__btn {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    margin: 0 -10px !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: background .12s ease, color .12s ease !important;
    cursor: pointer !important;
}
.mighty-archive-facet__btn:hover {
    background: #f8fafc !important;
    color: #0a1429 !important;
}

/* The checkbox marker */
.mighty-archive-facet__btn::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2 6 5 9 10 3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}
.mighty-archive-facet__btn.is-active {
    background: #eff6ff !important;
    color: #0A1E5E !important;
    font-weight: 700 !important;
}
.mighty-archive-facet__btn.is-active::before {
    background-color: #2563EB;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.mighty-archive-facet__btn-label { flex: 1; line-height: 1.3 }
.mighty-archive-facet__btn-count {
    margin: 0 !important;
    opacity: 1 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
}
.mighty-archive-facet__btn.is-active .mighty-archive-facet__btn-count {
    color: #2563EB !important;
    background: rgba(37,99,235,.12);
}

/* ── Categories list (same chip-row style) ───────────────────────── */
.mighty-archive-cats {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}
.mighty-archive-cat {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 9px 10px !important;
    margin: 0 -10px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    background: transparent !important;
    border: 0 !important;
    text-decoration: none !important;
    transition: background .12s ease, color .12s ease !important;
    box-shadow: none !important;
}
.mighty-archive-cat::after { content: none !important; display: none !important }
.mighty-archive-cat:hover {
    background: #f8fafc !important;
    color: #0a1429 !important;
}
.mighty-archive-cat.is-active {
    background: #eff6ff !important;
    color: #0A1E5E !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

/* ── Active filter chips bar (above the toolbar) ─────────────────── */
.mh-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px -8px rgba(10,30,94,.06);
    margin-bottom: 14px;
}
.mh-active-filters__label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-right: 4px;
}
.mh-active-filters__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: contents;
}
.mh-active-filters__list li { margin: 0 }
.mh-active-filters__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px 5px 12px;
    background: #0A1E5E;
    color: #fff !important;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease;
    white-space: nowrap;
}
.mh-active-filters__chip:hover { background: #1e3a8a }
.mh-active-filters__chip svg {
    width: 14px; height: 14px;
    padding: 2px;
    background: rgba(255,255,255,.18);
    border-radius: 50%;
    box-sizing: border-box;
    transition: background .15s ease;
}
.mh-active-filters__chip:hover svg { background: rgba(255,255,255,.3) }
.mh-active-filters__clear {
    margin-left: auto;
    font-size: 12.5px;
    font-weight: 700;
    color: #dc2626 !important;
    text-decoration: none !important;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .15s ease;
}
.mh-active-filters__clear:hover { background: #fef2f2 }

/* Hide legacy "Clear filters" inside sidebar (replaced by chip bar Clear all) */
.mighty-archive-facet__clear { display: none !important }

/* ── Toolbar ─────────────────────────────────────────────────────── */
.mighty-archive-toolbar {
    padding: 0 0 14px !important;
    margin-bottom: 22px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
}
.mighty-archive-toolbar__count {
    font-size: 14px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}
.mighty-archive-toolbar__count::before { content: none !important; display: none !important }
.mighty-archive-sort__select {
    padding: 9px 36px 9px 14px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0a1429 !important;
    min-width: 200px !important;
    cursor: pointer !important;
}

/* ── Mobile drawer (≤900px) ──────────────────────────────────────── */
@media (max-width: 900px) {
    .mighty-archive-layout { grid-template-columns: 1fr !important; gap: 12px !important }
    .mighty-archive-sidebar {
        position: static !important;
        top: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    .mighty-archive-sidebar__toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 14px 18px !important;
        background: #fff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        color: #0a1429 !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        margin: 0 0 12px !important;
    }
    .mighty-archive-sidebar__panel {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important; right: 0 !important;
        top: auto !important;
        max-height: 82vh !important;       /* leaves ~18vh of page visible at top */
        height: auto !important;
        z-index: 1000 !important;
        border-radius: 20px 20px 0 0 !important;
        clip-path: none !important;
        -webkit-clip-path: none !important;
        transform: translateY(100%) !important;
        transition: transform .32s cubic-bezier(.32, .72, 0, 1) !important;
        box-shadow: 0 -16px 40px -12px rgba(10,30,94,.35) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding-top: 22px !important;       /* room for handle bar */
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0)) !important;
        scrollbar-width: thin;
    }
    /* Drawer "Filters" sticky title remains via ::before — repositioned below handle */
    .mighty-archive-sidebar__panel::before {
        position: sticky !important;
        top: 0 !important;
        background: #fff !important;
        z-index: 2 !important;
        padding-top: 8px !important;
    }
    .mighty-archive-sidebar.is-open .mighty-archive-sidebar__panel { transform: translateY(0) !important }
    /* Backdrop */
    .mighty-archive-sidebar.is-open::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(10, 20, 41, .55);
        animation: mh-archive-backdrop-in .25s ease both;
        pointer-events: auto;
    }
    @keyframes mh-archive-backdrop-in { from { opacity: 0 } to { opacity: 1 } }
    .mighty-archive-sidebar.is-open .mighty-archive-sidebar__toggle {
        background: #0A1E5E !important;
        border-color: transparent !important;
        color: #fff !important;
    }
    .mh-active-filters { padding: 10px 14px }
    .mh-active-filters__clear { margin-left: 0 }
}
@media (max-width: 640px) {
    .mighty-archive-toolbar { flex-direction: column; align-items: stretch !important; gap: 10px !important }
    .mighty-archive-sort { width: 100% !important; justify-content: space-between !important }
}

/* MARKER: mh-cut-cards-2026-05-20                                      */
/* ═══════════════════════════════════════════════════════════════════ */

/* Shared utility: notched white panel with accent stripe + navy corner */
.mh-cut-card,
.mighty-archive-sidebar__panel,
.mighty-archive-toolbar,
.mh-active-filters,
.mighty-checkout-form-area > .mighty-checkout-section,
.mighty-checkout-summary,
.mighty-cart-summary__inner,
.mighty-cart-empty,
.mighty-checkout-stepper {
    position: relative !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)) !important;
    -webkit-clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)) !important;
}

/* Wrapper drop-shadow lives on parent (since clip-path cuts shadow on the element itself).
   For non-scrolling cards, use `filter` on the same element. */
.mh-active-filters,
.mighty-archive-toolbar,
.mighty-checkout-form-area > .mighty-checkout-section,
.mighty-cart-empty,
.mighty-checkout-stepper {
    filter: drop-shadow(0 4px 14px rgba(10,30,94,.06)) drop-shadow(0 1px 2px rgba(10,30,94,.04)) !important;
}

/* Accent stripe: top-left blue gradient bar */
.mh-cut-card::before,
.mighty-archive-sidebar__panel::after,        /* override: ::before already used for "Filters" label */
.mighty-archive-toolbar::before,
.mh-active-filters::before,
.mighty-checkout-form-area > .mighty-checkout-section::before,
.mighty-checkout-summary::before,
.mighty-cart-summary__inner::before,
.mighty-cart-empty::before,
.mighty-checkout-stepper::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 72px; height: 4px;
    background: linear-gradient(90deg, #0A1E5E, #2563EB);
    z-index: 3;
    pointer-events: none;
}

/* Navy corner triangle: top-right */
.mh-cut-card::after,
.mighty-archive-toolbar::after,
.mh-active-filters::after,
.mighty-checkout-form-area > .mighty-checkout-section::after,
.mighty-checkout-summary::after,
.mighty-cart-summary__inner::after,
.mighty-cart-empty::after,
.mighty-checkout-stepper::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 22px; height: 22px;
    background: #0A1E5E;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 0);
    z-index: 4;
    pointer-events: none;
    transition: background .25s ease;
}

/* Sidebar panel already uses ::before for "Filters" sticky label —
   create its navy corner via a different selector path */
.mighty-archive-sidebar { isolation: isolate }
.mighty-archive-sidebar::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 22px; height: 22px;
    background: #0A1E5E;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 0);
    z-index: 4;
    pointer-events: none;
}
/* Sidebar panel accent stripe — sits above the "Filters" title */
.mighty-archive-sidebar__panel::after {
    top: 0; left: 0;
    width: 72px; height: 4px;
    z-index: 5;       /* above the sticky "Filters" header */
}

/* For elements that contain content with own corner-clip considerations, ensure
   inner content stays above the pseudo-elements (z-index 0..4 used above). */
.mighty-archive-sidebar__panel,
.mighty-archive-toolbar,
.mh-active-filters,
.mighty-checkout-form-area > .mighty-checkout-section,
.mighty-checkout-summary,
.mighty-cart-summary__inner,
.mighty-cart-empty,
.mighty-checkout-stepper { isolation: isolate }
.mighty-archive-sidebar__panel > *,
.mighty-archive-toolbar > *,
.mh-active-filters > *,
.mighty-checkout-form-area > .mighty-checkout-section > *,
.mighty-checkout-summary > *,
.mighty-cart-summary__inner > *,
.mighty-cart-empty > *,
.mighty-checkout-stepper > * { position: relative; z-index: 1 }

/* Smaller notch on tighter / smaller cards */
.mighty-archive-toolbar,
.mh-active-filters,
.mighty-checkout-stepper {
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)) !important;
    -webkit-clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)) !important;
}
.mighty-archive-toolbar::after,
.mh-active-filters::after,
.mighty-checkout-stepper::after { width: 18px; height: 18px }

/* Drop-shadow can't render through clip-path on the element itself for
   scrollable cards (sidebar panel) — use the parent .mighty-archive-sidebar
   element as the shadow carrier instead. */
.mighty-archive-sidebar { filter: drop-shadow(0 6px 18px rgba(10,30,94,.08)) drop-shadow(0 2px 4px rgba(10,30,94,.04)) }
.mighty-checkout-summary,
.mighty-cart-summary__inner { filter: drop-shadow(0 8px 22px rgba(10,30,94,.1)) drop-shadow(0 2px 4px rgba(10,30,94,.05)) }

/* Mobile: lighter notch + corner */
@media (max-width: 640px) {
    .mh-cut-card,
    .mighty-archive-sidebar__panel,
    .mighty-cart-summary__inner,
    .mighty-checkout-summary,
    .mighty-cart-empty,
    .mighty-checkout-form-area > .mighty-checkout-section {
        clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)) !important;
        -webkit-clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)) !important;
    }
    .mh-cut-card::after,
    .mighty-checkout-form-area > .mighty-checkout-section::after,
    .mighty-checkout-summary::after,
    .mighty-cart-summary__inner::after,
    .mighty-cart-empty::after,
    .mighty-archive-sidebar::after { width: 18px; height: 18px }
}

/* ═══ Mobile filter drawer UX: close X, sticky FAB, count badge ═══ */

/* ═══ Mobile filter drawer UX: close X, sticky FAB, count badge ═══ */

/* ═══ Mobile filter drawer UX: close X, sticky FAB, count badge ═══ */
/* MARKER: mh-sidebar-cart-mobile-2026-05-20                          */

/* Make the drawer responsive: full width on phones, 400px on desktop */
.mighty-sidebar-cart {
    width: min(400px, 92vw) !important;
    right: -100% !important;             /* always fully off-screen when closed */
    transition: right .32s cubic-bezier(.32, .72, 0, 1) !important;
    height: 100svh !important;            /* iOS-aware viewport height */
}
.mighty-sidebar-cart.open {
    right: 0 !important;
}

/* Overlay: stronger dim + smooth fade for mobile */
.mighty-sidebar-cart-overlay {
    background: rgba(10, 20, 41, .55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9998 !important;
}
.mighty-sidebar-cart-overlay.open { opacity: 1; visibility: visible }
.mighty-sidebar-cart-overlay:not(.open) { opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s }

/* Drawer above overlay */
.mighty-sidebar-cart { z-index: 9999 !important }

/* Phone-specific tightening */
@media (max-width: 480px) {
    .mighty-sidebar-cart-header { padding: 16px 18px !important }
    .mighty-sidebar-cart-content { padding: 14px 18px !important }
    .mighty-sidebar-cart-footer { padding: 14px 18px env(safe-area-inset-bottom, 14px) !important }
}

/* Don't let body bg/scroll lock visually leak when drawer open */
body.mh-sidebar-cart-locked {
    overflow: hidden !important;
    touch-action: none;
}


/* ═══ Mobile filter drawer UX: close X, sticky FAB, count badge ═══ */

/* ═══ Mobile filter drawer UX: close X, sticky FAB, count badge ═══ */

/* ═══ Mobile filter drawer UX: close X, sticky FAB, count badge ═══ */
/* MARKER: mh-filters-mobile-2026-05-20                              */

/* Drawer pull-handle (visible bar at the top of the bottom sheet) */
.mh-drawer-handle {
    display: none;            /* hidden on desktop */
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    z-index: 3;
    pointer-events: none;
}

/* ── Drawer overrides cut-cards on mobile ───────────────────────── */
@media (max-width: 900px) {
    .mh-drawer-handle { display: block }

    /* CRITICAL: filter/transform/contain create a new containing block which
       makes child position:fixed behave like position:absolute. Strip them
       on the sidebar so the drawer can pin to the viewport edges. */
    .mighty-archive-sidebar {
        filter: none !important;
        transform: none !important;
        contain: none !important;
        isolation: auto !important;
        position: static !important;
        overflow: visible !important;
        max-height: none !important;
    }

    /* Drawer is a slide-up sheet, NOT a notched card. Re-declare position +
       override clip-path/corner pseudos (cut-cards group selector overrode
       position:fixed earlier in source order — restore it here). */
    .mighty-archive-sidebar__panel,
    .mighty-archive-sidebar.is-open .mighty-archive-sidebar__panel {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        max-height: 82vh !important;
        height: auto !important;
        z-index: 1000 !important;
        clip-path: none !important;
        -webkit-clip-path: none !important;
        border-radius: 20px 20px 0 0 !important;
        filter: none !important;
        background: #fff !important;
        box-shadow: 0 -16px 40px -12px rgba(10,30,94,.35) !important;
        overflow-y: auto !important;
        padding-top: 22px !important;
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0)) !important;
    }
    .mighty-archive-sidebar__panel {
        transform: translateY(100%) !important;
        transition: transform .32s cubic-bezier(.32, .72, 0, 1) !important;
    }
    .mighty-archive-sidebar.is-open .mighty-archive-sidebar__panel {
        transform: translateY(0) !important;
    }
    /* Hide the accent stripe + corner triangle that cut-cards added to the panel */
    .mighty-archive-sidebar__panel::after { display: none !important }
    .mighty-archive-sidebar::after { display: none !important }
    /* Restore sticky "Filters" title via a different pseudo on the parent panel */
    .mighty-archive-sidebar__panel::before {
        position: sticky !important;
        top: 0 !important;
        background: #fff !important;
        z-index: 2 !important;
    }
}

/* Lock body scroll when filter drawer is open (released cleanly on close) */
body.mh-filters-locked { overflow: hidden !important; touch-action: none }
/* Ensure nothing else blocks pointer events when drawer is closed */
body:not(.mh-filters-locked) .mh-filters-fab { pointer-events: auto }

/* Close (X) button inside the drawer — visible on mobile only */
.mh-filters-close {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;       /* above sticky "Filters" title */
    width: 36px;
    height: 36px;
    appearance: none;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0a1429;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
    font-family: inherit;
}
.mh-filters-close:hover, .mh-filters-close:focus-visible {
    background: #0A1E5E;
    color: #fff;
    outline: none;
}

/* Show close button only when in mobile drawer mode AND open */
@media (max-width: 900px) {
    .mighty-archive-sidebar.is-open .mh-filters-close { display: inline-flex }
}

/* Active count badge on the top toggle pill */
.mh-filters-toggle-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: linear-gradient(135deg, #2563EB, #1d4ed8);
    color: #fff !important;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    margin-left: auto;
    letter-spacing: .005em;
}

/* Sticky bottom Filters bar — full-width app-style primary CTA (mobile only) */
.mh-filters-fab {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0));
    background: linear-gradient(135deg, #2563EB, #1d4ed8);
    color: #fff !important;
    border: 0;
    border-radius: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.005em;
    cursor: pointer;
    box-shadow: 0 -10px 30px -8px rgba(10,30,94,.25);
    font-family: inherit;
    transition: background .2s ease, opacity .25s ease, transform .25s ease;
    width: 100%;
}
.mh-filters-fab:hover, .mh-filters-fab:focus-visible {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    outline: none;
}
.mh-filters-fab:active { background: #1e40af }
.mh-filters-fab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: #fff;
    color: #2563EB !important;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    margin-left: 4px;
}
.mh-filters-fab svg { flex-shrink: 0 }

/* Hide FAB when drawer is open (drawer has its own close X) */
.mighty-archive-sidebar.is-open ~ .mh-filters-fab,
.mighty-archive-sidebar.is-open + .mh-filters-fab {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
}

/* Show FAB on mobile + tablet */
@media (max-width: 900px) {
    .mh-filters-fab { display: inline-flex }
    /* Hide the old inline toggle pill (top of grid) since the FAB replaces it */
    .mighty-archive-sidebar__toggle { display: none !important }
    /* Give the grid bottom padding so the bar doesn't cover the last row */
    .mighty-archive-main { padding-bottom: 96px }
}

/* Drawer panel needs space for close button on mobile */
@media (max-width: 900px) {
    .mighty-archive-sidebar__panel::before {
        /* sticky "Filters" title — give right padding so X doesn't overlap */
        padding-right: 56px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* Product pages — reviews + related cards match homepage cut-edge style*/
/* MARKER: mh-product-cards-2026-05-20                                  */
/* ═══════════════════════════════════════════════════════════════════ */

/* ── Reviews: same notched card as homepage ──────────────────────── */
.wpsr-reviews-layout-grid .wpsr-review-template {
    position: relative !important;
    background: #fff !important;
    border: 1px solid #e6e9ee !important;
    border-radius: 0 !important;
    padding: 26px 26px 24px !important;
    box-shadow: 0 2px 10px -4px rgba(10,30,94,.06) !important;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s !important;
    overflow: visible !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
    -webkit-clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
.wpsr-reviews-layout-grid .wpsr-review-template::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 72px; height: 3px;
    background: linear-gradient(90deg, #0A1E5E, #2563EB);
    z-index: 3;
    transition: width .35s cubic-bezier(.2,.8,.2,1);
}
.wpsr-reviews-layout-grid .wpsr-review-template::after {
    content: "\201C";
    position: absolute;
    top: 10px; right: 24px;
    font-family: Georgia, serif;
    font-size: 72px;
    line-height: 1;
    color: #0A1E5E;
    opacity: .08;
    font-weight: 700;
    z-index: 1;
}
.wpsr-reviews-layout-grid .wpsr-review-template:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 24px 44px -18px rgba(10,30,94,.2) !important;
    border-color: #cbd5e1 !important;
}
.wpsr-reviews-layout-grid .wpsr-review-template:hover::before { width: 140px }

/* Platform icon — top-right chip */
.wpsr-reviews-layout-grid .wpsr-review-platform {
    position: absolute !important;
    top: 14px; right: 14px;
    margin: 0 !important;
    z-index: 4;
    width: 28px !important; height: 28px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid #e6e9ee !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.wpsr-reviews-layout-grid .wpsr-review-platform-icon { width: 15px !important; height: 15px !important }

/* Grid layout: 3-col desktop, 2-col tablet, 1-col mobile */
.wpsr-reviews-wrapper { max-width: none !important }
.wpsr-reviews-layout-grid .wpsr-container { padding: 0 !important }
.wpsr-reviews-layout-grid .wpsr-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px !important;
    margin: 0 !important;
}
.wpsr-reviews-layout-grid .wpsr-col-4,
.wpsr-reviews-layout-grid .wpsr-col-xs-12,
.wpsr-reviews-layout-grid .wpsr-col-sm-4 {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
@media (max-width: 1024px) { .wpsr-reviews-layout-grid .wpsr-row { grid-template-columns: repeat(2, 1fr) !important } }
@media (max-width: 640px)  { .wpsr-reviews-layout-grid .wpsr-row { grid-template-columns: 1fr !important; gap: 16px !important } }


/* ── Related products: match .mh-pc notched card aesthetic ──────── */
.mp-related__card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    color: inherit !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    padding: 0 !important;
    transition: transform .35s cubic-bezier(.2,.8,.2,1) !important;
    isolation: isolate;
}
.mp-related__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 62%, #f8fafc 62%, #f8fafc 100%);
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
    -webkit-clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
    filter: drop-shadow(0 6px 18px rgba(10,30,94,.09)) drop-shadow(0 2px 4px rgba(10,30,94,.04));
    transition: filter .35s;
    z-index: 0;
    pointer-events: none;
}
.mp-related__card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 28px; height: 28px;
    background: #0A1E5E;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 0);
    z-index: 2;
    transition: background .3s;
    pointer-events: none;
}
.mp-related__card > * { position: relative; z-index: 1 }

.mp-related__card:hover { transform: translateY(-6px) !important }
.mp-related__card:hover::before { filter: drop-shadow(0 20px 38px rgba(10,30,94,.24)) drop-shadow(0 4px 8px rgba(10,30,94,.08)) }
.mp-related__card:hover::after { background: #2563EB }

/* Accent stripe top-left — extra element for animation */
.mp-related__card .mp-related__card-img {
    position: relative !important;
    aspect-ratio: 4/3 !important;
    background: #fff !important;
    overflow: hidden !important;
    padding: 0 !important;
}
.mp-related__card .mp-related__card-img::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 80px; height: 4px;
    background: linear-gradient(90deg, #0A1E5E, #2563EB);
    z-index: 5;
    transition: width .35s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
}
.mp-related__card:hover .mp-related__card-img::before { width: 160px }
.mp-related__card .mp-related__card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform .5s cubic-bezier(.2,.8,.2,1) !important;
}
.mp-related__card:hover .mp-related__card-img img { transform: scale(1.06) !important }

.mp-related__card-badge {
    position: absolute !important;
    top: 14px !important;
    left: 12px !important;
    z-index: 4 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    background: rgba(255,255,255,.95) !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    border: 1px solid #e2e8f0 !important;
}

.mp-related__card-body {
    padding: 16px 22px 22px !important;
    background: transparent !important;
}

.mp-related__card-category {
    display: inline-block !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #2563EB !important;
    margin: 0 0 6px !important;
}

.mp-related__card-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -.005em !important;
    color: #0f172a !important;
    margin: 0 0 10px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 38px !important;
}

.mp-related__card-price {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0A1E5E !important;
    letter-spacing: -.01em !important;
    padding-top: 10px !important;
    border-top: 1px solid #f1f5f9 !important;
    margin-top: 8px !important;
}
.mp-related__card-price span {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-left: 4px !important;
    letter-spacing: .02em !important;
}

.mp-related__card-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0A1E5E !important;
    margin-top: 12px !important;
    padding: 8px 14px !important;
    border: 1.5px solid #0A1E5E !important;
    border-radius: 999px !important;
    transition: all .25s ease !important;
    text-decoration: none !important;
    align-self: flex-start !important;
}
.mp-related__card:hover .mp-related__card-cta {
    background: #0A1E5E !important;
    color: #fff !important;
}

.mp-related__card-delivery {
    font-size: 11.5px !important;
    color: #64748b !important;
    margin: 12px 0 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.mp-related__card-delivery-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,.18);
}

/* Smaller notch + corner on mobile */
@media (max-width: 640px) {
    .mp-related__card::before {
        clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
        -webkit-clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
    }
    .mp-related__card::after { width: 22px; height: 22px }
    .mp-related__card-body { padding: 12px 16px 18px !important }
    .mp-related__card-title { font-size: 13px !important }
    .mp-related__card-price { font-size: 15px !important }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* Product page card surfaces → notched cut-edge aesthetic              */
/* MARKER: mh-breadcrumb-bar-2026-05-20                              */

.mp-breadcrumb-bar {
    background: #0A1E5E;
    color: rgba(255,255,255,.85);
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.mp-breadcrumb-bar .mt-container {
    padding-top: 14px;
    padding-bottom: 14px;
}
.mp-breadcrumb-bar .mp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,.78) !important;
    line-height: 1.4;
}
.mp-breadcrumb-bar .mp-breadcrumb a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color .15s ease, opacity .15s ease;
    opacity: .82;
}
.mp-breadcrumb-bar .mp-breadcrumb a:hover,
.mp-breadcrumb-bar .mp-breadcrumb a:focus-visible {
    color: #ffffff !important;
    opacity: 1;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    outline: none;
}
.mp-breadcrumb-bar .mp-breadcrumb-sep {
    color: rgba(147, 197, 253, .55) !important;
    font-size: 12px !important;
    font-weight: 400;
}
.mp-breadcrumb-bar .mp-breadcrumb-current {
    color: #ffffff !important;
    font-weight: 600 !important;
    /* keep current page text readable but not flashy */
    opacity: 1;
}

/* Mobile */
@media (max-width: 640px) {
    .mp-breadcrumb-bar .mt-container { padding-top: 10px; padding-bottom: 10px }
    .mp-breadcrumb-bar .mp-breadcrumb { font-size: 12.5px !important; gap: 6px }
    .mp-breadcrumb-bar .mp-breadcrumb-current {
        /* clamp long product names on phones */
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* Product page card surfaces → notched cut-edge aesthetic              */
/* MARKER: mh-product-cut-cards-2026-05-20                              */
/* ═══════════════════════════════════════════════════════════════════ */

/* Shared cut-edge utility for product-page card surfaces */
.mp-summary,
.mp-why__card,
.mp-accordion__item,
.mp-addons,
.mp-trust {
    position: relative !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)) !important;
    -webkit-clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)) !important;
    isolation: isolate;
}

/* Drop-shadow on parent wrapper so it renders through the clip-path */
.mp-summary,
.mp-why__card,
.mp-accordion__item,
.mp-addons,
.mp-trust {
    filter: drop-shadow(0 4px 14px rgba(10,30,94,.06)) drop-shadow(0 1px 2px rgba(10,30,94,.04)) !important;
}

/* Navy corner triangle (top-right) */
.mp-summary::after,
.mp-why__card::after,
.mp-accordion__item::after,
.mp-addons::after,
.mp-trust::after {
    content: '' !important;
    position: absolute !important;
    top: 0; right: 0;
    width: 22px; height: 22px;
    background: #0A1E5E !important;
    clip-path: polygon(100% 0, 100% 100%, 0 0) !important;
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 0) !important;
    z-index: 3;
    pointer-events: none;
    transition: background .3s;
}
.mp-why__card:hover::after,
.mp-accordion__item:hover::after,
.mp-addons:hover::after,
.mp-summary:hover::after {
    background: #2563EB !important;
}

/* Accent stripe (top-left blue gradient bar) */
.mp-summary::before,
.mp-why__card::before,
.mp-addons::before,
.mp-trust::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0;
    width: 72px; height: 4px;
    background: linear-gradient(90deg, #0A1E5E, #2563EB) !important;
    z-index: 4;
    pointer-events: none;
}

/* Ensure inner content sits above the pseudo-elements */
.mp-summary > *,
.mp-why__card > *,
.mp-accordion__item > *,
.mp-addons > *,
.mp-trust > * { position: relative; z-index: 1 }

/* Tighten paddings so notches don't cut into content visually */
.mp-summary { padding: 18px 22px !important; margin-top: 12px !important }
.mp-why__card { padding: 28px 22px !important }
.mp-addons { overflow: hidden !important; padding: 0 !important }
.mp-addons__header { border-bottom: 1px solid #f1f5f9 !important; padding: 12px 20px !important }
.mp-addons .mp-addon-row { padding: 12px 20px !important }
.mp-trust { padding: 14px 18px !important; border-top: 0 !important; margin-top: 18px !important }
.mp-accordion__item { margin-bottom: 12px !important; padding: 0 !important; border: 0 !important }
.mp-accordion__item:last-child { margin-bottom: 0 !important }
.mp-accordion__trigger { padding: 16px 22px !important }
.mp-accordion__content { padding: 0 22px 18px !important }

/* Gallery — keep simple rounded; cut-edge would clash with product imagery */
.mp-gallery__main::before { content: none !important; display: none !important }
.mp-gallery__main::after  { content: none !important; display: none !important }

/* Mobile: smaller notches */
@media (max-width: 640px) {
    .mp-summary,
    .mp-why__card,
    .mp-accordion__item,
    .mp-addons,
    .mp-trust {
        clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)) !important;
        -webkit-clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)) !important;
    }
    .mp-summary::after,
    .mp-why__card::after,
    .mp-accordion__item::after,
    .mp-addons::after,
    .mp-trust::after { width: 18px; height: 18px }
}

/* Spacing between breadcrumb bar and the product columns */
.mp-breadcrumb-bar + .mp-page,
.mp-breadcrumb-bar + .mp-page.mp-animate-in {
    padding-top: 36px;
}
@media (max-width: 768px) {
    .mp-breadcrumb-bar + .mp-page { padding-top: 22px }
}

/* mh-mega-square-2026-05-26 — Mega Deals cards use 1:1 imagery */
.mighty-products-archive--mega .mighty-product-image,
.mighty-products-archive--mega .product-image {
    aspect-ratio: 1 / 1 !important;
}

/* mh-mega-fulltitle-2026-05-26 — show full Mega Deals titles (no clamp) */
.mighty-products-archive--mega .mighty-product-title,
.mighty-products-archive--mega h2.mighty-product-title,
.mighty-products-archive--mega .product-info h3 {
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    min-height: 0 !important;
    max-height: none !important;
}

/* mh-stock-badge-2026-05-26 — Mega Deals stock urgency */
.mighty-product-card { position: relative; }
.mighty-stock-badge {
    position: absolute; top: 12px; right: 12px; z-index: 5;
    display: inline-flex; align-items: center; gap: 4px;
    padding: 6px 10px; background: #dc2626; color: #fff;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
    text-transform: uppercase; border-radius: 4px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
    pointer-events: none;
}
.mp-stock-badge {
    display: inline-flex; align-items: center; gap: 6px;
    margin: 8px 0 14px; padding: 8px 14px;
    background: #fef2f2; color: #b91c1c;
    border: 1px solid #fecaca; border-radius: 6px;
    font-size: 0.9rem; font-weight: 600; width: fit-content;
}
.mp-stock-badge svg { color: #dc2626; }

/* mh-sticky-bar-mobile-2026-05-26 — checkout sticky bar tighten on mobile */
@media (max-width: 480px) {
    .mighty-checkout-sticky-bar__inner { padding: 10px 12px !important; gap: 10px !important; }
    .mighty-checkout-sticky-bar__total { flex: 0 1 auto; min-width: 0; gap: 4px !important; flex-wrap: wrap; row-gap: 0 !important; }
    .mighty-checkout-sticky-bar__label { font-size: 11px !important; }
    .mighty-checkout-sticky-bar__amount { font-size: 17px !important; line-height: 1.1 !important; }
    .mighty-checkout-sticky-bar__vat { display: none !important; }
    .mighty-checkout-sticky-bar__btn { padding: 11px 16px !important; font-size: 14px !important; gap: 6px !important; white-space: nowrap; flex: 0 0 auto; min-width: 0; }
    .mighty-checkout-sticky-bar__btn svg { width: 14px !important; height: 14px !important; }
    .mighty-checkout-sticky-bar__missing { font-size: 11px !important; padding: 0 12px 6px !important; }
}
@media (max-width: 360px) {
    .mighty-checkout-sticky-bar__btn { padding: 10px 12px !important; font-size: 13px !important; }
    .mighty-checkout-sticky-bar__amount { font-size: 15px !important; }
}

/* mh-card-specs-2026-05-26 — render gauge + finish as visible chips on cards */

.mighty-product-spec {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    background: #eff6ff;
    color: #0A1E5E;
    border: 1px solid #dbeafe;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -.005em;
    line-height: 1.3;
    white-space: nowrap;
}
.mighty-product-spec--gauge { background: #f1f5f9; color: #0a0f1a; border-color: #cbd5e1; }

/* mh-card-specs-overlay-2026-05-26 — chips overlay the product image */
.mighty-product-image { position: relative; }

.mighty-product-spec {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    background: rgba(255, 255, 255, 0.94);
    color: #0A1E5E;
    border: 1px solid rgba(10, 30, 94, 0.08);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -.005em;
    line-height: 1.3;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(10, 30, 94, 0.12);
}
.mighty-product-spec--gauge {
    background: rgba(10, 30, 94, 0.88);
    color: #fff;
    border-color: transparent;
}

/* mh-card-specs-v2-2026-05-26 — finish+gauge top, profile bottom, colour coded */
.mighty-product-image { position: relative; }




.mighty-product-spec {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -.005em;
    line-height: 1.3;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(10, 30, 94, 0.18);
    border: 1px solid transparent;
}

/* === FINISH colour palette === */
.mighty-product-spec--finish                              { background: rgba(255,255,255,.94); color: #0A1E5E; border-color: rgba(10,30,94,.1); }
.mighty-product-spec--finish[data-value*='plastisol']     { background: #1e3a8a; color: #fff; }                /* deep blue */
.mighty-product-spec--finish[data-value*='polyester']     { background: #0e7490; color: #fff; }                /* teal */
.mighty-product-spec--finish[data-value*='galvanised']    { background: #475569; color: #fff; }                /* steel grey */
.mighty-product-spec--finish[data-value*='plain']         { background: #64748b; color: #fff; }

/* === GAUGE colour palette (thicker = darker) === */
.mighty-product-spec--gauge                               { background: #0A1E5E; color: #fff; }
.mighty-product-spec--gauge[data-value='0-4-mm']          { background: #93c5fd; color: #0A1E5E; }
.mighty-product-spec--gauge[data-value='0-45-mm']         { background: #60a5fa; color: #fff; }
.mighty-product-spec--gauge[data-value='0-5-mm']          { background: #2563EB; color: #fff; }
.mighty-product-spec--gauge[data-value='0-7-mm']          { background: #1e40af; color: #fff; }
.mighty-product-spec--gauge[data-value='1-5-mm']          { background: #06133D; color: #fff; }

/* === PROFILE colour palette (one per profile type) === */
.mighty-product-spec--profile                             { background: rgba(15, 23, 42, .82); color: #fff; }
.mighty-product-spec--profile[data-value*='box']          { background: #f59e0b; color: #0a0f1a; }             /* warm amber */
.mighty-product-spec--profile[data-value*='corrugated']   { background: #16a34a; color: #fff; }                /* green */
.mighty-product-spec--profile[data-value*='tile']         { background: #b91c1c; color: #fff; }                /* terracotta */
.mighty-product-spec--profile[data-value*='pan']          { background: #c2410c; color: #fff; }                /* burnt orange */

/* mh-card-specs-v3-2026-05-26 — chips as a flat row UNDER the image, no overlay */
.mighty-product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px 16px 0;
    margin: 0;
}
.mighty-product-spec {
    padding: 3px 7px;
    font-size: 10.5px;
    border-radius: 3px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

/* mh-card-body-grey-2026-05-26 — kill the 62% white-to-grey split; whole body is grey under the image */
.mighty-product-card-inner {
    background: #f8fafc !important;
}
.mighty-product-image {
    background: #fff !important;
}

/* mh-card-specs-brand-palette-2026-05-26 — recolour chips with Mighty's
   own navy/blue/slate system instead of the rainbow set. Each spec type
   has ONE family of colours; values within a type differ by intensity. */

/* PROFILE — solid navy, the brand primary */
.mighty-product-spec--profile,
.mighty-product-spec--profile[data-value*='box'],
.mighty-product-spec--profile[data-value*='corrugated'],
.mighty-product-spec--profile[data-value*='tile'],
.mighty-product-spec--profile[data-value*='pan'] {
    background: #0A1E5E !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* FINISH — outlined navy on white, secondary */
.mighty-product-spec--finish,
.mighty-product-spec--finish[data-value*='plastisol'],
.mighty-product-spec--finish[data-value*='polyester'],
.mighty-product-spec--finish[data-value*='galvanised'],
.mighty-product-spec--finish[data-value*='plain'] {
    background: #fff !important;
    color: #0A1E5E !important;
    border: 1px solid #0A1E5E !important;
}

/* GAUGE — accent blue family, thicker = darker shade */
.mighty-product-spec--gauge {
    background: #2563EB !important;
    color: #fff !important;
    border-color: transparent !important;
}
.mighty-product-spec--gauge[data-value='0-4-mm']   { background: #93c5fd !important; color: #0A1E5E !important; }
.mighty-product-spec--gauge[data-value='0-45-mm']  { background: #60a5fa !important; color: #fff !important; }
.mighty-product-spec--gauge[data-value='0-5-mm']   { background: #2563EB !important; color: #fff !important; }
.mighty-product-spec--gauge[data-value='0-7-mm']   { background: #1d4ed8 !important; color: #fff !important; }
.mighty-product-spec--gauge[data-value='1-5-mm']   { background: #06133D !important; color: #fff !important; }

/* mh-card-specs-v4-overlay-2026-05-26 — chips overlay the bottom edge of the image */
.mighty-product-specs {
    position: absolute !important;
    left: 12px;
    right: 12px;
    bottom: 10px;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 4;
    pointer-events: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
/* Move chips back inside image-area positioning context */
.mighty-product-image { position: relative; }
/* Image needs to be the relative parent for absolute chips */
.mighty-product-card-link {
    display: block !important;
    position: relative;
}
.mighty-product-spec {
    box-shadow: 0 2px 8px rgba(10,30,94,.18);
}

/* mh-card-cleanup-2026-05-26 — hide ex-VAT note + collapse duplicate dividers */
.mighty-product-card .mighty-product-price-note { display: none !important; }
.mighty-product-card .mighty-product-info { border-top: none !important; }
.mighty-product-card .mighty-product-price-wrap { border-top: 1px solid #e6e9ee !important; padding-top: 12px !important; margin-top: 12px !important; }

/* mh-card-single-divider-2026-05-26 — kill duplicate price-block border */
.mighty-product-card .mighty-product-price-block { border-top: none !important; padding-top: 0 !important; }

/* mh-mega-3col-2026-05-26 — Mega Deals archive: force 3 columns instead of auto-fill */
.mighty-products-archive--mega .mighty-product-list {
    grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 1024px) {
    .mighty-products-archive--mega .mighty-product-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 600px) {
    .mighty-products-archive--mega .mighty-product-list {
        grid-template-columns: 1fr !important;
    }
}

/* mh-2026-06-01 — remove the brand accent bar/triangle from the archive
   toolbar (the count/sort row); it reads as clutter above the product count. */
.mighty-archive-toolbar::before,
.mighty-archive-toolbar::after {
    content: none !important;
    display: none !important;
}

/* 2026-06-02: one product card per row on phones (tablet keeps 2, desktop 3) */
@media (max-width: 600px) {
    .mighty-product-list,
    .mighty-products-archive--mega .mighty-product-list {
        grid-template-columns: 1fr !important;
    }
}

/* 2026-06-04: keep product-description headings a sensible size inside the Details accordion */
.mp-accordion__content h1, .mp-accordion__content .product_title { font-size: 22px !important; line-height: 1.25 !important; margin: 16px 0 8px !important; font-weight: 800 !important }
.mp-accordion__content h2 { font-size: 19px !important; line-height: 1.3 !important; margin: 16px 0 6px !important; font-weight: 800 !important }
.mp-accordion__content h3 { font-size: 16.5px !important; line-height: 1.35 !important; margin: 14px 0 6px !important; font-weight: 700 !important }
.mp-accordion__content h4 { font-size: 15px !important; line-height: 1.4 !important; margin: 12px 0 5px !important; font-weight: 700 !important }
.mp-accordion__content h1:first-child, .mp-accordion__content h2:first-child, .mp-accordion__content h3:first-child, .mp-accordion__content .product_title:first-child { margin-top: 0 !important }

/* ── Out-of-stock colour swatches (war-shortage colours, 2026-06-15) ── */
.mp-swatch--oos { position: relative; opacity: .5; cursor: not-allowed; }
.mp-swatch--oos .mp-swatch__dot { filter: grayscale(70%); }
.mp-swatch--oos:hover { transform: none; }
.mp-swatch__oos { position: absolute; inset: 0; pointer-events: none; }
.mp-swatch--oos .mp-swatch__oos::after {
    content: ""; position: absolute; top: 50%; left: 6%; right: 6%; height: 2px;
    background: #b91c1c; transform: translateY(-1px) rotate(-45deg); transform-origin: center; border-radius: 2px;
}
.mp-oos-msg { display: none; margin-top: 10px; font-size: 13px; line-height: 1.4; color: #b91c1c; font-weight: 600; }

/* Add-to-cart disabled while a sold-out colour is selected (2026-06-15) */
.mp-cta__btn--oos, button.mp-cta__btn--oos[disabled] { opacity: .55; cursor: not-allowed; filter: grayscale(35%); }
