/**
 * ACBIZ GLOBAL Web Services — Product Slider
 * Dependency-free horizontal scroll-snap slider. No external
 * carousel library — this is the only slider mechanic on the site,
 * used consistently wherever a rotating product list is needed.
 */

.prod-slider-section {
    margin-bottom: 24px;
}

.prod-slider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.prod-slider-head h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prod-slider-sub {
    font-size: 11.5px;
    color: #94a3b8;
    margin: 2px 0 0;
}

.prod-slider-nav {
    display: flex;
    gap: 6px;
}

.prod-slider-nav button {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.prod-slider-nav button:hover {
    background: #f8fafc;
}

.prod-slider-nav button:disabled {
    opacity: .35;
    cursor: default;
}

.prod-slider-wrap {
    position: relative;
}

.prod-slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.prod-slider::-webkit-scrollbar {
    display: none;
}

.prod-slide-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    text-decoration: none;
    display: block;
    transition: border-color .15s, transform .15s;
}

.prod-slide-card:hover {
    border-color: #1d4ed8;
    transform: translateY(-2px);
}

.prod-slide-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 10px;
}

.prod-slide-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prod-slide-cat {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.prod-slide-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
}

.prod-slide-rating {
    color: #fbbf24;
}

.prod-slide-price {
    font-weight: 700;
    color: #0f172a;
}

.prod-slide-promo {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #dc2626;
    background: #fef2f2;
    border-radius: 6px;
    padding: 2px 6px;
    margin-bottom: 6px;
}

/* Nudge cards ("you don't have X yet") — dashed border signals this
   is a prompt, not a catalog item with a fixed price. */
.prod-slide-nudge {
    border-style: dashed;
    background: #f8fafc;
}

/* CTA cards (custom-quoted work, e.g. Professional Services) — no
   fixed price exists, so the price slot shows a call-to-action label
   instead; styled as a clear action, not a priced product. */
.prod-slide-cta {
    border-color: #fecaca;
}

.prod-slide-cta .prod-slide-price {
    color: #dc2626;
}

/* Promo cards — a distinct, clearly-promotional look (dark gradient,
   matches the old standalone "Limited Offer" banner) so a discount
   card never looks like it's claiming to be a real, data-backed
   recommendation the way the other cards in this same strip are. */
.prod-slide-promo-card {
    background: linear-gradient(135deg, #0d1635, #1e1b4b);
    border: none;
}

.prod-slide-promo-card .prod-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(251,146,60,0.15);
    color: #fb923c;
    border: 1px solid rgba(251,146,60,0.25);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 10px;
}

.prod-slide-promo-card .prod-slide-name { color: #fff; }
.prod-slide-promo-card .prod-slide-cat  { color: rgba(255,255,255,.5); margin-bottom: 12px; }

.prod-slide-promo-card .prod-slide-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 640px) {
    .prod-slide-card { width: 180px; }
}
