:root {
    --loyalty-orange-1: #F68B3B;
    --loyalty-orange-2: #FFB680;
}

.loyalty-product-widget {
    background: linear-gradient(135deg, var(--loyalty-orange-1) 0%, var(--loyalty-orange-2) 100%);
    border-radius: 30px;
    margin: 15px 0;
    color: white;
    box-shadow: 0 6px 24px rgba(31, 171, 119, 0.15);
    position: relative;
    overflow: hidden;
}

.loyalty-guest-section, .loyalty-member-section, .loyalty-no-points-section, .loyalty-points-section {
    padding: 16px 25px;
}

.loyalty-guest-content, .loyalty-member-content, .loyalty-no-points-content, .loyalty-points-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.loyalty-product-widget .loyalty-member-content .loyalty-icon,
.loyalty-product-widget .loyalty-guest-content .loyalty-icon {
  width: calc(20% - 15px);
  max-width: 110px;
  min-width: 40px;
}

.loyalty-product-widget .loyalty-coin-icon {
    width: 48px;
    height: 48px;
    display: block;
}

.loyalty-product-widget .loyalty-customer-icon {
  object-fit: cover;

}

.loyalty-guest-text, .loyalty-member-text, .loyalty-no-points-text, .loyalty-points-text {
    flex: 1;
}

.loyalty-guest-text, .loyalty-member-text {
    width: 80%;
}

.loyalty-guest-title, .loyalty-member-title, .loyalty-no-points-title, .loyalty-points-title {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.loyalty-guest-description, .loyalty-member-description, .loyalty-no-points-description, .loyalty-points-description {
    color: rgba(255,255,255,0.95);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.loyalty-guest-actions, .loyalty-member-actions {
    margin-top: 5px;
    display: flex;
    justify-content: center;
}

.loyalty-product-widget .btn-loyalty-login,
.loyalty-product-widget .btn-loyalty-join {
    background: rgba(255,255,255,0.95) !important;
    color: var(--loyalty-orange-1) !important;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: 270px;
    justify-content: center;
}

.loyalty-product-widget .btn-loyalty-login:hover,
.loyalty-product-widget .btn-loyalty-join:hover {
    background: white !important;
    color: var(--loyalty-orange-1) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    text-decoration: none;
}

.loyalty-product-widget .btn-loyalty-login i,
.loyalty-product-widget .btn-loyalty-join i {
    font-size: 16px;
}

.loyalty-product-widget .loyalty-terms {
    margin-top: 8px;
    text-align: center;
}

.loyalty-product-widget .loyalty-terms small {
    color: rgba(255,255,255,0.8);
    font-size: 10px;
    line-height: 1.3;
}

.loyalty-product-widget .loyalty-terms-link {
    color: rgba(255,255,255,0.95) !important;
    text-decoration: underline;
    transition: all 0.2s ease;
}

.loyalty-product-widget .loyalty-terms-link:hover {
    color: white !important;
    text-decoration: none;
}

.loyalty-product-widget .loyalty-terms-checkbox {
    display: flex;
    justify-content: center;
    gap: 4px;
    align-items: center;
}

.loyalty-product-widget .btn-loyalty-join-container {
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .loyalty-product-widget {
        margin: 10px 0;
    }


   .loyalty-product-widget .loyalty-coin-icon {
        width: 40px;
        height: 40px;
    }


    .loyalty-guest-title, .loyalty-member-title, .loyalty-no-points-title, .loyalty-points-title {
        font-size: 14px;
    }

    .loyalty-guest-description, .loyalty-member-description, .loyalty-no-points-description, .loyalty-points-description {
        font-size: 12px;
    }

    .loyalty-guest-actions, .loyalty-member-actions {
        margin-left: 0;
        margin-top: 8px;
    }

    .loyalty-product-widget .btn-loyalty-login,
    .loyalty-product-widget .btn-loyalty-join {
        padding: 8px 14px;
        font-size: 11px;
    }
}

.loyalty-product-widget.compact {
    padding: 15px;
    margin: 10px 0;
}

.loyalty-product-widget.compact .loyalty-icon i {
    font-size: 28px;
}


