/* Product of the Day Popup - PrestaShop 1.6 */
.potd-overlay {
    position: fixed;
    z-index: 99990;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.62);
}

.potd-popup {
    position: fixed;
    z-index: 99991;
    top: 50%;
    left: 50%;
    width: 720px;
    max-width: 92%;
    min-height: 290px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    transform: translate(-50%, -50%);
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
    animation: potd-pop 240ms ease-out;
}

@keyframes potd-pop {
    from {
        opacity: 0;
        transform: translate(-50%, -47%) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.potd-close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    line-height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.88);
    color: #333333;
    font-size: 28px;
    cursor: pointer;
    text-align: center;
}

.potd-close:hover {
    background: #ffffff;
    color: #000000;
}

.potd-ribbon {
    padding: 16px 58px 16px 26px;
    background: linear-gradient(135deg, #f12711 0%, #f5af19 100%);
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.potd-content {
    display: table;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
}

.potd-image-link,
.potd-info {
    display: table-cell;
    vertical-align: middle;
}

.potd-image-link {
    width: 245px;
    padding-right: 26px;
    text-align: center;
}

.potd-image {
    max-width: 230px;
    max-height: 230px;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.potd-name {
    margin: 0 0 12px 0;
    padding: 0;
    color: #222222;
    font-size: 25px;
    line-height: 1.22;
    font-weight: 700;
}

.potd-name a {
    color: #222222;
    text-decoration: none;
}

.potd-name a:hover {
    color: #e84b21;
    text-decoration: none;
}

.potd-description {
    margin: 0 0 18px 0;
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
}

.potd-prices {
    margin: 0 0 22px 0;
}

.potd-old-price {
    display: inline-block;
    margin-right: 12px;
    color: #999999;
    font-size: 18px;
    text-decoration: line-through;
}

.potd-new-price {
    display: inline-block;
    color: #e31818;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
}

.potd-button {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 999px;
    background: #e31818;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(227, 24, 24, 0.28);
    transition: all 160ms ease-in-out;
}

.potd-button:hover {
    background: #ba1111;
    color: #ffffff !important;
    transform: translateY(-1px);
}

@media (max-width: 650px) {
    .potd-popup {
        width: 92%;
        max-height: 92%;
        overflow-y: auto;
    }

    .potd-ribbon {
        font-size: 19px;
        padding-left: 18px;
    }

    .potd-content,
    .potd-image-link,
    .potd-info {
        display: block;
        width: auto;
    }

    .potd-content {
        padding: 18px;
        text-align: center;
    }

    .potd-image-link {
        padding-right: 0;
        margin-bottom: 16px;
    }

    .potd-image {
        max-width: 190px;
        max-height: 190px;
    }

    .potd-name {
        font-size: 21px;
    }

    .potd-new-price {
        font-size: 29px;
    }
}

.potd-actions {
    margin-top: 4px;
}

.potd-next-button {
    display: inline-block;
    margin-left: 10px;
    padding: 12px 20px;
    border: 2px solid #e31818;
    border-radius: 999px;
    background: #ffffff;
    color: #e31818;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 160ms ease-in-out;
}

.potd-next-button:hover {
    background: #fff2f2;
    color: #ba1111;
    border-color: #ba1111;
}

@media (max-width: 650px) {
    .potd-button,
    .potd-next-button {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
    }
}
