.wpct-badges-root {
--wpct-primary: #067ABF;
--wpct-dark:    #052355;
--wpct-bg:      #f4f8fd;
--wpct-text:    #1a2a45;
--wpct-white:   #ffffff;
--wpct-border:  #d0dff0;
--wpct-radius:  10px;
--wpct-shadow:  0px 0px 30px 5px rgba(0, 130.85103260869562, 173.4, 0.12);
--wpct-tr:      all 0.2s ease;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-size: 15px;
line-height: 1.6;
color: var(--wpct-text);
box-sizing: border-box;
}
.wpct-badges-root *, .wpct-badges-root *::before, .wpct-badges-root *::after {
box-sizing: inherit;
}

/* Meta badges — [wpct_downloads] [wpct_product_version] [wpct_whmcs_version] */
.wpct-badge {
display: inline-flex;
align-items: center;
gap: 5px;
line-height: 1;
vertical-align: middle;
margin: 0;
font-size: 15px;
}
.wpct-badge-icon {
width: 1.15em;
height: 1.15em;
fill: #008CAF;
flex-shrink: 0;
}
.wpct-badge-text {
font-size: .95em;
font-weight: 600;
color: var(--wpct-text);
}

/* Product image gallery — [wpct_gallery] */
.wpct-gallery {
--wpct-gallery-w: 400px;
--wpct-gallery-per-view: 3;
--wpct-gallery-gap: 10px;
display: block;
width: 100%;
max-width: var(--wpct-gallery-w);
margin: 0 auto;
padding: 14px;
border: 1px solid var(--wpct-border);
border-radius: calc(var(--wpct-radius) + 4px);
background: var(--wpct-white);
box-shadow: var(--wpct-shadow);
}

/* Shared button reset — defeats theme's [type=button]/button styling */
.wpct-badges-root .wpct-btn {
margin: 0;
padding: 0;
border: none;
border-radius: 0;
background: transparent;
color: inherit;
font: inherit;
line-height: 0;
box-shadow: none;
cursor: pointer;
transition: var(--wpct-tr);
-webkit-appearance: none;
appearance: none;
}
.wpct-badges-root .wpct-btn:hover,
.wpct-badges-root .wpct-btn:focus {
background: transparent;
color: inherit;
border: none;
box-shadow: none;
outline: none;
}

/* Hero — sizes to the image's natural resolution */
.wpct-gallery-hero {
border-radius: var(--wpct-radius);
overflow: hidden;
cursor: pointer;
line-height: 0;
}
.wpct-gallery-hero-img {
display: block;
width: 100%;
height: auto;
transition: transform .4s ease;
}
.wpct-gallery-hero:hover .wpct-gallery-hero-img { transform: scale(1.02); }

/* Carousel */
.wpct-gallery-carousel {
display: flex;
align-items: center;
gap: 6px;
margin-top: 12px;
}
.wpct-gallery-viewport { overflow: hidden; flex: 1 1 auto; }
.wpct-gallery-track {
display: flex;
gap: var(--wpct-gallery-gap);
will-change: transform;
}
.wpct-badges-root .wpct-gallery-thumb {
flex: 0 0 calc((100% - (var(--wpct-gallery-per-view) - 1) * var(--wpct-gallery-gap)) / var(--wpct-gallery-per-view));
aspect-ratio: 4/3;
padding: 4px;
border: 1px solid var(--wpct-border);
border-radius: 8px;
overflow: hidden;
background: var(--wpct-white);
}
.wpct-gallery-thumb img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}
.wpct-badges-root .wpct-gallery-thumb:hover {
border: 1px solid var(--wpct-primary);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(5, 35, 85, .12);
}
.wpct-gallery-nav {
flex: 0 0 auto;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
color: var(--wpct-dark);
border-radius: 50%;
}
.wpct-gallery-nav:hover { color: var(--wpct-primary); }
.wpct-gallery-nav svg { width: 22px; height: 22px; fill: currentColor; }

/* Lightbox — styled after a full-screen viewer */
.wpct-lightbox {
position: fixed;
inset: 0;
z-index: 100000;
display: flex;
align-items: center;
justify-content: center;
background: rgba(10, 12, 20, .92);
animation: wpct-fade .2s ease;
}
.wpct-lightbox[hidden] { display: none; }
.wpct-lightbox-bar {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 56px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
color: #fff;
z-index: 2;
}
.wpct-lightbox-count { font-size: 15px; font-weight: 600; letter-spacing: .5px; }
.wpct-lightbox-stage {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
padding: 64px 6vw;
}
.wpct-lightbox-img {
max-width: 88vw;
max-height: 82vh;
width: auto;
height: auto;
object-fit: contain;
border-radius: 4px;
box-shadow: 0 12px 48px rgba(0, 0, 0, .5);
}
.wpct-badges-root .wpct-lightbox-close {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
border-radius: 50%;
}
.wpct-badges-root .wpct-lightbox-close:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.wpct-lightbox-close svg { width: 26px; height: 26px; fill: currentColor; }
.wpct-lightbox-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 52px;
height: 52px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
border-radius: 50%;
z-index: 2;
}
.wpct-badges-root .wpct-lightbox-nav:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.wpct-lightbox-nav svg { width: 34px; height: 34px; fill: currentColor; }
.wpct-lightbox-prev { left: 2vw; }
.wpct-lightbox-next { right: 2vw; }
@keyframes wpct-fade { from { opacity: 0; } to { opacity: 1; } }
