/* Mr-Wings Franchise - Frontend Styles */

/* Font Families */
.font-display { 
    font-family: 'Bebas Neue', sans-serif; 
}

.font-body { 
    font-family: 'Inter', sans-serif; 
}

/* Tab Styles */
.tab-active {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.tab-btn {
    transition: all 0.3s ease;
}

/* Ingredient Card */
.ingredient-card {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.ingredient-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Step Card */
.step-card {
    position: relative;
    transition: all 0.3s ease;
}

.step-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #DC2626;
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover::before {
    opacity: 1;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #1a1a1a;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: white;
}

/* Nutrition Ring */
.nutrition-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nutrition-ring::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: white;
}

.nutrition-value {
    position: relative;
    z-index: 1;
    font-weight: 700;
}

/* Warning Badge Animation */
.warning-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #DC2626;
    border-radius: 4px;
}

/* ========================================
   NETFLIX STYLE SLIDER
======================================== */

.mrw-products-slider-wrapper {
    position: relative;
    padding: 20px 0;
}

.mrw-products-slider {
    position: relative;
}

.mrw-slider-container {
    overflow: hidden;
    padding: 0 50px;
}

.mrw-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.mrw-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mrw-slider-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.mrw-slider-prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.mrw-slider-next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

/* ========================================
   PRODUCT CARD - NETFLIX STYLE
======================================== */

.mrw-product-card {
    min-width: 300px;
    flex-shrink: 0;
}

.mrw-card-inner {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    height: 100%;
}

.mrw-card-inner:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.mrw-card-image-wrapper {
    position: relative;
    background: linear-gradient(135deg, #FEF3C7 0%, #FCD34D 100%);
    padding-top: 75%;
    overflow: hidden;
}

.mrw-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mrw-card-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mrw-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.mrw-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.mrw-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mrw-card-inner:hover .mrw-card-overlay {
    opacity: 1;
}

.mrw-view-details {
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mrw-card-content {
    padding: 20px;
}

.mrw-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mrw-product-code {
    font-size: 12px;
    color: #DC2626;
    font-weight: 600;
}

.mrw-product-category {
    font-size: 11px;
    color: #F59E0B;
    font-weight: 600;
    background: #FEF3C7;
    padding: 2px 8px;
    border-radius: 9999px;
}

.mrw-product-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: #1F2937;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
}

.mrw-product-description {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mrw-product-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E5E7EB;
}

.mrw-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #6B7280;
}

.mrw-meta-item svg {
    color: #DC2626;
}

.mrw-product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mrw-price-label {
    font-size: 12px;
    color: #6B7280;
}

.mrw-price-value {
    font-size: 20px;
    font-weight: 700;
    color: #DC2626;
}

/* ========================================
   GRID VIEW
======================================== */

.mrw-products-grid {
    display: grid;
    gap: 30px;
    padding: 20px 0;
}

.mrw-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mrw-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mrw-grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 640px) {
    .mrw-grid-cols-4,
    .mrw-grid-cols-3,
    .mrw-grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    .mrw-slider-container {
        padding: 0 40px;
    }
    
    .mrw-slider-btn {
        width: 40px;
        height: 80px;
    }
}

/* ========================================
   CATEGORY SECTIONS
======================================== */

.mrw-categories-wrapper {
    padding: 40px 0;
}

.mrw-category-section {
    margin-bottom: 60px;
}

.mrw-category-section:last-child {
    margin-bottom: 0;
}

.mrw-category-header {
    margin-bottom: 30px;
}

.mrw-category-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: #1F2937;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.mrw-category-description {
    font-size: 16px;
    color: #6B7280;
    margin: 0;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
======================================== */

@media (max-width: 640px) {
    .mrw-product-card {
        min-width: 250px;
    }
    
    .mrw-category-title {
        font-size: 28px;
    }
}
