/* Tabs */
.tabs{display:flex;gap:0;border-bottom:1px solid var(--border);margin-bottom:2rem}
.tab-btn{padding:1rem 1.5rem;background:none;border:none;font-size:1.03rem;font-weight:600;color:var(--gray);cursor:pointer;border-bottom: 3px solid transparent}
.tab-btn.active{color:var(--primary);border-bottom-color:var(--primary)}
.tab-content{display:none}
.tab-content.active{display:block}		
@media(max-width:768px){.tab-btn{font-size:var(--smallest-font)}}

/* Hero Section */
.app-hero{display:flex;align-items:center;gap:2rem;padding-top:1rem;padding-bottom:2.07rem}
.app-icon{width:90px;height:90px;flex-shrink:0;border-radius:25%;margin:0 0 auto}
.app-info h1{font-size:1.75rem;display:inline-block}
.app-info h1+span{color:var(--gray);font-weight:600;font-size:1.55rem}
.app-info .tagline{font-size:1.156rem;color:var(--dark);margin-bottom:0.5rem;font-weight:400}
.meta-info{display:flex;flex-wrap:wrap;gap:0.5rem;font-size:var(--smaller-font)}
.meta-info a{color:var(--primary);text-decoration:none}
.user-ratings{display:flex;flex-wrap:wrap;margin:0 0 0.5rem}
.rating{margin:10px 15px 0 0}
.star-rating,.star-rating div:hover,.star-rating div:active,.star-rating div:focus,.star-rating .current-rating{background:url("../../images/star.webp") left -1000px repeat-x}
.star-rating{position:relative;width:110px;height:22px;overflow:hidden;list-style:none;margin:0;padding:0;background-position:left top}
.star-rating li{cursor:pointer}
.star-rating .current-rating{position:absolute;top:0;left:0;text-indent:-1000em;height:22px}
.star-rating div{all:unset;position:absolute;top:0;left:0;text-indent:-1000em;height:22px}
.star-rating div:hover,.star-rating div:active,.star-rating div:focus{background-position:left bottom}
.star-rating div.one-star{width:10%;z-index:11}
.star-rating div.two-stars{width:20%;z-index:10}
.star-rating div.three-stars{width:30%;z-index:9}
.star-rating div.four-stars{width:40%;z-index:8}
.star-rating div.five-stars{width:50%;z-index:7}
.star-rating div.six-stars{width:60%;z-index:6}
.star-rating div.seven-stars{width:70%;z-index:5}
.star-rating div.eight-stars{width:80%;z-index:4}
.star-rating div.nine-stars{width:90%;z-index:3}
.star-rating div.ten-stars{width:100%;z-index:2}
.star-rating .current-rating{z-index:1;background-position:left center}
.rating-value{font-weight:600;display:flex;margin-top:9px}
.rating-counter{margin: 0 0 0 5px}
.rating-cursor{cursor: default}
@media(max-width:768px){.app-info h1{font-size:1.55rem}.app-info h1+span{font-size:1.35rem}.app-info .tagline{font-size:1.04rem}.app-hero{flex-direction:column;text-align:center;gap:0.5rem;padding-top:0;padding-bottom:1.5rem}.meta-info{justify-content:center;font-size:0.97rem}.user-ratings{justify-content:center}.rating-value{font-size:var(--smallest-font)}}

/* -- Mobile Rating Window -- */
.mobile-rating{display:none;position:absolute;list-style-type:none;margin:10px 0 0 110px;padding:0;background:#fff;border-radius:3px;border:1px solid var(--light-gray);max-width:235px;z-index:1}
.mobile-rating li{padding:16px 25px;float:left}
.mobile-rating li div{font-size:var(--smallest-font);font-weight:500;cursor:pointer}

/* Gallery Section */
.gallery-thumbnails{display:flex;gap:0.7rem;overflow-x:auto;padding-bottom:1rem}
.gallery-thumb{height:200px;flex-shrink:0;border-radius:8px;cursor:pointer;position:relative;overflow:hidden}
.gallery-thumb img{width:100%;height:100%;object-fit:cover;border-radius:8px;transition:transform 0.3s ease}
.gallery-thumb:hover img{transform:scale(1.05)}
.play{background:red;border-radius:25%/10%;color:#fff;font-size:2rem;height:40px;text-align:center;text-indent:0.1em;transition:all 150ms ease-out;width:56px;opacity:1;position:absolute;margin:0 auto}
.youtube_video{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;position:relative;height:200px}
.youtube_video:hover{cursor:pointer}
.youtube_video:hover .play{opacity:0.9}
.play::before{background:inherit;border-radius:6%/50%;bottom:9%;content:"";left:-5%;position:absolute;right:-5%;top:9%}
.play::after{border-style:solid;border-width:1em 0 1em 1.732em;border-color:transparent transparent transparent rgba(255,255,255,1);content:' ';font-size:0.29em;height:0;margin:-1em 0 0 -0.94em;top:50%;position:absolute;width:0}     

/* Gallery Popup Styles */
.gallery-popup{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.85);display:flex;justify-content:center;align-items:center;z-index:1000;opacity:0;visibility:hidden;transition:opacity 0.3s ease,visibility 0.3s ease}
.gallery-popup.active{opacity:1;visibility:visible}
.popup-content{position:relative;max-width:90%;max-height:90%;display:flex;flex-direction:column;justify-content:center;align-items:center}
.popup-image{max-width:100%;max-height:80vh;border-radius:8px;display:block}
.popup-video{width:853px;height:480px;max-width:90vw;max-height:50.625vw;border:none;border-radius:8px}
.caption{color:#fff;text-align:center;margin-top:15px;font-size:1.1rem;max-width:80%}
.popup-close{position:absolute;top:20px;right:20px;color:#fff;font-size:2rem;cursor:pointer;background:none;border:none;width:40px;height:40px;display:flex;align-items:center;justify-content:center;z-index:1001}
.popup-nav{position:absolute;top:50%;transform:translateY(-50%);background-color:rgba(255,255,255,0.2);color:#fff;border:none;width:50px;height:50px;border-radius:50%;display:flex;justify-content:center;cursor:pointer;font-size:25px;font-weught:400;transition:background-color 0.3s ease;z-index:1001;align-items:center}
.popup-nav:hover{background-color:rgba(255,255,255,0.3)}
.popup-prev{left:20px}
.popup-next{right:20px}
.popup-nav.hidden{display:none}
html{overflow-y:auto}
html.scroll-locked{overflow:hidden}
html.scroll-locked::-webkit-scrollbar{display:none}
html.scroll-locked{-ms-overflow-style:none;scrollbar-width:none}
@media(max-width:768px){.popup-nav{display:none}.gallery-thumb{height:150px}.youtube_video{height:150px}.popup-video{height:300px}.caption{font-size:0.9rem}.play{width:49px;height:35px}}  

/* Download Button Section */
.download-button-section{padding-top:2.07rem;padding-bottom:2rem;display:flex;gap:1rem}
.bottom-button{padding-bottom:0}
.download-button-wrapper{display:flex;gap:22px}
.buy-button-wrapper{display:flex;gap:22px}
.buy-button-wrapper svg{width:40px;height:40px;fill:#fff}    
.buy-button-wrapper .text{display:grid;line-height:24px}
.buy-button-wrapper .text b{font-size:1.05rem;font-weight:700}
.buy-button-wrapper .text div{font-weight:400;font-size:1rem}
.download-btn{background-color:var(--primary);color:#fff;padding:15px 29px;font-size:1.15rem;font-weight:600;border-radius:8px;text-decoration:none;transition:all 0.3s ease;display:flex;align-items:center}
.download-btn:hover{background-color:var(--primary-dark)}  
.buy-btn{background-color:#17a85c;/*opacity:0.9;*/color:#fff;padding:9px 20px;font-size:1.15rem;font-weight:600;border-radius:8px;text-decoration:none;transition:all 0.3s ease;display:flex;gap:1rem;}
.buy-btn:hover{background-color:#138f52/*opacity:1*/}
/*.download-counter{display:flex;flex-direction:column;align-items:center;padding-top:8px}
.counter-value{font-size:1.21rem;font-weight:600;color:#2c6bed;line-height:1.2}
.counter-label{font-size:0.9rem;color:#666;text-align:center}*/
@media(max-width:768px){.download-button-section{display:block;padding-top:1.5rem;padding-bottom:1rem}.download-button-wrapper{flex-direction:column;margin-bottom:1rem}.buy-button-wrapper{flex-direction:column;margin-bottom:1rem}.bottom-button .buy-button-wrapper{margin-bottom:0}.download-btn{justify-content:center;padding:16.5px 0;font-size:var(--standard-font)}.buy-button-wrapper .text{width:100%;justify-content:center;text-align:center;padding-right:40px}.buy-btn{padding:5px 20px}.bottom-button .download-button-wrapper{margin-bottom:0}.bottom-button .download-button-wrapper:has(+ .buy-button-wrapper){margin-bottom:1rem}}

/* Details Section */
.details{padding-top:2rem}

/* Review Section */
.review h2{color:(--gray);font-size:1.2rem;padding-bottom:8px;margin-top:21px}
.review h3{font-weight:600;padding-bottom:8px;margin-top:23px;font-size:1.05rem}
.review h2+h3{margin-top:13px}
.review ul,ol{margin:14px 40px}
.review h2+ul,.review h2+ol{margin-top:0px}      
.reviewed-by{display:none} 
.reviewer-header{display:flex;align-items:center;margin:2rem 0 0.4rem;border:1px solid var(--border);border-left:none;border-right:none;padding:10px 0}
.reviewer-image{width:60px;height:60px;border-radius:50%;object-fit:cover;margin-right:1rem}
.reviewer-info{flex:1}
.reviewer-name{font-weight:600;font-size:1.1rem}
.reviewer-title{color:var(--gray);font-size:0.9rem}
.review-rating{display:flex;align-items:center}
.review-stars{position:relative;display:inline-block;font-size:1.5rem;line-height:1;margin-right:0.5rem}
.review-stars .stars.empty{color:var(--border)}
.review-stars .stars.filled{color:var(--primary);position:absolute;top:0;left:0;white-space:nowrap;overflow:hidden}
.editor-badge{display:inline-block;background-color:var(--primary);color:#fff;font-size:0.8rem;padding:0.25rem 0.5rem;border-radius:4px;margin-left:1rem}
.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.pros-list ul,.cons-list ul{margin:0;padding-left:1.5rem}
.pros-list li,.cons-list li{margin-bottom:0.5rem}
@media(max-width:768px){.pros-cons{grid-template-columns:1fr;font-size:var(--smallest-font)}.cons-list h2{margin-top:0px}.details{padding-top:1.5rem;font-size:var(--smallest-font)}.review h2{font-size:1.15rem}.reviewer-name{font-size:1rem}}

/* Specs Section */
.specs-table{width:100%;border-collapse:collapse}
/*.specs-table a{color:var(--primary);text-decoration:none}*/
.specs-table th,.specs-table td{padding:0.75rem;text-align:left;height:60px}
.specs-table tr:not(:last-child){border-bottom:1px solid var(--border)}
.specs-table th{font-weight:600;width:25%}
.load_more{color:var(--dark);display:inline-block;cursor:pointer}
.more_content{display:none}