.wpct-trending {
--wpct-blue: #2b8fe0;
--wpct-blue-dark: #1a4d80;
--wpct-star: #f5a623;
--wpct-star-empty: #dde4f0;
--wpct-text: #1a2a45;
--wpct-muted: #5b7090;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
box-sizing: border-box;
}
.wpct-trending *, .wpct-trending *::before, .wpct-trending *::after { box-sizing: inherit; }

.wpct-trending-card {
display: flex;
flex-direction: column;
background: #fff;
border: 1px solid #eef2f8;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 6px 20px rgba(5, 35, 85, .06);
transition: transform .25s ease, box-shadow .25s ease;
}
.wpct-trending-card:hover {
transform: translateY(-6px);
box-shadow: 0 16px 36px rgba(5, 35, 85, .16);
}

.wpct-trending-thumb {
position: relative;
aspect-ratio: 16/10;
background: #f4f8fd;
overflow: hidden;
}
.wpct-trending-badge {
position: absolute;
top: 10px;
right: 10px;
z-index: 2;
padding: 4px 10px;
border-radius: 999px;
background: var(--wpct-blue);
border: 1.5px solid #fff;
color: #fff;
font-size: 12px;
font-weight: 700;
line-height: 1;
box-shadow: 0 2px 6px rgba(5, 35, 85, .25);
}
.wpct-trending-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform .4s ease;
}
.wpct-trending-card:hover .wpct-trending-thumb img { transform: scale(1.06); }
.wpct-trending-noimg {
display: block;
width: 100%;
height: 100%;
background: linear-gradient(135deg, #e7f0fb, #f4f8fd);
}

.wpct-trending-body {
display: flex;
flex-direction: column;
gap: 8px;
padding: 16px 18px 20px;
flex: 1 1 auto;
}
.wpct-trending-rate {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.wpct-trending-stars { display: inline-flex; gap: 1px; }
.wpct-trending-star { width: 15px; height: 15px; fill: var(--wpct-star-empty); }
.wpct-trending-star.is-full { fill: var(--wpct-star); }
.wpct-trending-star.is-half { fill: url(#wpct-trending-half); }
.wpct-trending-trusted { font-size: 12px; color: var(--wpct-muted); font-weight: 500; }

.wpct-trending-title {
margin: 2px 0 0;
font-size: 16px;
font-weight: 700;
line-height: 1.3;
color: var(--wpct-text);
}
.wpct-trending-price {
display: flex;
align-items: baseline;
gap: 8px;
flex-wrap: wrap;
}
.wpct-trending-price-new {
font-size: 20px;
font-weight: 800;
color: var(--wpct-text);
}
.wpct-trending-price-old {
font-size: 15px;
font-weight: 500;
color: var(--wpct-muted);
text-decoration: line-through;
}
.wpct-trending-btn {
margin-top: auto;
display: inline-block;
text-align: center;
text-decoration: none;
padding: 11px 16px;
border-radius: 10px;
background: var(--wpct-blue);
color: #fff !important;
font-weight: 600;
font-size: 14px;
transition: background .2s ease;
}
.wpct-trending-btn:hover { background: var(--wpct-blue-dark); color: #fff; }

/* Deal of the Month — [wpct_deal] */
.wpct-deal {
--wpct-blue: #2b8fe0;
--wpct-blue-dark: #1a4d80;
--wpct-text: #0f2138;
--wpct-muted: #64748b;
display: grid;
grid-template-columns: minmax(300px, 440px) 1fr;
gap: 0;
align-items: stretch;
border-radius: 18px;
overflow: hidden;
background: radial-gradient(120% 140% at 0% 0%, #1c3f6e 0%, #12294a 45%, #0b1a30 100%);
box-shadow: 0 18px 48px rgba(5, 20, 45, .32);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
box-sizing: border-box;
}
.wpct-deal *, .wpct-deal *::before, .wpct-deal *::after { box-sizing: inherit; }

.wpct-deal-media {
position: relative;
display: flex;
align-items: center;
justify-content: center;
padding: 36px;
background: linear-gradient(150deg, #29579a 0%, #1b3d6e 55%, #16345f 100%);
}
.wpct-deal-media::after {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(90% 90% at 50% 30%, rgba(255, 255, 255, .12), transparent 60%);
pointer-events: none;
}
.wpct-deal-media img {
position: relative;
z-index: 1;
width: 100%;
height: auto;
border-radius: 14px;
display: block;
box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
transition: transform .45s ease;
}
.wpct-deal-media:hover img { transform: scale(1.05); }
.wpct-deal-noimg {
width: 100%;
aspect-ratio: 1/1;
border-radius: 14px;
background: linear-gradient(135deg, #2c5896, #1a3a68);
}
.wpct-deal-badge {
position: absolute;
top: 16px;
left: 16px;
padding: 5px 12px;
z-index: 2;
border-radius: 999px;
background: var(--wpct-blue);
border: 1.5px solid #fff;
color: #fff;
font-size: 12px;
font-weight: 700;
letter-spacing: .3px;
box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.wpct-deal-body {
display: flex;
flex-direction: column;
justify-content: center;
gap: 12px;
padding: 34px 40px;
color: #fff;
}
.wpct-deal-title {
margin: 0;
font-size: 30px;
font-weight: 800;
line-height: 1.15;
color: #fff !important;
}
.wpct-deal-desc {
margin: 0;
font-size: 15px;
line-height: 1.6;
color: rgba(255, 255, 255, .72);
max-width: 80ch;
}
.wpct-deal-price {
display: flex;
align-items: baseline;
gap: 12px;
flex-wrap: wrap;
margin-top: 4px;
}
.wpct-deal-price-new { font-size: 30px; font-weight: 800; color: #fff; }
.wpct-deal-price-old { font-size: 18px; font-weight: 500; color: rgba(255, 255, 255, .55); text-decoration: line-through; }
.wpct-deal-save {
padding: 4px 12px;
border-radius: 999px;
background: rgba(46, 204, 113, .16);
color: #34d17f;
font-size: 13px;
font-weight: 700;
}
.wpct-deal-actions {
display: flex;
align-items: center;
gap: 16px;
flex-wrap: wrap;
margin-top: 8px;
}
.wpct-deal-btn {
display: inline-block;
padding: 13px 26px;
border-radius: 10px;
background: var(--wpct-blue);
color: #fff !important;
font-weight: 700;
font-size: 15px;
text-decoration: none;
transition: background .2s ease;
}
.wpct-deal-btn:hover { background: var(--wpct-blue-dark); color: #fff; }
.wpct-deal-code { font-size: 13px; color: rgba(255, 255, 255, .7); display: inline-flex; align-items: center; gap: 8px; }
.wpct-deal-code-box {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 8px 6px 12px;
border: 1px dashed rgba(255, 255, 255, .45);
border-radius: 8px;
background: rgba(255, 255, 255, .06);
}
.wpct-deal-code-box code {
color: #fff;
font-size: 13px;
letter-spacing: 1px;
background: none;
padding: 0;
}
.wpct-deal-copy {
display: inline-flex;
align-items: center;
justify-content: center;
width: 26px;
height: 26px;
padding: 0;
border: none;
border-radius: 6px;
background: rgba(255, 255, 255, .12);
color: #fff;
cursor: pointer;
transition: background .2s ease;
}
.wpct-deal-copy:hover { background: rgba(255, 255, 255, .24); }
.wpct-deal-copy:focus { background: rgba(255, 255, 255, .24); }
.wpct-deal-copy svg { width: 15px; height: 15px; fill: currentColor; }
.wpct-deal-copy.is-copied { background: rgba(46, 204, 113, .28); color: #34d17f; }
.wpct-deal-copied {
font-size: 12px;
font-weight: 600;
color: #34d17f;
opacity: 0;
transition: opacity .2s ease;
}
.wpct-deal-copied.show { opacity: 1; }
@media (max-width: 640px) {
.wpct-deal { grid-template-columns: 1fr; }
.wpct-deal-body { padding: 24px; }
}
