:root {
    --primary-color: #00AEEF;
    --secondary-color: #1C2F5C;
    --accent-color: #223463;
    --text-color: #333333;
    --background-color: #ffffff;
    --muted: #69707a;
    --glass: rgba(28, 47, 92, 0.04);
    --card-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
    --radius: 8px;
}


/* Container */

.rsp-product-section {
    background: var(--background-color);
    color: var(--text-color);
    padding: 48px 18px;
    font-family: "Inter", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Top layout */

.rsp-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}


/* MEDIA (left) */

.rsp-media {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* Main image */

.rsp-main-image-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(28, 47, 92, 0.06);
    box-shadow: var(--card-shadow);
    /* background: linear-gradient(180deg, rgba(0, 170, 239, 0.03), rgba(28, 47, 92, 0.01)); */
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsp-main-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .45s ease, filter .3s ease;
    display: block;
    max-height: 520px;
}


/* zoom button */

.rsp-zoom-btn {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: 0;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform .2s ease, opacity .2s ease;
}

.rsp-zoom-btn:hover {
    transform: translateY(-3px);
}


/* thumbnails */

.rsp-thumbnails {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    padding-left: 4px;
}

.rsp-thumbnails .thumb {
    border: 1px solid rgba(28, 47, 92, 0.06);
    background: transparent;
    padding: 4px;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, box-shadow .25s ease;
    height: 64px;
    width: 96px;
    overflow: hidden;
}

.rsp-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rsp-thumbnails .thumb.active {
    border-color: var(--primary-color);
    box-shadow: 0 8px 22px rgba(0, 170, 239, 0.12);
    transform: translateY(-4px);
}


/* CONTENT (right) */

.rsp-content {
    padding: 6px 4px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rsp-kicker {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.4px;
    font-size: 0.92rem;
}

.rsp-title {
    font-size: clamp(1.6rem, 2.6vw, 3.2rem);
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.05;
    font-weight: 600 !important;
    text-transform: uppercase;
}

.rsp-summary {
    color: var(--muted);
    font-size: 1rem;
}


/* meta */

.rsp-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.95rem;
}

.meta-item {
    background: var(--glass);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: var(--secondary-color);
}


/* features list */

.rsp-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    margin: 0;
    padding: 0;
}

.rsp-features li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 12px;
    background: linear-gradient(180deg, rgba(0, 170, 239, 0.03), rgba(28, 47, 92, 0.01));
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.98rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.rsp-features li i {
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-top: 2px;
}


/* CTA row */

.rsp-cta-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 6px;
}

.btn-rsp-quote {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 170, 239, 0.12);
}

.btn-rsp-more {
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
    padding: 10px 12px;
}


/* DETAILS (specs + warranty) */

.rsp-details {
    max-width: 1200px;
    margin: 28px auto 0;
    padding: 0 18px;
}

.rsp-details-inner {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 24px;
    align-items: start;
}


/* Specs table */

.specs-title {
    font-size: 2.25rem;
    color: var(--background-color);
    margin-bottom: 10px;
    font-weight: 700;
    background-color: #00AEEF;
}

.specs-table-wrap {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    border: 2px solid #00afef69 !important;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    text-align: left;
    padding: 14px 18px;
    font-size: 0.96rem;
    border-bottom: 1px solid rgba(34, 52, 99, 0.04);
}

.specs-table tr:nth-child(even) {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), transparent);
}

.specs-table th {
    width: 36%;
    color: var(--secondary-color);
    font-weight: 700;
    background: transparent;
}


/* Warranty card */

.warranty-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
}

.warranty-card {
    width: 100%;
    padding: 22px 26px;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.85), rgba(28, 47, 92, 0.9), rgba(255, 215, 0, 0.4));
    background-size: 300% 300%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 174, 239, 0.25);
    text-align: left;
    color: #fff !important;
    position: relative;
    overflow: hidden;
    animation: gradientFlow 4s ease infinite;
}


/* Moving gradient animation */

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* Optional glowing border effect */

.warranty-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #00AEEF, #FFD700);
    opacity: 0.2;
    filter: blur(25px);
    z-index: 0;
}


/* Make text above the gradient */

.warranty-card * {
    position: relative;
    z-index: 1;
}

.warranty-icon {
    background: rgba(255, 255, 255, 0.06);
    color: var(--background-color);
    width: 64px;
    height: 64px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.warranty-card h3 {
    margin: 4px 0 8px;
    color: var(--background-color);
    font-size: 1.15rem;
}

.warranty-text {
    color: var(--background-color);
    line-height: 1.55;
    margin-bottom: 12px;
    font-size: 0.96rem;
}

.warranty-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.warranty-list li {
    font-weight: 600;
    color: var(--background-color);
    font-size: 0.95rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.warranty-list li i {
    color: var(--background-color);
    font-size: 0.9rem;
}


/* Related products */

.rsp-related {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 18px;
}

.related-heading {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.related-card {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(34, 52, 99, 0.04);
    background: #fff;
    transition: transform .28s ease, box-shadow .28s ease;
}

.related-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
}

.related-card:hover img {
    transform: scale(1.06);
}

.related-info {
    padding: 12px;
    font-weight: 700;
    color: var(--secondary-color);
}


/* Lightbox styles */

.rsp-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    padding: 24px;
}

.rsp-lightbox.active {
    display: flex;
}

.rsp-lightbox img {
    max-width: 96%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.rsp-lightbox-close {
    position: absolute;
    right: 18px;
    top: 18px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}


/* Responsive rules */

@media (max-width: 1024px) {
    .rsp-container {
        grid-template-columns: 1fr;
    }
    .rsp-details-inner {
        grid-template-columns: 1fr;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .rsp-thumbnails .thumb {
        width: 72px;
        height: 56px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .rsp-features {
        grid-template-columns: 1fr;
    }
    .rsp-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


/* ===== Modern Related Products Section ===== */

.related-section-modern {
    background: #f7f8fc;
    font-family: "Poppins", sans-serif;
}

.modern-related-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1c2f5c;
}

.modern-related-subtitle {
    color: #666;
    font-size: 1rem;
}


/* ===== Modern Product Card ===== */

.modern-product-box {
    background: #fff;
    /* border-radius: 16px; */
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: none;
}

.modern-product-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}


/* ===== Product Image Section ===== */

.modern-product-img {
    position: relative;
    overflow: hidden;
}

.modern-product-img img {
    width: 100%;
    transition: transform 0.6s ease;
}

.modern-product-box:hover .modern-product-img img {
    transform: scale(1.1);
}


/* ===== Glass Overlay on Hover ===== */

.modern-img-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: all 0.6s ease;
}

.modern-product-box:hover .modern-img-overlay {
    left: 0;
    opacity: 1;
    animation: modern-glass-swipe 1.2s ease;
}

@keyframes modern-glass-swipe {
    0% {
        left: -100%;
        opacity: 0.3;
    }
    50% {
        left: 0%;
        opacity: 0.6;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}


/* ===== Product Details ===== */

.modern-product-details {
    padding: 25px 20px 35px;
}

.modern-product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1c2f5c;
}


/* ===== Glass Button ===== */

.modern-btn-glass {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    border: none;
    border-radius: 0;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: inline-block;
}

.modern-btn-glass::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.05));
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-btn-glass:hover {
    background: linear-gradient(135deg, #00c6ff, #007bff);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.35);
}

.modern-btn-glass:hover::before {
    opacity: 1;
    animation: modern-glass-swipe 1.2s ease forwards;
}


/* ===== Responsive ===== */

@media (max-width: 768px) {
    .modern-product-box {
        margin-bottom: 30px;
    }
}

@media(max-width:670px) {
    .rsp-main-image-wrap {
        min-height: 340px;
    }
}

@media(max-width:500px) {
    .rsp-main-image-wrap {
        min-height: 240px;
    }
}


/* @media(max-width:300px) {
    .rsp-main-image-wrap {
        min-height: 120px;
        overflow-x: hidden;
    }
} */