/* Product Page Addon - Brand Alignment (Hallo-Webseite.de)
   This file stays compatible with Bootstrap/WHMCS themes.
   Styling only; no functional changes.
*/

.pp-wrapper {
    /* Default: inherit the active WHMCS theme typography (Lagom2/Twenty-One/etc.) */
    font-family: var(--pp-font, inherit);
    /* Align the overall surface with the site's announcements list background */
    background: var(--pp-header-bg, #f5f7fb);
    border: 1px solid var(--pp-border, rgba(15, 23, 42, 0.12));
    border-radius: 12px;
    box-shadow: var(--pp-shadow, 0 8px 24px rgba(15, 23, 42, 0.08));
    margin: 0 auto;
    overflow: hidden;
}

/* WHMCS twenty-one template can be tighter by default */
.pp-wrapper--t21 { padding: 0; }

.pp-header {
    padding: 22px 18px;
    background: var(--pp-header-bg, transparent);
    margin: 0;
    border-bottom: 1px solid var(--pp-border, rgba(15, 23, 42, 0.12));
}

.pp-body {
    padding: 26px 26px;
    margin: 0;
}

.pp-link {
    color: var(--pp-link, var(--pp-accent, #0d6efd));
    text-decoration: none;
}
.pp-link:hover { text-decoration: underline; }

/* Normalize common text colors inside the addon wrapper */
.pp-wrapper h1,
.pp-wrapper h2,
.pp-wrapper h3,
.pp-wrapper h4,
.pp-wrapper h5,
.pp-wrapper h6 {
    color: var(--pp-text, #1f2937);
}
.pp-wrapper p,
.pp-wrapper span,
.pp-wrapper li {
    color: var(--pp-text, #1f2937);
}

/* Reviews List Styling */
.reviews-list {
    margin-top: 20px;
    border-top: 1px solid var(--pp-border, rgba(15, 23, 42, 0.12));
    padding-top: 20px;
}

.review {
    padding: 15px;
    border: 1px solid var(--pp-border, rgba(15, 23, 42, 0.12));
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: var(--pp-surface, rgba(255, 255, 255, 0.55));
}

.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: var(--pp-accent, #0d6efd);
    font-size: x-large;
}

.review-date {
    font-size: 12px;
    color: var(--pp-muted, #6b7280);
    margin-top: 2px;
}

.review-stars {
    color: var(--pp-star, #f5a623);
    margin-top: 5px;
    font-size: 18px;
}

.review-message {
    margin-top: 10px;
    line-height: 1.5;
    color: var(--pp-text, #1f2937);
}

.review-response {
    margin-top: 15px;
    padding: 10px;
    background: rgba(13, 110, 253, 0.06);
    border: 1px solid var(--pp-border, rgba(15, 23, 42, 0.12));
    border-radius: 5px;
    font-size: 0.9rem;
}

.review-response strong {
    color: var(--pp-accent, #0d6efd);
}

/* Star Rating Styles */
.star-rating {
    direction: rtl;
    display: inline-flex;
    font-size: 18px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: var(--pp-star-off, #ccc);
    cursor: pointer;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: var(--pp-star, #f5a623);
}

/* Rating style start*/

.review-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--pp-accent, #7ca9dd);
}

/* Overall Rating Section */
.card-overall {
    text-align: center;
    margin-bottom: 20px;
}

.overall-rating {
    font-size: 2rem;
    color: var(--pp-star, #f5a623);
    font-weight: bold;
}

.overall-stars {
    font-size: 1.5rem;
    color: var(--pp-star, #f5a623);
    margin: 5px 0;
}

.total-reviews {
    font-size: 0.9rem;
    color: var(--pp-muted, #6b7280);
}

/* 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: var(--pp-muted, #6b7280);
}

.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: var(--pp-muted, #6b7280);
    font-weight: bold;
}

/* Star Rating Display */

.stars {
    --star-size: 24px;
    --star-color: #f5a623;
    --star-background: var(--pp-border, rgba(15, 23, 42, 0.12));
    --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;
}

.customstartstyle {
    --star-size: 24px;
}

.stars::before {
    content: "★★★★★";
    /* Display 5 stars */
}

.rating-text {
    font-size: 14px;
    color: var(--pp-muted, #6b7280);
    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;
}

.tab {
    text-align: center;
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-size: 16px;
    color: var(--pp-text, #1f2937);
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.tab:hover {
    color: var(--pp-accent, #0d6efd);
}

.tab.active {
    border-bottom: 2px solid var(--pp-accent, #0d6efd);
    color: var(--pp-accent, #0d6efd);
    font-weight: bold;
}

.tab-content {
    width: 100%;
    overflow: auto;
    display: none;
}

.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;
}

/* Basic styling for layout */
.slider-container {
    padding: 20px;
    display: flex;
    width: 100%;
    margin: 0 auto;
    border: 1px solid var(--pp-border, rgba(15, 23, 42, 0.12));
    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 var(--pp-border, rgba(15, 23, 42, 0.12));
    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: #5cb85c;
}



.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: var(--pp-text, #1f2937);
    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;
}



/* .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: 392px;
    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 var(--pp-border, rgba(15, 23, 42, 0.12));
}


/* .box:hover {
    
    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-weight: bold;
    color: #6A6A74;
    text-align: center;
    margin-top: 20px;
}

.marvel {
    color: #32323E;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 25px;
}

.logo {
    height: 60px;
}

.slider-img img {
/*    max-width: 100%;*/
width: 200px !important;
height: 200px !important;
}

.lSPrev,
.lSNext {
    background-color: ;
    opacity: 1 !important;
}


@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%; */
    }
    .arrow-right {
        right: 23px;
    }
    .main-image {
        flex: 3;
        background-size: 91%;
        background-repeat: no-repeat;
        background-position: center;
        height: 370px;
        transition: background-image 0.5s ease;
        position: relative;
        cursor: pointer;
    }

    /* Thumbnail container styling */
.thumbnail-container {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 300px;
    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; */
}
}
.imagetags{
    overflow: hidden !important;
    width: 100%;
}

.tags-overlay{
    position: absolute;
        top: 0;
        width: 100%;
        overflow: hidden;
        height: 100%;
    
        
}
.diagonal.secondary{
    top: 17px;
    width: 264px;
}
.tag-container p{
margin-bottom: 0px;
}
.tag-container{
    position: relative;
    top: 0;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    /* background-color: {$bg}; */
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    border-radius: 9999px;
    float: left;
    clear: both;
    margin: 3px 0px;
}
.diagonal{
    border-radius: 0px !important;
    transform: rotate(-45deg);
    left: -53px;
    top: 28px;
    background: red;
    color: white;
    padding: 5px 50px;
    font-size: 12px;
    font-weight: bold;
}


.skewed {
    transform: skew(-40deg);
    border-radius: 0px;
    box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.5);
    left: 10px;
}

.skewed p {
    transform: skew(40deg);
    margin-bottom: 0px;
}

@media (max-width: 425px) {
    .thumbnail {
    width: 100%;
    height: auto;
}
}

/* HWPP-SEEALSO-FONT: Schrift der See-Also-Karten verkleinern, damit Text passt */
.container_seealso .text-container{font-size:13px;}
.container_seealso .product-descriptionn{font-size:12px;line-height:1.35;height:auto;max-height:76px;-webkit-line-clamp:4;}
.container_seealso .product-price{font-size:11px;padding:3px 10px;}
