/* Default Styles */
.kw-pcl { margin: 18px 0 28px; }
.kw-pcl-section { margin: 18px 0; }
.kw-pcl-h2 { font-size: 22px; margin: 0 0 12px; text-align: center; }
.kw-pcl-grid { display: grid; gap: 14px; }
.kw-pcl-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kw-pcl-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .kw-pcl-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kw-pcl-grid-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

@media (max-width: 560px) { .kw-pcl-grid-4 { grid-template-columns: repeat(1, minmax(0, 1fr)); } }

.kw-pcl-card { display: block; border: 1px solid #e8e8ee; border-radius: 14px; overflow: hidden; background: #fff; text-decoration: none; }
.kw-pcl-card:hover { box-shadow: 0 6px 22px rgba(0, 0, 0, .08); }
.kw-pcl-card-body { padding: 12px 14px; }
.kw-pcl-title { font-weight: 700; margin: 0 0 6px; color: #111; }
.kw-pcl-text { color: #333; line-height: 1.35; font-size: 14px; }
.kw-pcl-accent { color: #b1007d; font-weight: 700; margin: 0 0 6px; }
.kw-pcl-deal .kw-pcl-card-top { padding: 10px 10px 0; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.kw-pcl-kicker { font-weight: 800; letter-spacing: .5px; margin-bottom: 6px; color: #111; }
.kw-pcl-img { max-width: 85%; height: auto; }
.kw-pcl-img-top { width: 100%; height: 150px; object-fit: cover; display: block; }

/* =========================================== */
/* BRAND TILES - NON-SLIDER GRID (4 columns) */
/* =========================================== */
.kw-pcl-brands {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1024px) {
    .kw-pcl-brands {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .kw-pcl-brands {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* Non-slider brand tile - KEEP ORIGINAL SIZE */
.kw-pcl-brands .kw-pcl-brand-tile { 
    border: 1px solid #e8e8ee; 
    border-radius: 16px; 
    padding: 20px; 
    background: #fff; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    min-height: 180px;
}

/* Brand logo */
.kw-pcl-brand-logo { 
    max-height: 40px; 
    width: auto; 
    object-fit: contain;
}

/* Brand actions - buttons below logo */
.kw-pcl-brand-actions { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    width: 100%;
}

.kw-pcl-pill {
    display: inline-block;
    text-align: center;
    border: 2px solid #6a2bd8;
    color: #6a2bd8;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}
.kw-pcl-pill:hover { 
    background: #6a2bd8;
    color: white;
    transform: translateY(-2px);
}

.kw-pcl-banner { border-radius: 16px; overflow: hidden; background: #ffd6ea; display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 16px; }
.kw-pcl-banner-left { max-width: 70%; }
.kw-pcl-banner-h { font-weight: 900; font-size: 22px; margin: 0 0 6px; }
.kw-pcl-banner-t { font-size: 14px; line-height: 1.35; margin: 0 0 10px; }
.kw-pcl-btn { display: inline-block; background: #fff; border: 2px solid #6a2bd8; color: #6a2bd8; border-radius: 999px; padding: 10px 14px; font-weight: 800; text-decoration: none; }
.kw-pcl-banner-img { max-width: 260px; height: auto; }

@media (max-width: 900px) {
  .kw-pcl-banner { flex-direction: column; align-items: flex-start; }
  .kw-pcl-banner-left { max-width: 100%; }
  .kw-pcl-banner-img { max-width: 100%; }
}

.kw-pcl-discover { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border: none; }
.kw-pcl-discover-img { max-width: 110px; height: auto; }

.kw-pcl-bottom { border-radius: 14px; background: #f6f7fb; padding: 16px; border: 1px solid #e8e8ee; }
.kw-pcl-bottom a { color: #6a2bd8; text-decoration: underline; }

/* =========================================== */
/* BRAND SLIDER - SMALL CARDS (6 ITEMS ON DESKTOP) */
/* =========================================== */

/* Main slider container */
.kw-pcl-slider {
    position: relative;
    width: 100%;
    margin: 30px 0;
    overflow: hidden;
}

/* Slider track - horizontal scroll */
.kw-pcl-slider-track {
    display: flex;
    gap: 12px; /* Reduced gap for smaller cards */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* =========================================== */
/* BRAND SLIDER CARDS - SMALLER SIZE */
/* =========================================== */

/* Desktop: Show 6 SMALL brand tiles */
.kw-pcl-slider .kw-pcl-brand-tile {
    flex: 0 0 calc(16.666% - 10px); /* 6 items with smaller gap */
    min-width: calc(16.666% - 10px);
    max-width: calc(16.666% - 10px);
    border-radius: 14px; /* Slightly smaller radius */
    padding: 16px 14px; /* Reduced padding for smaller card */
    background: #fff;
    border: 1px solid #e8e8ee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 12px; /* Reduced gap inside card */
    min-height: 140px; /* Much smaller height */
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* SMALLER logo in slider */
.kw-pcl-slider .kw-pcl-brand-logo {
    max-height: 32px; /* Smaller logo */
    width: auto;
    object-fit: contain;
    margin-bottom: 8px;
}

/* SMALLER buttons in slider */
.kw-pcl-slider .kw-pcl-pill {
    padding: 6px 10px; /* Smaller padding */
    font-size: 12px; /* Smaller font */
    font-weight: 600;
    border-width: 1.5px; /* Thinner border */
    min-height: 32px; /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slider brand actions - compact layout */
.kw-pcl-slider .kw-pcl-brand-actions {
    gap: 6px; /* Tighter gap between buttons */
    width: 100%;
}

/* =========================================== */
/* SLIDER ARROWS - WHITE WITH GREY ICON */
/* =========================================== */

.slider-arrow-left, 
.slider-arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; /* Slightly smaller */
    height: 40px;
    background: white !important;
    color: #666 !important; /* Grey icon */
    border: 1px solid #ddd !important; /* Light grey border */
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

/* Show arrows on hover */
.kw-pcl-slider:hover .slider-arrow-left,
.kw-pcl-slider:hover .slider-arrow-right {
    opacity: 1;
    visibility: visible;
}

.slider-arrow-left:hover, 
.slider-arrow-right:hover {
    background: #f8f9fa !important;
    color: #333 !important;
    border-color: #bbb !important;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-arrow-left {
    left: 10px;
}

.slider-arrow-right {
    right: 10px;
}

/* Remove dots/pagination */
.slider-dots {
    display: none !important;
}

/* Infinite loop effect */
.kw-pcl-slider-track.loop-enabled {
    display: flex;
}

/* =========================================== */
/* RESPONSIVE DESIGN FOR SMALL SLIDER CARDS */
/* =========================================== */

/* Tablet: Show 4 items */
@media (max-width: 1200px) {
    .kw-pcl-slider .kw-pcl-brand-tile {
        flex: 0 0 calc(25% - 9px); /* 4 items */
        min-width: calc(25% - 9px);
        max-width: calc(25% - 9px);
        min-height: 130px;
        padding: 14px 12px;
    }
    
    .kw-pcl-slider .kw-pcl-brand-logo {
        max-height: 28px;
    }
    
    .kw-pcl-slider .kw-pcl-pill {
        padding: 5px 8px;
        font-size: 11px;
    }
}

/* Mobile Landscape: Show 3 items */
@media (max-width: 900px) {
    .kw-pcl-slider .kw-pcl-brand-tile {
        flex: 0 0 calc(33.333% - 8px); /* 3 items */
        min-width: calc(33.333% - 8px);
        max-width: calc(33.333% - 8px);
        min-height: 120px;
        padding: 12px 10px;
    }
    
    .kw-pcl-slider .kw-pcl-brand-logo {
        max-height: 26px;
    }
    
    .slider-arrow-left,
    .slider-arrow-right {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

/* Mobile Portrait: Show 2 items with touch scroll */
@media (max-width: 768px) {
    .kw-pcl-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 20px -10px;
        padding: 0 10px 8px;
        width: calc(100% + 20px);
    }
    
    .kw-pcl-slider-track {
        scroll-snap-type: x mandatory;
        padding-bottom: 3px;
        gap: 10px;
    }
    
    .kw-pcl-slider .kw-pcl-brand-tile {
        flex: 0 0 calc(50% - 5px); /* 2 items */
        min-width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        scroll-snap-align: start;
        min-height: 110px;
        padding: 10px 8px;
    }
    
    .kw-pcl-slider .kw-pcl-brand-logo {
        max-height: 24px;
    }
    
    .kw-pcl-slider .kw-pcl-pill {
        padding: 4px 6px;
        font-size: 10px;
        min-height: 28px;
    }
    
    /* Hide arrows on mobile */
    .slider-arrow-left,
    .slider-arrow-right {
        display: none !important;
    }
    
    /* Custom scrollbar for mobile */
    .kw-pcl-slider::-webkit-scrollbar {
        height: 4px;
    }
    
    .kw-pcl-slider::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 8px;
        margin: 0 10px;
    }
    
    .kw-pcl-slider::-webkit-scrollbar-thumb {
        background: #6a2bd8;
        border-radius: 8px;
    }
}

/* Small Mobile: Show 1 item */
@media (max-width: 480px) {
    .kw-pcl-slider .kw-pcl-brand-tile {
        flex: 0 0 calc(100% - 20px); /* 1 item */
        min-width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        min-height: 100px;
        padding: 8px 6px;
    }
    
    .kw-pcl-slider .kw-pcl-pill {
        padding: 3px 5px;
        font-size: 9px;
        min-height: 24px;
    }
}

/* =========================================== */
/* OTHER SECTIONS SLIDER STYLES - UNCHANGED */
/* =========================================== */

/* Top Deals Slider - ORIGINAL SIZE */
.kw-pcl-slider .kw-pcl-deal-card {
    flex: 0 0 calc(25% - 12px); /* 4 deals in slider */
    min-width: calc(25% - 12px);
    max-width: calc(25% - 12px);
    min-height: 280px;
}

/* Types Slider - ORIGINAL SIZE */
.kw-pcl-slider .kw-pcl-type-card {
    flex: 0 0 calc(25% - 12px); /* 4 types in slider */
    min-width: calc(25% - 12px);
    max-width: calc(25% - 12px);
    min-height: 250px;
}

/* Discover Slider - ORIGINAL SIZE */
.kw-pcl-slider .kw-pcl-discover-card {
    flex: 0 0 calc(33.333% - 11px); /* 3 discover in slider */
    min-width: calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
    min-height: 200px;
}

/* =========================================== */
/* SLIDER ANIMATIONS & EFFECTS */
/* =========================================== */

/* Auto-slide animation */
@keyframes autoSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.kw-pcl-slider.auto-slide .kw-pcl-slider-track {
    animation: autoSlide 20s linear infinite;
}

/* Pause animation on hover */
.kw-pcl-slider.auto-slide:hover .kw-pcl-slider-track {
    animation-play-state: paused;
}

/* Hover effects for slider items - subtle for small cards */
.kw-pcl-slider .kw-pcl-brand-tile:hover {
    transform: translateY(-4px); /* Smaller lift */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); /* Lighter shadow */
    border-color: #6a2bd8;
}

/* =========================================== */
/* UTILITY CLASSES */
/* =========================================== */

/* Center align text in slider */
.kw-pcl-slider .kw-pcl-brand-actions {
    text-align: center;
}

/* Make slider items equal height */
.kw-pcl-slider .kw-pcl-brand-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Adjustments for Smaller Devices (existing) */
@media (max-width: 768px) {
    .kw-pcl-card-body {
        padding: 12px 10px;
    }

    .kw-pcl-title {
        font-size: 16px;
    }

    .kw-pcl-text {
        font-size: 12px;
    }

    /* Non-slider pills */
    .kw-pcl-brands .kw-pcl-pill {
        padding: 5px 10px;
        font-size: 14px;
    }
}

/* Ensure non-slider brand tiles keep original size on mobile */
@media (max-width: 560px) {
    .kw-pcl-brands .kw-pcl-brand-tile {
        min-height: 150px;
        padding: 16px;
    }
    
    .kw-pcl-brands .kw-pcl-brand-logo {
        max-height: 35px;
    }
}
/* ===========================================
   MULTIPLE BANNERS - "Craft the ultimate rig" style
   =========================================== */

/* Heading area */
.kw-pcl-mb-head{
  text-align:center;
  max-width:900px;
  margin:0 auto 18px;
}
.kw-pcl-mb-title{
  margin:0 0 6px;
  font-size:26px;
  font-weight:700;
  color:#111;
}
.kw-pcl-mb-subtitle{
  margin:0;
  font-size:14px;
  line-height:1.5;
  color:#444;
}

/* Grid: 4 columns, no gaps (like screenshot) */
.kw-pcl-multiple-banners-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;                      /* IMPORTANT: no spacing */
  max-width:1180px;
  margin:18px auto 0;
}

/* Tile base */
.kw-pcl-multiple-banner{
  background:#fff;
  overflow:hidden;
}

/* Image top (full bleed) */
.kw-pcl-multiple-banner-image img{
  width:100%;
  height:210px;
  object-fit:cover;
  display:block;
}

/* Content block */
.kw-pcl-multiple-banner-content{
  padding:18px 18px 20px;
  min-height:210px;           /* keeps equal height like screenshot */
}

/* Alternate backgrounds: 1st lavender, 2nd white, 3rd lavender... */
.kw-pcl-multiple-banner:nth-child(odd) .kw-pcl-multiple-banner-content{
  background:#d7d4ff;         /* lavender */
}
.kw-pcl-multiple-banner:nth-child(even) .kw-pcl-multiple-banner-content{
  background:#ffffff;
}

/* Typography */
.kw-pcl-multiple-banner-heading{
  margin:0 0 10px;
  font-size:26px;
  font-weight:500;
  color:#2a2a2a;
}
.kw-pcl-multiple-banner-text{
  margin:0 0 14px;
  font-size:14px;
  line-height:1.6;
  color:#3a3a3a;
}

/* Link style like screenshot (underlined text) */
.kw-pcl-multiple-banner-button{
  display:inline-block;
  color:#2a2a2a;
  text-decoration:underline;
  font-size:14px;
  font-weight:500;
}
.kw-pcl-multiple-banner-button:hover{
  opacity:.8;
}

/* Responsive */
@media (max-width:1024px){
  .kw-pcl-multiple-banners-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .kw-pcl-multiple-banner-image img{ height:190px; }
}
@media (max-width:560px){
  .kw-pcl-multiple-banners-grid{ grid-template-columns:repeat(1,minmax(0,1fr)); }
  .kw-pcl-multiple-banner-image img{ height:200px; }
  .kw-pcl-multiple-banner-content{ min-height:auto; }
}
