/* Klinikar Promo Cards - Updated Styles */
:root {
    --kpc-border: #e5e7eb;
    --kpc-focus: #ff5b00;
    --kpc-title: #ff5b00;
    --kpc-glass: rgba(255, 255, 255, 0.25);
    --kpc-glass-border: rgba(255, 255, 255, 0.18);
    --kpc-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 4 Cards per row on desktop */
.kpc-wall-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.kpc-card {
    margin: 0;
    padding: 0;
    background: var(--kpc-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--kpc-glass-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Orange/Yellow Badges with Black Text */
.kpc-badges {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

.kpc-badge {
    padding: 6px 12px;
    background: linear-gradient(135deg, #ff9500 0%, #ffcc00 100%);
    color: #000000;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 700;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* Available Locations */
.kpc-locations {
    margin: 15px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.kpc-locations__title {
    font-weight: 700;
    color: #ff9500;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.kpc-locations__list {
    font-size: 0.85em;
    line-height: 1.4;
    color: #333;
}

.kpc-locations__list p {
    margin: 0;
}

/* Video Embed Styles */
.kpc-video {
    margin: 15px 0;
}

.kpc-video__placeholder {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.kpc-video__placeholder:hover {
    transform: translateY(-2px);
    border-color: #ff9500;
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}

.kpc-video__thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px 15px;
    text-align: center;
    color: white;
    border-radius: 10px;
}

.kpc-video__play-button {
    font-size: 2em;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.kpc-video__text {
    font-weight: 600;
    font-size: 0.9em;
}

.kpc-video__embed-container {
    position: relative;
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.kpc-video__close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    z-index: 10;
}

.kpc-video__iframe {
    border-radius: 12px;
    min-height: 250px;
}

/* Enhanced Countdown Timer */
.kpc-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 15px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.2);
}

.kpc-countdown__icon {
    width: 20px;
    height: 20px;
    background: #ff9500;
    border-radius: 50%;
    position: relative;
}

.kpc-countdown__icon::before {
    content: '⏰';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: white;
}

.kpc-countdown__text {
    font-weight: 600;
    color: #1a202c;
    font-size: 0.9em;
}

.kpc-countdown__timer {
    font-weight: 700;
    color: #ff9500;
    font-size: 1em;
    font-feature-settings: "tnum";
    letter-spacing: 0.5px;
}

.kpc-countdown.kpc-cd-warn {
    background: linear-gradient(135deg, rgba(254, 215, 215, 0.9) 0%, rgba(254, 178, 178, 0.9) 100%);
}

.kpc-countdown.kpc-cd-warn .kpc-countdown__timer {
    color: #dc2626;
}

/* Progress Bar Styles */
.kpc-progress {
    margin: 15px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.2);
}

.kpc-progress__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.85em;
    font-weight: 600;
}

.kpc-progress__percent {
    color: #ff9500;
    font-weight: 700;
}

.kpc-progress__bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin: 5px 0;
}

.kpc-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9500, #ffcc00);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.kpc-progress__urgency {
    font-size: 0.75em;
    color: #dc2626;
    font-weight: 600;
    text-align: center;
    margin-top: 5px;
}

/* Swipe Indicator for Mobile */
.kpc-swipe-indicator {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #ff9500 0%, #ffcc00 100%);
    color: #000000;
    font-weight: 600;
    margin: 10px 0;
    border-radius: 10px;
}

.kpc-swipe-arrow {
    font-size: 1.2em;
    animation: bounce 2s infinite;
}

.kpc-swipe-text {
    font-size: 0.9em;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
    40% {transform: translateX(-5px);}
    60% {transform: translateX(5px);}
}

/* Horizontal Product Listing */
.kpc-card__products {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
}

.kpc-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.kpc-product:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.kpc-product__thumbnail {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}

.kpc-product__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.kpc-product__details {
    flex: 1;
    min-width: 0;
}

.kpc-product__name {
    font-size: 0.85em;
    font-weight: 600;
    margin: 0 0 3px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kpc-product__meta {
    display: flex;
    gap: 5px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.kpc-product__size {
    font-size: 0.7em;
    color: #ff9500;
    background: rgba(255, 149, 0, 0.1);
    padding: 1px 4px;
    border-radius: 3px;
}

.kpc-product__rim {
    font-size: 0.7em;
    color: #64748b;
    background: rgba(100, 116, 139, 0.1);
    padding: 1px 4px;
    border-radius: 3px;
}

.kpc-product__pricing {
    margin-bottom: 5px;
}

.kpc-market-price {
    font-size: 0.75em;
    color: #64748b;
    text-decoration: line-through;
}

.kpc-current-price {
    font-size: 1em;
    font-weight: 700;
    color: #1a202c;
}

.kpc-savings {
    font-size: 0.65em;
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    padding: 1px 4px;
    border-radius: 6px;
}

.kpc-product__action {
    margin: 5px 0;
}

.kpc-product-button {
    display: inline-block;
    padding: 4px 8px;
    background: #ff9500;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75em;
    transition: all 0.3s ease;
}

.kpc-product-button:hover {
    background: #e08600;
    color: white;
}

.kpc-product__role {
    margin-top: 4px;
}

.kpc-role-tag {
    font-size: 0.65em;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 6px;
    border-radius: 6px;
    display: inline-block;
}

/* Mobile Responsive - 1 card per row with swipe */
@media (max-width: 768px) {
    .kpc-wall-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 15px;
        margin: 0 -15px;
        -webkit-overflow-scrolling: touch;
    }
    
    .kpc-wall-grid::-webkit-scrollbar {
        display: none;
    }
    
    .kpc-wall-item {
        flex: 0 0 calc(100% - 30px);
        scroll-snap-align: start;
    }
    
    .kpc-swipe-indicator {
        display: flex;
    }
    
    .kpc-card__products {
        padding: 10px;
    }
    
    .kpc-product {
        padding: 8px;
    }
    
    /* Mobile Video Styling */
    .kpc-video__iframe {
        min-height: 200px;
    }
    
    .kpc-video__thumb {
        padding: 20px 10px;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .kpc-wall-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Keep your existing banner and header styles below */
.kpc-card__banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.kpc-card__banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.kpc-card__header {
    padding: 20px;
    text-align: center;
}

.kpc-card__title {
    margin: 0 0 8px 0;
    font-size: 1.8em;
    font-weight: 800;
    line-height: 1.2;
}

.kpc-card__subtitle {
    margin: 0;
    font-size: 1em;
    color: #666;
}

.kpc-cta {
    margin-top: 15px;
}

.kpc-cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff9500 0%, #ffcc00 100%);
    color: #000000;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1em;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.kpc-cta-button:hover {
    color: #000000;
}

.kpc-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 12px 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

.kpc-trust__badge {
    text-align: center;
}

.kpc-trust__icon {
    font-size: 1em;
    margin-bottom: 3px;
    display: block;
}

.kpc-trust__text {
    font-size: 0.65em;
    font-weight: 600;
    color: #374151;
}