/* ===== PROMO CATALOG STYLES ===== */

/* Wrapper */
.promo-catalog-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Category Title and Description */
.promo-category-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.promo-category-description {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Categories Filter */
.promo-categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.promo-category-btn {
    padding: 10px 20px;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
    display: inline-block;
}

.promo-category-btn:hover {
    background: #000;
    border-color: #fff;
    color:#fff;
    text-decoration: none;
}

.promo-category-btn.active {
    background: #E41F26;
    border-color: #E41F26;
    color: #fff;
}

/* Product Grid */
.promo-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.promo-product-card {
    /* background: #fff; */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.promo-product-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.promo-product-card.hidden {
    display: none;
}
.promo-product-card .sku{
    display:flex;
    justify-content:flex-end;
    padding:15px 20px 0;
    color:#000;
    font-size:13px;
    font-weight:bold;
}
.promo-product-card .plu {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 3px;
    text-transform: uppercase;
}


.promo-product-card .plu.sale {
    background: #e74c3c; 
}


.promo-product-card .plu.new {
    background: #27ae60; 
}
.promo-product-image {
    width: 100%;
    height: auto;
    max-width: 200px;
    text-align: center;
    margin: 20px auto 0;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.promo-product-card:hover .promo-product-image img {
    /* transform: scale(1.05); */
}

.promo-product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 20px 10px;
    color: #333;
    line-height: 1.4;
}

/* Color Swatches */
.promo-product-colors {
    display: flex;
    gap: 8px;
    margin: 10px 20px;
    flex-wrap: wrap;
}

.promo-color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.promo-color-swatch:hover {
    border-color: #E41F26;
    transform: scale(1.1);
}

.promo-color-swatch.active {
    border-color: #E41F26;
    box-shadow: 0 0 0 3px rgba(108, 63, 181, 0.2);
}

.promo-color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Price */
.promo-product-price {
    margin: 10px 20px;
    flex-grow: 1;
}

.promo-product-price .price {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

/* Actions */
.promo-product-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Buttons */
.promo-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.promo-btn-primary {
    background: #E41F26;
    color: #fff;
    padding:15px 24px;
}

.promo-btn-primary:hover {
    opacity:0.8;
    transform: translateY(-2px);
}

.promo-btn-secondary {
    background: transparent;
    color: #000;
    border: 2px solid #E41F26;
}
.promo-btn-secondary:hover {
    color: #000;
}

.promo-btn-submit {
    margin-top: 10px;
}

/* Popups */
.promo-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.promo-popup.active {
    display: flex;
}

.promo-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.promo-popup-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

.promo-popup-content-large {
    max-width: 1100px;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    max-height: 90vh;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.promo-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    transition: all 0.3s ease;
    color: #333;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}


.promo-popup h2 {
    margin: 0 0 25px;
    font-size: 28px;
    color: #333;
}

/* Form */
.promo-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-form-group {
    display: flex;
    flex-direction: column;
}

.promo-form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.promo-form-group input {
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.promo-form-group input:focus {
    outline: none;
    border-color: #6c3fb5;
    box-shadow: 0 0 0 3px rgba(108, 63, 181, 0.1);
}

.promo-form-message {
    padding: 12px;
    border-radius: 8px;
    display: none;
    font-size: 14px;
}

.promo-form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.promo-form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== ÐÐžÐ’Ð˜Ð™ Ð”Ð˜Ð—ÐÐ™Ð ÐŸÐžÐŸÐÐŸÐ£ Ð”Ð•Ð¢ÐÐ›Ð•Ð™ ===== */

.promo-product-details {
    display: grid;
    grid-template-columns: 48% 1fr;
    gap: 0;
    min-height: 600px;
    background: #fff;
    max-height: 90vh;
    overflow: hidden;
}

.promo-details-left {
    background: #f5f5f5;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.promo-details-right {
    padding: 40px 35px;
    overflow-y: auto;
}

.promo-details-right h2 {
    margin: 0 0 25px;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

/* Ð“Ð°Ð»ÐµÑ€ÐµÑ Ð² Ð½Ð¾Ð²Ð¾Ð¼Ñƒ Ð´Ð¸Ð·Ð°Ð¹Ð½Ñ– */
.promo-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.promo-gallery-main {
    width: 100%;
    height: 400px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    order: 1;
}

.promo-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.promo-gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    order: 2;
    justify-content: flex-start;
}

.promo-thumb {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid #ddd;
    transition: all 0.3s ease;
    background: #fff;
}

.promo-thumb:hover {
    border-color: #E41F26;
    box-shadow: 0 4px 12px rgba(108, 63, 181, 0.2);
}

.promo-thumb.active {
    border-color: #E41F26;
    box-shadow: 0 0 0 3px #e41f263b;
}


.promo-colors-list {
    margin: 0 0 25px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.promo-colors-list h4 {
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-colors-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.promo-color-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    flex: 0 0 auto;
    position: relative;
}

.promo-color-item:hover {
    transform: scale(1.05);
}

.promo-color-item.active::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid #E41F26;
    border-radius: 10px;
}

.promo-color-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    background: #fff;
}

.promo-color-item:hover img {
    border-color: #E41F26;
}

.promo-color-item span {
    display: none;
}

.promo-detail-specs {
    margin: 0 0 25px;
}

.promo-detail-specs h3 {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-detail-specs p {
    margin: 0;
    line-height: 1.8;
    color: #333;
    font-size: 14px;
}


.promo-detail-description {
    margin: 25px 0;
}

.promo-detail-description h3 {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-detail-description p {
    line-height: 1.8;
    color: #555;
    font-size: 14px;
}

.promo-price-request-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.promo-detail-price {
    margin-bottom: 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.promo-detail-price .price-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.promo-detail-price .price-value {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.promo-quantity-selector {
    margin-bottom: 20px;
}

.promo-quantity-selector label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.promo-quantity-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    cursor: pointer;
}

.promo-quantity-select:focus {
    outline: none;
    border-color: #E41F26;
    box-shadow: 0 0 0 3px rgba(228, 31, 38, 0.1);
}

.promo-price-request-wrapper .promo-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}


.promo-detail-min {
    margin: 15px 0 0;
    padding: 12px 16px;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    border-left: 3px solid #E41F26;
}

/* Scrollbar styling for popup content */
.promo-details-left::-webkit-scrollbar,
.promo-details-right::-webkit-scrollbar {
    width: 8px;
}

.promo-details-left::-webkit-scrollbar-track,
.promo-details-right::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.promo-details-left::-webkit-scrollbar-thumb,
.promo-details-right::-webkit-scrollbar-thumb {
    background: #E41F26;
    border-radius: 4px;
}

.promo-details-left::-webkit-scrollbar-thumb:hover,
.promo-details-right::-webkit-scrollbar-thumb:hover {
    background: #E41F26;
}

/* Responsive */
@media (max-width: 968px) {
    .promo-product-details {
        grid-template-columns: 1fr;
        max-height: 85vh;
        overflow-y: auto;
    }

    .promo-details-left {
        padding: 30px 20px;
        overflow-y: visible;
    }

    .promo-details-right {
        padding: 30px 20px;
        overflow-y: visible;
    }

    .promo-gallery-main {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .promo-catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .promo-popup-content-large {
        max-width: 95%;
        margin: 20px;
        max-height: calc(100vh - 40px);
    }

    .promo-product-details {
        max-height: calc(100vh - 40px);
    }

    .promo-details-left {
        padding: 25px 15px;
    }

    .promo-details-right {
        padding: 25px 15px;
    }

    .promo-details-right h2 {
        font-size: 24px;
    }

    .promo-gallery-main {
        height: 300px;
    }

    .promo-thumb {
        width: 65px;
        height: 65px;
        min-width: 65px;
        min-height: 65px;
    }

    .promo-popup-content {
        padding: 30px 20px;
    }

    .promo-categories-filter {
        gap: 8px;
    }

    .promo-category-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .promo-catalog-grid {
        grid-template-columns: 1fr;
    }

    .promo-popup-content {
        width: 95%;
        padding: 25px 15px;
    }

    .promo-popup h2 {
        font-size: 24px;
    }

    .promo-details-right h2 {
        font-size: 22px;
    }

    .promo-gallery-thumbs {
        gap: 8px;
    }

    .promo-thumb {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
    }

    .promo-detail-price .price-value {
        font-size: 26px;
    }
}
