/* Replayable animation layers for links and product searches. */
.product-grid{transition:opacity .3s ease,transform .3s cubic-bezier(.2,.8,.2,1)}.product-grid.filtering{opacity:0;transform:translateY(18px);pointer-events:none}.product-section.reveal.is-visible .product-filter{animation:fadeIn .55s .1s both}.product-section.reveal.is-visible .product-grid{animation:fadeIn .65s .18s both}.intro.reveal.is-visible .intro-copy{animation:slideFromRight .7s .12s both}.assurance.reveal.is-visible .assurance-list{animation:slideFromRight .7s .14s both}.inquiry.reveal.is-visible .inquiry-form{animation:slideFromRight .7s .18s both}@keyframes fadeIn{from{opacity:0;filter:blur(4px);transform:translateY(18px)}to{opacity:1;filter:blur(0);transform:none}}

/* Product Details Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 76, 83, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    padding: 20px;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    background: var(--paper, #fbfdfc);
    border: 1px solid var(--line, rgba(50, 102, 110, 0.22));
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 64px rgba(24, 70, 74, 0.25);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 30px;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--mint, #d9eee9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    color: var(--ink, #194c53);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
}
.modal-close:hover {
    background: var(--teal, #4e948c);
    color: #fff;
    transform: scale(1.05);
}
.modal-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 30px;
    align-items: start;
    margin-top: 10px;
}
.modal-image-container {
    background: #fff;
    border: 1px solid rgba(50, 102, 110, 0.1);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(31, 84, 82, 0.04);
}
.modal-image-container img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 6px;
}
.modal-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.modal-category {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal, #4e948c);
    font-weight: 700;
}
.modal-title {
    font-size: 26px;
    color: var(--ink, #194c53);
    margin: -10px 0 0 0;
    font-family: \'Manrope\', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}
.modal-desc {
    font-size: 15px;
    color: var(--deep, #32666e);
    line-height: 1.6;
    margin: 0;
}
.modal-specs-title, .modal-features-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink, #194c53);
    margin: 10px 0 8px 0;
    border-bottom: 2px solid var(--mint, #d9eee9);
    padding-bottom: 4px;
}
.modal-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}
.modal-specs-table td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(50, 102, 110, 0.1);
    font-size: 14px;
}
.modal-specs-table td:first-child {
    font-weight: 700;
    color: var(--ink, #194c53);
    width: 35%;
}
.modal-specs-table td:last-child {
    color: var(--deep, #32666e);
}
.modal-features-list {
    margin: 0 0 15px 0;
    padding-left: 20px;
    font-size: 14px;
    color: var(--deep, #32666e);
    line-height: 1.6;
}
.modal-features-list li {
    margin-bottom: 6px;
}
.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.modal-btn-enquire {
    flex: 1;
    background: var(--deep, #32666e);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}
.modal-btn-enquire:hover {
    background: var(--ink, #194c53);
    transform: translateY(-2px);
}

/* Action button styles on product cards */
.product-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding: 15px;
}
.product-card-actions a {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: var(--mint, #d9eee9);
    color: var(--ink, #194c53);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 1px solid var(--line, rgba(50, 102, 110, 0.22));
}
.product-card-actions a:hover {
    background: var(--teal, #4e948c);
    color: #fff;
    transform: translateY(-2px);
}
.product-card-actions button {
    flex: 1;
    padding: 10px;
    background: var(--lime, #e6f2b7);
    color: var(--ink, #194c53);
    border: 1px solid rgba(24, 70, 74, 0.15);
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.product-card-actions button:hover {
    background: var(--mint, #d9eee9);
    transform: translateY(-2px);
}

@media(max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .modal-content {
        padding: 20px;
        max-height: 95vh;
    }
}
