/* Reviews List Styling */
.reviews-list {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.review {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 15px;
}

.review-header .review-details {
    flex: 1;
}

.review-name {
    font-weight: bold;
    /* font-size: 1rem; */
    color: #7ca9dd;
    font-size: x-large;
}

.review-date {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.review-stars {
    color: #f5a623;
    margin-top: 5px;
    font-size: 18px;
}

.review-message {
    margin-top: 10px;
    line-height: 1.5;
    color: #555;
}

.review-response {
    margin-top: 15px;
    padding: 10px;
    background: #f4f4ff;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

.review-response strong {
    color: #007bff;
}

/* Star Rating Styles */
.star-rating {
    direction: rtl;
    display: inline-flex;
    font-size: 18px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ccc;
    cursor: pointer;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: #f5a623;
}

/* Rating style start*/

.review-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #444;
}

/* Overall Rating Section */
.card-overall {
    text-align: center;
    margin-bottom: 20px;
}

.overall-rating {
    font-size: 2rem;
    color: #f5a623;
    font-weight: bold;
}

.overall-stars {
    font-size: 1.5rem;
    color: #f5a623;
    margin: 5px 0;
}

.total-reviews {
    font-size: 0.9rem;
    color: #666;
}

/* Breakdown Section */
.card-breakdown {
    margin-top: 10px;
}

.breakdown-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-label {
    width: 80px;
    font-size: 0.9rem;
    color: #666;
}

.rating-bar {
    flex: 1;
    height: 10px;
    background-color: #d4d4d4;
    margin: 0 10px;
    border-radius: 5px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background-color: #f5a623;
    transition: width 0.3s ease;
}

.rating-count {
    width: 30px;
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
}

/* Star Rating Display */

.stars {
    --star-size: 24px;
    --star-color: #f5a623;
    --star-background: #ddd;
    --rating: 0;
    /* Default rating value */
    display: inline-block;
    font-size: var(--star-size);
    line-height: 1;
    background:
        linear-gradient(90deg,
            var(--star-color) calc(var(--rating) / 5 * 100%),
            var(--star-background) calc(var(--rating) / 5 * 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Arial", sans-serif;
}

.customstartstyle {
    --star-size: 24px;
}

.stars::before {
    content: "★★★★★";
    /* Display 5 stars */
}

.rating-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 5px;
}

/* Rating style end */



/* style for tabs start */
.tabs-container {
    width: 100%;
    margin: 0 auto;
    margin-top: 30px;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
}

.tab {
    text-align: center;
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-size: 16px;
    color: #555;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.tab:hover {
    color: #007bff;
}

.tab.active {
    border-bottom: 2px solid #007bff;
    color: #007bff;
    font-weight: bold;
}

.tab-content {
    width: 100%;
    overflow: auto;
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 20px;
}

.tab-content.active {
    display: block;
}

/* style for tabs ends */

.description-container {
    /* max-height: 100px;
    overflow: scroll; */
    max-height: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    font-size: 14px;
}

.product-gallery {
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #fff;
    padding: 16px;
}

.product-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.product-gallery-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.product-gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #f7f7f7;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.product-gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.product-gallery-item::after {
    content: "View";
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.product-gallery-item:hover img {
    transform: scale(1.04);
}

.changelog-list {
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #fff;
    padding: 16px;
}

.changelog-item {
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
}

.changelog-item:last-child {
    border-bottom: none;
}

.changelog-item-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
}

.changelog-version {
    font-weight: 700;
    font-size: 16px;
}

.changelog-date {
    color: #777;
    font-size: 12px;
}

.changelog-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    margin-right: 8px;
}

.badge-new {
    background: #5cb85c;
}

.badge-improvement {
    background: #5bc0de;
}

.badge-bugfix {
    background: #d9534f;
}

.badge-launch {
    background: #8a6d3b;
}

/* Basic styling for layout */
.slider-container {
    padding: 20px;
    display: flex;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

/* Main image styling */
.main-image {
    flex: 3;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    height: 469px;
    transition: background-image 0.5s ease;
    position: relative;
    cursor: pointer;
}

.ellipsis {
    white-space: nowrap;
    /* Prevents the text from wrapping to the next line */
    overflow: hidden;
    /* Hides any text that overflows the container */
    text-overflow: ellipsis;
    /* Adds "..." at the end of the overflowed text */
}

/* Arrow button styling */
.arrow {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 10;
}

/* Positioning for left and right arrows */
.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 10px;
}

/* Thumbnail container styling */
.thumbnail-container {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 469px;
    overflow: hidden;
}

/* Inner container for scrolling thumbnails */
.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: transform 0.3s ease;
}

/* Thumbnail images */
.thumbnail {
    width: 160px;
    height: 130px;
    cursor: pointer;
    transition: opacity 0.3s;
    border-radius: 5px;
    border: 2px solid transparent;
}

/* Highlight active thumbnail */
.thumbnail.active {
    border-color: #3498db;
}

/* Thumbnail scroll arrows */
.thumbnail-arrow {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 18px;
    text-align: center;
    line-height: 25px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

/* Positioning for thumbnail scroll arrows */
.thumbnail-arrow-up {
    top: 5px;
    /* right: 10px; */
}

.thumbnail-arrow-down {
    bottom: 5px;
    /* right: 10px; */
}

/* Modal styling */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 88%);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal content (full-size image) */
.modal-content {
    max-width: 90%;
    max-height: 90%;
}

/* Close button for modal */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.text-container {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 99%;
    margin-bottom: 0px;
}

.slider-container {
    margin-top: 30px;
}

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 20px 0;
}

.slider-items {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-img {
    padding: 10px;

}

.slider-item {
    flex: 0 0 19%;
    /* Show 5 items in the viewport */
    box-sizing: border-box;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.slider-item img {
    max-width: 100%;
    height: 200px;
    border-radius: 8px;
}

.buttonslider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px 17px;
    cursor: pointer;
    z-index: 10;
}

.buttonslider:focus {
    outline: none;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.free {
    background-color: #5cb85c;
}

.commercial {
    background-color: #c00;
}



.product-priceheading {
    margin-top: 0px;
    font-weight: 700;
    text-align: right;
}

@media screen and (max-width: 992px) {
    .product-priceheading {
        text-align: left;
    }

    .review-header {
        display: block;
    }
}

.product-price {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    border: 0;
    color: #fff;
    display: inline-block;
    line-height: 1em;
    padding: 4px 14px;
    border-radius: 3px;
    font-size: 12px;
}

.product-descriptionn {
    font-size: 14px;
    color: #555;
    padding: 0 10px;
    height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.product-card {
    display: block;
    flex: 0 0 calc(25% - 16px);
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.12);
}

.product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-thumb {
    padding: 10px;
    text-align: center;
}

.product-thumb img {
    max-width: 100%;
    height: 160px;
    object-fit: contain;
}

.product-body {
    padding: 0 12px 12px;
    flex: 1;
}

.product-title {
    font-size: 18px;
    margin: 0 0 8px;
    font-weight: 700;
    line-height: 1.3;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-top: 1px solid #eee;
}

.product-card-footer .btn {
    margin-left: 8px;
}

.product-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
}

.product-search-input {
    max-width: 420px;
}

.product-search-btn {
    white-space: nowrap;
}

.product-search-clear {
    padding-left: 4px;
}



.rel-anc :hover {
    text-decoration: none;
}

.addminaccess {
    margin-top: 20px;
    text-align: right;
}

.hide {
    display: none !important;
}

/* see also slider style */

.container_seealso {
    width: 100%;
    /* height: 100vh; */
    /* background: #A4152C; */
    display: flex;
    /* justify-content: center; */
    align-items: center;
}
.lSPager.lSpg{
    display: none;
}
.box {
    width: 215px;
    height: 376px;
    background: white;
    border-radius: 10px;
    /* box-shadow: 2px 10px 12px rgba(0, 0, 0, .5); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    margin: 20px 5px;
    text-align: center;
    border: 1px solid #ddd;
}

.box:hover {
    /* background-color: #17171D; */
    transform-style: preserve-3d;
    transform: scale(1.02);
    transition: all ease .3s;
}

.box:hover .marvel {
    color: #C0292B;
    transition: all ease .5s;
}

.model {
    height: 350px;
    max-height: 100%;
    max-width: 100%;
}

.details {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
}

.details p {
    font-family: calibri;
    font-weight: bold;
    color: #6A6A74;
    text-align: center;
    margin-top: 20px;
}

.marvel {
    color: #32323E;
    font-weight: bold;
    letter-spacing: 2px;
    font-family: Bebas Kai;
    font-size: 25px;
}

.logo {
    height: 60px;
}

.slider-img img {
    height: 200px;
    width: 150px;
    
}

.lSPrev,
.lSNext {
    background-color: #484848d1;
    border-radius: 100%;
}

@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 992px) {
    .product-card {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 600px) {
    .product-search {
        flex-direction: column;
        align-items: stretch;
    }

    .product-search-input {
        max-width: 100%;
    }

    .product-card {
        flex: 0 0 100%;
    }

    .product-thumb img {
        height: auto;
    }
}

@media (max-width: 768px) {
    .product-gallery-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-gallery-item img {
        height: 140px;
    }
}


@media(max-width: 720px) {
    .box {
        width: 200px;
        height: 360px;
    }

    .model {
        height: 250px;
    }

    .details p {
        font-size: 14px;
        width: 250px;
    }
}

@media(max-height: 600px) {
    .container_seealso {
        /* height: 90%; */
    }
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin: 15px 0 25px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: #333;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #d4d4d4;
}

.category-card.active {
    border-color: #337ab7;
    box-shadow: 0 4px 12px rgba(51, 122, 183, 0.2);
}

.category-thumb img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    background: #f3f3f3;
}

.category-body h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.category-body span {
    font-size: 12px;
    color: #777;
}

/* === HetaCloud product module modern styles === */
.product-market {
    --product-accent: var(--a-link-color, #0cbed5);
    --product-accent-strong: var(--btn-primary-bg, #0cbed5);
    --product-surface: var(--background-7, #fff);
    --product-bg: var(--background-2, #f5faff);
    --product-ink: var(--color-texts, #161c2d);
    --product-muted: var(--color-texts-opacity, #8b93a9);
    --product-border: var(--border-color, #e7e9ed);
    --product-shadow: 0 24px 60px rgba(15, 35, 55, 0.12);
    font-family: var(--font-body, "Gilroy", "Poppins", sans-serif);
    color: var(--product-ink);
}

.product-market h1,
.product-market h2,
.product-market h3,
.product-market .product-hero-title,
.product-market .product-detail-title h1 {
    font-family: var(--font-heading, "Gilroy", "Poppins", sans-serif);
    letter-spacing: -0.02em;
}

.product-market a {
    text-decoration: none;
}

@keyframes productFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes productFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-market * {
        animation: none !important;
        transition: none !important;
    }
}

/* Listing hero */
.product-market-hero {
    position: relative;
    padding: 90px 0 110px;
    background:
        radial-gradient(800px circle at 12% -20%, rgba(12, 190, 213, 0.22), transparent 60%),
        radial-gradient(600px circle at 90% 10%, rgba(35, 212, 235, 0.2), transparent 55%),
        linear-gradient(135deg, #ffffff 0%, var(--product-bg) 60%, #eef9fb 100%);
    overflow: hidden;
}

.product-hero-grid {
    align-items: center;
}

.product-market-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(12, 190, 213, 0.12) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.5;
    pointer-events: none;
}

.product-hero-content {
    position: relative;
    z-index: 1;
    animation: productFadeUp 0.8s ease both;
}

.product-hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(12, 190, 213, 0.12);
    color: var(--product-accent);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
}

.product-hero-title {
    margin: 18px 0 12px;
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    line-height: 1.1;
}

.product-hero-text {
    max-width: 560px;
    color: var(--product-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.product-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0 20px;
}

.product-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.product-hero-btn--primary {
    background: var(--product-accent-strong);
    color: #fff;
    box-shadow: 0 16px 30px rgba(12, 190, 213, 0.25);
}

.product-hero-btn--ghost {
    background: #fff;
    border-color: var(--product-border);
    color: var(--product-ink);
}

.product-hero-btn--ghost:hover {
    border-color: var(--product-accent);
    color: var(--product-accent);
}

.product-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(15, 35, 55, 0.12);
}

.product-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--product-muted);
    font-weight: 500;
}

.product-hero-features span {
    display: inline-flex;
    align-items: center;
}

.product-hero-features i {
    margin-right: 6px;
    color: var(--product-accent);
}

.product-hero-art {
    position: relative;
    z-index: 1;
    padding: 10px;
    animation: productFadeUp 0.9s ease both;
}

.product-hero-art img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--product-shadow);
    background: #fff;
}

.product-hero-card {
    position: absolute;
    left: 24px;
    bottom: -24px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 36px rgba(15, 35, 55, 0.18);
    max-width: 240px;
    animation: productFloat 5s ease-in-out infinite;
}

.product-hero-card__title {
    font-weight: 700;
    margin-bottom: 6px;
}

.product-hero-card__text {
    color: var(--product-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-hero-card__meta {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--product-accent);
    font-weight: 600;
}

/* Listing panel */
.product-market-section {
    padding: 40px 0 90px;
    background: var(--product-bg);
}

.product-market-panel {
    background: var(--product-surface);
    border: 1px solid var(--product-border);
    border-radius: 22px;
    padding: 32px;
    box-shadow: var(--product-shadow);
}

.product-market-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.product-market-subtitle {
    color: var(--product-muted);
    margin: 6px 0 0;
}

.product-market-count {
    background: rgba(12, 190, 213, 0.12);
    color: var(--product-accent);
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--product-border);
    background: #fff;
}

.product-search-input {
    border: none;
    box-shadow: none;
    background: transparent;
}

.product-market .product-search-input {
    width: 100%;
    max-width: none;
}

.product-search-input:focus {
    box-shadow: none;
}

.product-search-btn {
    border: none;
    background: var(--product-accent-strong);
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.product-search-clear {
    color: var(--product-muted);
    font-weight: 600;
}

.product-market .category-grid {
    margin: 22px 0 28px;
    gap: 14px;
}

.product-market .category-card {
    border-radius: 16px;
    border: 1px solid var(--product-border);
    background: #fff;
    padding: 12px 14px;
}

.product-market .category-card:hover {
    box-shadow: 0 12px 26px rgba(15, 35, 55, 0.12);
    transform: translateY(-2px);
}

.product-market .category-card.active {
    border-color: var(--product-accent);
    box-shadow: 0 10px 24px rgba(12, 190, 213, 0.18);
}

.product-market .category-thumb img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.product-card {
    border: 1px solid var(--product-border);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: productFadeUp 0.6s ease both;
}

.product-card:nth-child(2) { animation-delay: 0.05s; }
.product-card:nth-child(3) { animation-delay: 0.1s; }
.product-card:nth-child(4) { animation-delay: 0.15s; }
.product-card:nth-child(5) { animation-delay: 0.2s; }
.product-card:nth-child(6) { animation-delay: 0.25s; }

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 35, 55, 0.14);
}

.product-card__media {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, rgba(12, 190, 213, 0.08), rgba(255, 255, 255, 0.9));
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.product-card__media img {
    height: 400px;
    width: 100%;
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.product-badge.free {
    background: #26b969;
}

.product-badge.commercial {
    background: #dd3a3a;
}

.product-card__body {
    padding: 18px 20px 10px;
    flex: 1;
}

.product-card__desc {
    color: var(--product-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 14px;
}

.product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--product-muted);
    font-size: 0.85rem;
}

.product-type {
    color: var(--product-ink);
    font-weight: 600;
}

.product-market .product-price {
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.product-market .product-price.free {
    background: rgba(38, 185, 105, 0.15);
    color: #1f8e52;
}

.product-market .product-price.commercial {
    background: rgba(221, 58, 58, 0.15);
    color: #c02d2d;
}

.product-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-market .stars {
    --star-size: 18px;
}

.product-detail-rating .stars {
    --star-size: 22px;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid var(--product-border);
}

.product-card__action {
    color: var(--product-accent);
    font-weight: 600;
}

.product-market .pagination-container {
    margin-top: 26px;
    display: flex;
    justify-content: center;
}

.product-market .pagination {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-market .pagination li a,
.product-market .pagination li span {
    border-radius: 10px;
    border: 1px solid var(--product-border);
    padding: 6px 12px;
    color: var(--product-ink);
    background: #fff;
}

.product-market .pagination li.active span {
    background: var(--product-accent);
    color: #fff;
    border-color: var(--product-accent);
}

.product-empty {
    padding: 32px 0;
}

.product-empty-card {
    border: 1px dashed var(--product-border);
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    background: #fff;
}

.product-empty-card h2,
.product-empty-card h3 {
    margin-top: 0;
}

.product-empty-card p {
    color: var(--product-muted);
}

/* Detail page */
.product-detail-hero {
    padding: 60px 0 40px;
    background:
        radial-gradient(900px circle at 90% -10%, rgba(12, 190, 213, 0.2), transparent 60%),
        linear-gradient(140deg, #ffffff 0%, var(--product-bg) 65%, #eef9fb 100%);
}

.product-detail-shell {
    background: #fff;
    border: 1px solid var(--product-border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--product-shadow);
    animation: productFadeUp 0.7s ease both;
}

.product-detail-grid {
    align-items: center;
}

.product-detail-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.product-back-link {
    color: var(--product-muted);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-back-link:hover {
    color: var(--product-accent);
}

.product-detail-price-tag {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(12, 190, 213, 0.12);
    color: var(--product-accent);
}

.product-detail-price-tag.free {
    background: rgba(38, 185, 105, 0.15);
    color: #1f8e52;
}

.product-detail-price-tag.commercial {
    background: rgba(221, 58, 58, 0.15);
    color: #c02d2d;
}

.product-detail-media {
    background: linear-gradient(135deg, rgba(12, 190, 213, 0.08), rgba(255, 255, 255, 0.96));
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.product-detail-logo {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-detail-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.product-detail-title h1 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.product-version {
    background: rgba(12, 190, 213, 0.12);
    color: var(--product-accent);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-detail-tagline {
    color: var(--product-muted);
    margin: 8px 0 12px;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.product-detail-review-link {
    color: var(--product-accent);
    font-weight: 600;
    cursor: pointer;
}

.product-detail-summary {
    font-size: 1rem;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.product-detail-actions .btn {
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
}

.product-detail-alert {
    margin: 10px 0 0;
}

.product-detail-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.product-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--product-border);
    background: #fff;
    color: var(--product-muted);
    font-weight: 600;
}

.product-highlight i {
    color: var(--product-accent);
}

.product-detail-body {
    padding: 20px 0 80px;
    background: var(--product-bg);
}

.product-detail-panel {
    background: #fff;
    border-radius: 22px;
    border: 1px solid var(--product-border);
    padding: 28px;
    box-shadow: var(--product-shadow);
}

.product-detail-alerts {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.product-market .tabs {
    gap: 8px;
    border-bottom: none;
    background: var(--product-bg);
    border-radius: 999px;
    padding: 6px;
}

.product-market .tab {
    border-radius: 999px;
    padding: 8px 16px;
    border-bottom: none;
    color: var(--product-muted);
    font-weight: 600;
}

.product-market .tab.active {
    background: #fff;
    color: var(--product-ink);
    box-shadow: 0 12px 24px rgba(15, 35, 55, 0.12);
}

.product-market .tab-content {
    border-radius: 18px;
    border: 1px solid var(--product-border);
    padding: 24px;
    margin-top: 16px;
}

.product-market .review-card {
    border-radius: 18px;
    border: 1px solid var(--product-border);
    padding: 20px;
    background: #fff;
}

.product-market .review {
    border-radius: 16px;
    border: 1px solid var(--product-border);
    background: #fff;
}

.product-market .review-name {
    color: var(--product-accent);
}

.product-market .review-response {
    background: rgba(12, 190, 213, 0.08);
    border: 1px solid rgba(12, 190, 213, 0.2);
}

.product-market .product-gallery {
    border-radius: 18px;
    border: 1px solid var(--product-border);
}

.product-market .changelog-list {
    border-radius: 18px;
    border: 1px solid var(--product-border);
}

.product-detail-related {
    padding: 20px 0 80px;
    background: var(--product-bg);
}

.product-detail-related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.product-detail-related-header p {
    margin: 0;
    color: var(--product-muted);
}

.product-related-title {
    padding: 8px 12px;
    background: rgba(12, 190, 213, 0.08);
    border-radius: 10px;
}

.product-market .box {
    width: 220px;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--product-border);
    box-shadow: 0 12px 24px rgba(15, 35, 55, 0.08);
    overflow: hidden;
}

.product-market .box:hover {
    transform: translateY(-4px);
}

.product-market .lSPrev,
.product-market .lSNext {
    background-color: var(--product-accent);
    opacity: 1 !important;
}

.product-empty-state {
    padding: 80px 0;
    background: var(--product-bg);
}

@media (max-width: 992px) {
    .product-hero-card {
        position: static;
        margin-top: 20px;
        max-width: none;
    }

    .product-market-panel {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .product-market-hero {
        padding: 70px 0 90px;
    }

    .product-detail-shell {
        padding: 22px;
    }

    .product-detail-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-detail-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-market .tabs {
        flex-wrap: wrap;
        border-radius: 16px;
    }

    .product-detail-related-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .product-market-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-search {
        flex-direction: column;
        align-items: stretch;
    }
}
